[FFmpeg-devel] [PATCH]lavc/mjpegdec: Only read JFIF thumbnail size if the segment is long enough.

Michael Niedermayer michael at niedermayer.cc
Mon Aug 29 13:59:27 EEST 2016


On Mon, Aug 29, 2016 at 12:12:34AM +0200, Carl Eugen Hoyos wrote:
> Hi!
> 
> Attached patch fixes ticket #5805.
> 
> Please comment, Carl Eugen

>  mjpegdec.c |    5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 4ccdddc80ba0dbd460f9d7ecb046cad73d50ea51  0001-lavc-mjpegdec-Only-read-JFIF-thumbnail-size-if-the-s.patch
> From 215d45b2226cb5681be09bb4e0a2c135925ed6f5 Mon Sep 17 00:00:00 2001
> From: Carl Eugen Hoyos <cehoyos at ag.or.at>
> Date: Mon, 29 Aug 2016 00:09:06 +0200
> Subject: [PATCH] lavc/mjpegdec: Only read JFIF thumbnail size if the segment
>  is long enough.
> 
> Fixes ticket #5805.

LGTM,

can you add a fate test for this ?

thx

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Why not whip the teacher when the pupil misbehaves? -- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160829/3522bb32/attachment.sig>


More information about the ffmpeg-devel mailing list