Benjamin Larsson <[email protected]> added the comment: On 01/07/2011 01:59 PM, Daniel Kang wrote: > > New submission from Daniel Kang <[email protected]>: > > For ts files with invalid headers (i.e. channels greater than > DCA_PRIM_CHANNELS_MAX), ffmpeg crashes with a buffer overread. The patch > attached adds a check for this. > > FTP does not work in my current location, so I have uploaded the sample file. >
The correct way to solve this is to check the crc in the header and only set channels when that is valid. The issue is valid but the patch is not the best way to solve this. Thanks for the report. MvH Benjamin Larsson ________________________________________________ FFmpeg issue tracker <[email protected]> <https://roundup.ffmpeg.org/issue2505> ________________________________________________
