[FFmpeg-devel] [PATCH] mpjpegdec: don't try to alloc an AVIOContext when probe is guaranteed to fail
Michael Niedermayer
michaelni at gmx.at
Mon Jun 8 23:23:49 CEST 2015
On Mon, Jun 08, 2015 at 05:40:55PM -0300, James Almer wrote:
> The first check is done without the AVIOContext, so alloc it only if said check succeeds
>
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
> libavformat/mpjpegdec.c | 7 +++----
> 1 file changed, 3 insertions(+), 4 deletions(-)
LGTM
thanks
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Everything should be made as simple as possible, but not simpler.
-- Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150608/1ff06064/attachment.asc>
More information about the ffmpeg-devel
mailing list