[FFmpeg-devel] [PATCH] img2dec: Don't leave AVIOContexts open on zero byte files

Tomas Härdin tomas.hardin at codemill.se
Fri Sep 7 11:03:47 CEST 2012


The attached patch fixes img2dec leaving file descriptors/HTTP
connections/etc. open if an image sequence contains a zero-sized file.

make fate ran fine.

I'm sending a slightly different patch to libav-devel since for some
reason the demuxers look a bit different (s->split_planes vs
codec->codec_id == AV_CODEC_ID_RAWVIDEO).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-img2dec-Don-t-leave-AVIOContexts-open-on-zero-byte-f.patch
Type: text/x-patch
Size: 2219 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120907/66eea219/attachment.bin>

More information about the ffmpeg-devel mailing list