On Fri, Oct 2, 2015 at 1:56 PM, Luca Barbato <[email protected]> wrote:
> 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?

It was like this since the code has been added, and ret is not used before.
-- 
Vittorio
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to