summarylogtreecommitdiffstats
path: root/codecid.patch
blob: d1943ce89c881d2f0bc964f60f61e35f9b4186cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff --git a/src/videoencoder.h b/src/videoencoder.h
index b04238b7..211add95 100644
--- a/src/videoencoder.h
+++ b/src/videoencoder.h
@@ -30,14 +30,14 @@
                                                LIBAVCODEC_VERSION_MINOR >= minor))
 
 
-//#if !LIBAVCODEC_VER_AT_LEAST(54,25)
+#if !LIBAVCODEC_VER_AT_LEAST(54,25)
 //    #define AV_CODEC_ID_NONE CODEC_ID_NONE
 //    #define AV_CODEC_ID_MJPEG CODEC_ID_MJPEG
 //    #define AV_CODEC_ID_RAWVIDEO CODEC_ID_RAWVIDEO
 //    #define AV_CODEC_ID_H264 CODEC_ID_H264
 //    #define AV_CODEC_ID_VP8 CODEC_ID_VP8
-//    #define AVCodecID CodecID
-//#endif
+    #define AVCodecID CodecID
+#endif
 
 extern "C" {
 #include "libavcodec/avcodec.h"