[MPlayer-dev-eng] [PATCH] split filter_n_bytes function a bit
uoti.urpala at pp1.inet.fi
Sun Nov 4 12:57:52 CET 2007
On Sun, 2007-11-04 at 12:17 +0100, Reimar Döffinger wrote:
> On Sun, Nov 04, 2007 at 01:02:28PM +0200, Uoti Urpala wrote:
> > Is there some decoder that returns <= 0 except on error/EOF? If there is
> > then it's broken IMO.
> Well, e.g. ad_libmad checks if maxlen is too small. On second thought I
> must admit that this case could be considered an error.
> When I said "error" I was only thinking of things like broken bitstream.
> But in the case of broken bitstream it seems not to make sense to me to
> behave like on EOF and skip filtering, just ignoring it currently seems
> to make more sense. Except that this would cause A-V sync/buffering
I don't understand what you're trying to say here. Filtering of returned
data is never skipped now, nor do I see why you'd want to do that.
More information about the MPlayer-dev-eng