[FFmpeg-devel] [PATCH] h261dec, ituh263dec: ensure CLOSE_READER is done on error paths, too.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Aug 31 22:50:16 CEST 2014


On Sun, Aug 31, 2014 at 09:56:03PM +0200, Michael Niedermayer wrote:
> On Sun, Aug 31, 2014 at 09:40:05PM +0200, Reimar Döffinger wrote:
> > Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
> > ---
> >  libavcodec/h261dec.c    | 2 ++
> >  libavcodec/ituh263dec.c | 4 ++--
> >  2 files changed, 4 insertions(+), 2 deletions(-)
> 
> LGTM
> though in theory its probably also ok not to write back on errors

My concern was whether it might mess with error concealment,
so I thought it safer like this.


More information about the ffmpeg-devel mailing list