On Mon, Apr 4, 2022 at 7:32 PM TADANO Tokumei <[email protected]> wrote:
>
> Ah, the variables should be int.
>
> On 2022/04/05 1:16, TADANO Tokumei wrote:
> > ... and, it is better to check broken packet.
> >

Yes. I guess I'll swap those for ints, although I like having the
original unsigned sizes :) .

I think alternatively it could be checked whether there is enough data
before hand, since the only error seems to be if there is not enough
data available. In this case it would be three bytes I think, 16+8
bits.

Jan
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to