summaryrefslogtreecommitdiff
path: root/src/libffmpeg/libavcodec/h263dec.c
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-08-07 19:46:28 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-08-07 19:46:28 +0000
commit4b4e6ae115219bac7488463bfd74f2ca3faf031d (patch)
tree41ac133c9e1eb9b686ffe3d08c34fbeb15b04a18 /src/libffmpeg/libavcodec/h263dec.c
parenta56d88fc434e5ee124867b1af13d6398ce5e9a5a (diff)
downloadxine-lib-4b4e6ae115219bac7488463bfd74f2ca3faf031d.tar.gz
xine-lib-4b4e6ae115219bac7488463bfd74f2ca3faf031d.tar.bz2
- sync with ffmpeg cvs
- apply Zdenek Kabelac patches to enable -fpic compiling (why this stuff isn't in ffmpeg cvs?) CVS patchset: 2402 CVS date: 2002/08/07 19:46:28
Diffstat (limited to 'src/libffmpeg/libavcodec/h263dec.c')
-rw-r--r--src/libffmpeg/libavcodec/h263dec.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/libffmpeg/libavcodec/h263dec.c b/src/libffmpeg/libavcodec/h263dec.c
index d03b9ccf5..0d83a5633 100644
--- a/src/libffmpeg/libavcodec/h263dec.c
+++ b/src/libffmpeg/libavcodec/h263dec.c
@@ -88,7 +88,6 @@ static int h263_decode_init(AVCodecContext *avctx)
return -1;
}
s->codec_id= avctx->codec->id;
- avctx->mbskip_table= s->mbskip_table;
/* for h263, we allocate the images after having read the header */
if (avctx->codec->id != CODEC_ID_H263 && avctx->codec->id != CODEC_ID_MPEG4)
@@ -155,7 +154,13 @@ uint64_t time= rdtsc();
ret = h263_decode_picture_header(s);
}
avctx->has_b_frames= s->has_b_frames;
-
+#if 0 // dump bits per frame / qp / complexity
+{
+ static FILE *f=NULL;
+ if(!f) f=fopen("rate_qp_cplx.txt", "w");
+ fprintf(f, "%d %d %f\n", buf_size, s->qscale, buf_size*(double)s->qscale);
+}
+#endif
/* After H263 & mpeg4 header decode we have the height, width,*/
/* and other parameters. So then we could init the picture */