On 02/10/15 12:43, Vittorio Giovara wrote: > --- > libavcodec/h263dec.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c > index 3a0f4f7..ee2a4b0 100644 > --- a/libavcodec/h263dec.c > +++ b/libavcodec/h263dec.c > @@ -236,9 +236,9 @@ static int decode_slice(MpegEncContext *s) > > s->mv_dir = MV_DIR_FORWARD; > s->mv_type = MV_TYPE_16X16; > + ret = s->decode_mb(s, s->block); > ff_dlog(s, "%d %d %06X\n", > ret, get_bits_count(&s->gb), show_bits(&s->gb, 24)); > - ret = s->decode_mb(s, s->block); > > if (s->pict_type != AV_PICTURE_TYPE_B) > ff_h263_update_motion_val(s); >
I wonder what the dlog is supposed to do, show the bits left after the decode or before it? The patch cannot hurt. _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel