intel / libyami-utils

Libyami Utilities
Apache License 2.0
24 stars 45 forks source link

tests/decodeinputavformat: use heap-allocated m_packet #138

Open schopin-pro opened 2 years ago

schopin-pro commented 2 years ago

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.