[FFmpeg-devel] [PATCH]lavf/rmdec: Do not return EIO on EOF

Carl Eugen Hoyos cehoyos at ag.or.at
Tue May 10 15:52:40 CEST 2016

Paul B Mahol <onemda <at> gmail.com> writes:

> > How is the fact that the device produces damaged files
> > (be it because of wireless or other issues) related to
> > fixing broken audio for the given samples?
> Either too big predictors should be skipped or clipped.
> How decoded output sounds when played back when predictors 
> are clipped?
> Note that both approaches are flawed as your patch, if bytes
> written in damaged files are small numbers...

Again: How is this related?

For a two minute file, you have one (or two) predictors 
that are wrong, the video shows artefacts and the demuxer 
shows an error message.
For the whole file, no audio is played without my patch, 
audio plays fine with my patch.

If you further want to improve the decoder (or the demuxer) 
that is of course file, but please don't delay my patch 
because of unrelated errors.

Carl Eugen

More information about the ffmpeg-devel mailing list