1) The patch as it stands is completely invalid. Each change needs to have a version / feature check for backwards compatibility. 2) The change in mkv_decoder.c is not done like that. The correct way is to #define either av_free_packet or av_destruct_packet in libavhelper.h . Again a #ifdef is needed to identify this change.
On Tue, Mar 8, 2016 at 11:15 AM, salsaman <[email protected]> wrote: > Is there a compile time check for this version (e.g. > LIBAVCODEC_VERSION_MAJOR) or even #ifdef AV_PIX_FMT_RGB24 ? > > > >

