diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index a3f1f2416d972ec559524d20c3d911a741832cd8..11b58ee538cad7a26d9b6bc4b3791471b06e8659 100644
--- a/libavcodec/h264.c
+++ b/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)) {