libyami-utils icon indicating copy to clipboard operation
libyami-utils copied to clipboard

tests/decodeinputavformat: use heap-allocated m_packet

Open schopin-pro opened this issue 4 years ago • 0 comments

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.

schopin-pro avatar Dec 17 '21 15:12 schopin-pro