From 9df1d2490d61c273a3ac9573c49cf4d20b4d750e Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 29 Oct 2003 17:30:13 +0000 Subject: [PATCH] dumping funny numbers from first zygo i frame header Originally committed as revision 2450 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/h263.c | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/libavcodec/h263.c b/libavcodec/h263.c index ac373cce06..4746dbff90 100644 --- a/libavcodec/h263.c +++ b/libavcodec/h263.c @@ -4380,8 +4380,23 @@ int h263_decode_picture_header(MpegEncContext *s) s->h263_plus ? "+" : "" ); } +#if 1 + if (s->pict_type == I_TYPE && s->avctx->codec_tag == ff_get_fourcc("ZYGO")){ + int i,j; + for(i=0; i<85; i++) printf("%d", get_bits1(&s->gb)); + printf("\n"); + for(i=0; i<13; i++){ + for(j=0; j<3; j++){ + int v= get_bits(&s->gb, 8); + v |= get_sbits(&s->gb, 8)<<8; + printf(" %5d", v); + } + printf("\n"); + } + for(i=0; i<50; i++) printf("%d", get_bits1(&s->gb)); + } +#endif - return 0; }