[FFmpeg-trac] #1655(avformat:new): mpegts demuxer does not recognize invalid PES header
FFmpeg
trac at avcodec.org
Sat Aug 18 16:53:15 CEST 2012
#1655: mpegts demuxer does not recognize invalid PES header
-------------------------------------+-------------------------------------
Reporter: alphamoose | Type: defect
Status: new | Priority: normal
Component: avformat | Version:
Keywords: | unspecified
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Is there a special reason, why the mpegts demuxer does not give a warning,
when the PES header start code is missing? Instead it just skips the
invalid TS packet payload. The code comment says, it assumes the data to
be a "table". I never heard about "tables" in a PES stream though.
http://git.videolan.org/?p=ffmpeg.git;a=blob;f=libavformat/mpegts.c;hb=HEAD#l854
I think ffmpeg should at least give a warning message or even set the
AV_PKT_FLAG_CORRUPT flag, when it skips that data without interpreting it
at all.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1655>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list