[FFmpeg-devel] [PATCH]Skip padding in mpc8 header

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat May 5 15:01:31 CEST 2012


On Sat, May 05, 2012 at 01:29:36PM +0200, Michael Niedermayer wrote:
> On Sat, May 05, 2012 at 10:40:57AM +0200, Carl Eugen Hoyos wrote:
> > Hi!
> > 
> > Attached patch fixes ticket #1160.
> 
> > Is a check necessary how far skip tries to seek?
> 
> dunno, depends on if files exist that need some kind of check ...

If we're unsure about this, the safest way would probably be to add a
warning when either the data skipped is more than e.g. 16 bytes or any
of the skipped bytes are not 0.
That will at least lead to a quick fix if there are any issues.


More information about the ffmpeg-devel mailing list