summaryrefslogtreecommitdiff
path: root/src/combined/ffmpeg/ffmpeg_decoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/combined/ffmpeg/ffmpeg_decoder.h')
-rw-r--r--src/combined/ffmpeg/ffmpeg_decoder.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/combined/ffmpeg/ffmpeg_decoder.h b/src/combined/ffmpeg/ffmpeg_decoder.h
index ffa7de8df..b0185d50a 100644
--- a/src/combined/ffmpeg/ffmpeg_decoder.h
+++ b/src/combined/ffmpeg/ffmpeg_decoder.h
@@ -36,7 +36,11 @@
typedef struct ff_codec_s {
uint32_t type;
+#if defined LIBAVCODEC_VERSION_INT && LIBAVCODEC_VERSION_INT >= ((54<<16)|(25<<8))
+ enum AVCodecID id;
+#else
enum CodecID id;
+#endif
const char *name;
} ff_codec_t;