changeset 2384:6ffcdd96ae99 libavcodec

uppercase codec_tag=AVC1 support
author michael
date Thu, 09 Dec 2004 22:04:15 +0000
parents 3c2abf00b7c1
children 4605a8b188c3
files h264.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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)) {