libyami-utils
libyami-utils copied to clipboard
tests/decodeinputavformat: use heap-allocated m_packet
This allows us to migrate away from av_init_packet() which has been deprecated in recent FFMpeg, making the build fail.
This implementation is somewhat rough, there's probably a way to avoid reallocating the packet each iteration, but it does the job.