Fix av_packet_free not being available in older ffmpeg versions
Fix av_packet_free not being available in older ffmpeg versions

scanner-research/scanner,scanner-research/scanner,scanner-research/scanner,scanner-research/scanner