uppercase codec_tag=AVC1 support

Originally committed as revision 3746 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 20 years ago
parent 169eb021d0
commit bf835aee11
  1. 2
      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)) {

Loading…
Cancel
Save