mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
avauddec: Use proper version guard
Just like we do with avviddec Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5931>
This commit is contained in:
parent
e353fe8fcc
commit
978b75b18a
1 changed files with 1 additions and 1 deletions
|
@ -590,7 +590,7 @@ gst_ffmpegauddec_frame (GstFFMpegAudDec * ffmpegdec, GstFlowReturn * ret,
|
|||
goto no_codec;
|
||||
|
||||
*ret = GST_FLOW_OK;
|
||||
#if LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(60, 2, 100)
|
||||
#if LIBAVCODEC_VERSION_MAJOR >= 60
|
||||
ffmpegdec->context->frame_num++;
|
||||
#else
|
||||
ffmpegdec->context->frame_number++;
|
||||
|
|
Loading…
Reference in a new issue