From 43a13e7247852d413bfadd5220222b8e3bbe1003 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Wed, 29 Oct 2003 14:54:45 +0000 Subject: [PATCH] initial support for zygovideo Originally committed as revision 2449 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/h263.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/h263.c b/libavcodec/h263.c index 0b09dc7311..ac373cce06 100644 --- a/libavcodec/h263.c +++ b/libavcodec/h263.c @@ -4304,6 +4304,8 @@ int h263_decode_picture_header(MpegEncContext *s) /* MPPTYPE */ s->pict_type = get_bits(&s->gb, 3) + I_TYPE; dprintf("pict_type: %d\n", s->pict_type); + if (s->pict_type == 8 && s->avctx->codec_tag == ff_get_fourcc("ZYGO")) + s->pict_type = I_TYPE; if (s->pict_type != I_TYPE && s->pict_type != P_TYPE) return -1;