# HG changeset patch
# User alex
# Date 1067439285 0
# Node ID 853d2107ce5b41d923206f76589605fa0054b7bc
# Parent  ece0ad14a35d8f7e5a7da65cbf9f649811aeb145
initial support for zygovideo

diff -r ece0ad14a35d -r 853d2107ce5b h263.c
--- a/h263.c	Wed Oct 29 14:08:18 2003 +0000
+++ b/h263.c	Wed Oct 29 14:54:45 2003 +0000
@@ -4304,6 +4304,8 @@
         /* 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;