From f1f0b01c4700ae342bb245efcc00a724fd270c14 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 28 Oct 2013 23:45:26 +0100 Subject: [PATCH] avformat/gxf: fix old codec id Signed-off-by: Michael Niedermayer --- libavformat/gxf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/gxf.c b/libavformat/gxf.c index e15d06aaf9..c36479a821 100644 --- a/libavformat/gxf.c +++ b/libavformat/gxf.c @@ -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: