avformat/gxf: fix old codec id
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 28 Oct 2013 22:45:26 +0000 (23:45 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 28 Oct 2013 22:54:42 +0000 (23:54 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/gxf.c

index e15d06a..c36479a 100644 (file)
@@ -166,7 +166,7 @@ static int get_sindex(AVFormatContext *s, int id, int format) {
         case 26: /* AVCi50 / AVCi100 (AVC Intra) */
         case 29: /* AVCHD */
             st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
-            st->codec->codec_id = CODEC_ID_H264;
+            st->codec->codec_id = AV_CODEC_ID_H264;
             st->need_parsing = AVSTREAM_PARSE_HEADERS;
             break;
         // timecode tracks: