From bf835aee11f5ae8708f4d2a2530183e40a38b1db Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 9 Dec 2004 22:04:15 +0000 Subject: [PATCH] uppercase codec_tag=AVC1 support Originally committed as revision 3746 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/h264.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/h264.c b/libavcodec/h264.c index a3f1f2416d..11b58ee538 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -2248,7 +2248,7 @@ static int decode_init(AVCodecContext *avctx){ decode_init_vlc(h); - if(avctx->codec_tag != 0x31637661) // avc1 + if(avctx->codec_tag != 0x31637661 && avctx->codec_tag != 0x31435641) // avc1 h->is_avc = 0; else { if((avctx->extradata_size == 0) || (avctx->extradata == NULL)) {