[FFmpeg-devel] [PATCH] qdm2 decoder: return actually used data size

Reimar Döffinger Reimar.Doeffinger
Mon Dec 13 18:55:25 CET 2010


On Sun, Dec 12, 2010 at 07:08:55PM +0100, Benjamin Larsson wrote:
> On 12/12/2010 02:40 PM, Reimar D?ffinger wrote:
> > Hello,
> > currently the qdm2 decoder always returns the input buffer size.
> > IMO it should instead return how much of the data it actually used.
> > This allows e.g. playing a qdm2 stream even if somehow some packets
> > become mangled together (happens e.g. with MPlayer's mov demuxer).
> > Any objections?
> 
> Ok, if it works.

Fate test still works, MPlayer with -demuxer mov plays now more
streams (of course the real bug is still there, but since it's
legacy code who cares).
So applied.



More information about the ffmpeg-devel mailing list