aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2003-10-29 14:54:45 +0000
committerAlex Beregszaszi <alex@rtfs.hu>2003-10-29 14:54:45 +0000
commit43a13e7247852d413bfadd5220222b8e3bbe1003 (patch)
tree886c4b9456e36e1e731dfacf81d5cecdb1ebb88b
parent8b1ab7bf219791efafa11fb4bc260f14c02160b5 (diff)
downloadffmpeg-43a13e7247852d413bfadd5220222b8e3bbe1003.tar.gz
initial support for zygovideo
Originally committed as revision 2449 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/h263.c2
1 files changed, 2 insertions, 0 deletions
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;