Browse Source

uppercase codec_tag=AVC1 support

Originally committed as revision 3746 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 20 years ago
parent
commit
bf835aee11
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/h264.c

+ 1
- 1
libavcodec/h264.c View File

@@ -2248,7 +2248,7 @@ static int decode_init(AVCodecContext *avctx){


decode_init_vlc(h); decode_init_vlc(h);
if(avctx->codec_tag != 0x31637661) // avc1
if(avctx->codec_tag != 0x31637661 && avctx->codec_tag != 0x31435641) // avc1
h->is_avc = 0; h->is_avc = 0;
else { else {
if((avctx->extradata_size == 0) || (avctx->extradata == NULL)) { if((avctx->extradata_size == 0) || (avctx->extradata == NULL)) {


Loading…
Cancel
Save