]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/h263dec.c
Merge commit 'da7e31a240f276836a0b90ca6c0714181b353cc4'
[ffmpeg] / libavcodec / h263dec.c
index 4ef7825f0c681bb8c39533b747c0ba52679536c1..a1981a3cf897c4690a571e2382b8f00dbdf1b14e 100644 (file)
@@ -117,8 +117,9 @@ av_cold int ff_h263_decode_init(AVCodecContext *avctx)
     }
     s->codec_id    = avctx->codec->id;
 
-    if (avctx->stream_codec_tag == AV_RL32("l263") && avctx->extradata_size == 56 && avctx->extradata[0] == 1)
-        s->ehc_mode = 1;
+    if (avctx->codec_tag == AV_RL32("L263") || avctx->codec_tag == AV_RL32("S263"))
+        if (avctx->extradata_size == 56 && avctx->extradata[0] == 1)
+            s->ehc_mode = 1;
 
     /* for h263, we allocate the images after having read the header */
     if (avctx->codec->id != AV_CODEC_ID_H263 &&