[MPlayer-dev-eng] [PATCH] more fixes for TS demuxer

Attila Kinali kinali at gmx.net
Mon Oct 20 15:37:20 CEST 2003


On Sun, 12 Oct 2003 14:19:12 +0200
Nico <nsabbi at libero.it> wrote:

> Hi,
> in this patch are included the previous (and unapplied) fixes plus:
> 
> - more fixes in the seek() function that previously could lead mplayer 
> to crash or hang
> - identify AAC with an ADTS header disguised as MPA (layer 4 in the header)
> - cleaned ts_parse() (that was becoming a monster): removed all 
> state-keeping code
> - drop TS packets which have the Transport Error bit set
> - removed the source of 10+ compilation warnings
> - added an option: -tskeepbroken (disabled by default), which instructs 
> the demuxer to pass
> to the decoders the packets that fail to respect the continuity counters 
> check; in this case no PES
> parsing is permormed on them.
> Actually this option is necessary to play certain broken files that 
> otherwise play corrupted.


Ok, applied.

Please avoid cosmetics next time.
Your patch shrunk by ~10% just by removing them.

			Attila Kinali

-- 
egp ist vergleichbar mit einem ikea bausatz fuer flugzeugtraeger
			-- reeler in +kaosu



More information about the MPlayer-dev-eng mailing list