diff h263.c @ 1583:853d2107ce5b libavcodec

initial support for zygovideo
author alex
date Wed, 29 Oct 2003 14:54:45 +0000
parents dd544554ed42
children 3615999a7284
line wrap: on
line diff
--- 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;