aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h263.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-07-15 20:22:22 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-07-15 20:22:22 +0000
commite11530e780e6a6dbd33b8b83f1ba6dfc6d68bbd0 (patch)
tree8051698bcea03849cb38a21a738f179d7e730b0d /libavcodec/h263.c
parente5526b2c3963498e0d8dc06403b59b31b3104095 (diff)
downloadffmpeg-e11530e780e6a6dbd33b8b83f1ba6dfc6d68bbd0.tar.gz
flv1 fix
Originally committed as revision 2047 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263.c')
-rw-r--r--libavcodec/h263.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/libavcodec/h263.c b/libavcodec/h263.c
index f5ae32bb8a..ba28184f4c 100644
--- a/libavcodec/h263.c
+++ b/libavcodec/h263.c
@@ -5174,7 +5174,7 @@ int flv_h263_decode_picture_header(MpegEncContext *s)
s->h263_plus = 0;
s->unrestricted_mv = 1;
- s->h263_long_vectors = s->unrestricted_mv;
+ s->h263_long_vectors = 0;
/* PEI */
while (get_bits1(&s->gb) != 0) {
@@ -5182,6 +5182,11 @@ int flv_h263_decode_picture_header(MpegEncContext *s)
}
s->f_code = 1;
+ if(s->avctx->debug & FF_DEBUG_PICT_INFO){
+ printf("%c esc_type:%d, qp:%d num:%d\n",
+ av_get_pict_type_char(s->pict_type), s->h263_flv-1, s->qscale, s->picture_number);
+ }
+
s->y_dc_scale_table=
s->c_dc_scale_table= ff_mpeg1_dc_scale_table;