On Sat, Oct 17, 2015 at 6:25 PM, Luca Barbato <[email protected]> wrote:
> On 16/10/15 19:46, Anton Khirnov wrote:
>>
>> If the block above got executed, won't it attemp to skip it again?
>
>
> it starts skipping from whenever `i` was before, alternatively I can just
> process all the buffer and not just the first arbitrary amount of it.
>
> lu
Ping on this patch. I had a comment too that got lost
> + for (i = 0; i < sizeof(info) - 1 && i < size; i++) {
> + int byte = get_bits(gb, 8);
> + if (isprint(byte))
> + info[i] = byte;
this if is not useful, skipping a byte here will set info[i] to 0,
making it end the string on printing.
--
Vittorio
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel