[FFmpeg-devel] [PATCH 3/6] dvbsubdec: always return the whole buffer as consumed bytes

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat Oct 5 19:45:29 CEST 2013


On Sat, Oct 05, 2013 at 07:34:55PM +0200, Marton Balint wrote:
> We don't want leftover junk bytes to be accidentally feeded to us again.

But is there any check that those are actually junk bytes?
Shouldn't we in principle try to ensure they are?
Or if we don't expect to encounter such warn?
Possibly fail if strict is set?
Just suggestions, based on me not particularly liking silently
throwing away stuff that _could_ be relevant with no way at all for
an application to detect that case...


More information about the ffmpeg-devel mailing list