uppercase codec_tag=AVC1 support

Originally committed as revision 3746 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2004-12-09 22:04:15 +00:00
parent 169eb021d0
commit bf835aee11
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {