diff h264.c @ 2384:6ffcdd96ae99 libavcodec

uppercase codec_tag=AVC1 support
author michael
date Thu, 09 Dec 2004 22:04:15 +0000
parents 3c2abf00b7c1
children 299f2d85d27d
line wrap: on
line diff
--- a/h264.c	Thu Dec 09 01:01:11 2004 +0000
+++ b/h264.c	Thu Dec 09 22:04:15 2004 +0000
@@ -2248,7 +2248,7 @@
 
     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)) {