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

Jan Ekström jeebjp at gmail.com
Mon Apr 11 16:31:59 EEST 2022


On Mon, Apr 11, 2022 at 1:50 PM Jan Ekström <jeebjp at gmail.com> wrote:
>
> From: Jan Ekström <jan.ekstrom at 24i.com>
>
> Additionally, they should not be probed, as this is essentially
> various types of binary data.
>
> Signed-off-by: Jan Ekström <jan.ekstrom at 24i.com>

Changes from v1:
- checking the length of descriptor to at least be 3 bytes before
reading them with getX(). The only error these functions can throw is
INVALIDDATA in case of the buffer not being large enough so this
should make sure that these reads cannot fail (VS checking each
separately for < 0).
- switching data type to the type returned by getX (int).

Jan


More information about the ffmpeg-devel mailing list