[FFmpeg-devel] [PATCH] avformat/mpegts: set data broadcast streams as such

Jan Ekström jeebjp at gmail.com
Tue Apr 5 00:35:11 EEST 2022


On Mon, Apr 4, 2022 at 7:32 PM TADANO Tokumei <aimingoff at pc.nifty.jp> 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


More information about the ffmpeg-devel mailing list