Bug #2403 » fix_removed_api.patch
command/decoder.cpp | ||
---|---|---|
}
|
||
#endif
|
||
#if ((LIBAVCODEC_VERSION_MICRO > 100) && (LIBAVCODEC_VERSION_INT < ((55<<16)+(45<<8)+101))) || \
|
||
((LIBAVCODEC_VERSION_MICRO <= 100) && (LIBAVCODEC_VERSION_INT < ((55<<16)+(28<<8)+1)))
|
||
video_frame = avcodec_alloc_frame();
|
||
#else
|
||
video_frame = av_frame_alloc();
|
||
#endif
|
||
if (!video_frame)
|
||
{
|
||
esyslog("could not allocate frame");
|