summaryrefslogtreecommitdiff
path: root/command/decoder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'command/decoder.cpp')
-rw-r--r--command/decoder.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/command/decoder.cpp b/command/decoder.cpp
index cbd8055..a75f08f 100644
--- a/command/decoder.cpp
+++ b/command/decoder.cpp
@@ -102,6 +102,7 @@ fail:
}
#endif
+#if LIBAVCODEC_VERSION_INT < ((55<<16)+(18<<8)+102)
#ifndef AV_CODEC_ID_H264
#define AV_CODEC_ID_H264 CODEC_ID_H264
#endif
@@ -114,6 +115,7 @@ fail:
#ifndef AV_CODEC_ID_NONE
#define AV_CODEC_ID_NONE CODEC_ID_NONE
#endif
+#endif
cMarkAdDecoder::cMarkAdDecoder(bool useH264, int Threads)
{