On Thu, Feb 25, 2016 at 11:27:21PM +0100, Carl Eugen Hoyos wrote:
> Hi!
> 
> Attached patch fixes the sample Clément kindly provided:
> http://lucy.pkh.me/samples/img.jpg?foo=bar
> 
> Please comment, Carl Eugen

>  img2dec.c |    1 +
>  1 file changed, 1 insertion(+)
> 52bcdf49dd6f17c381cf1210bb70e807bccf14e4  patchjpegsof.diff
> diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c
> index a755b6f..ce40aa5 100644
> --- a/libavformat/img2dec.c
> +++ b/libavformat/img2dec.c
> @@ -706,6 +706,7 @@ static int jpeg_probe(AVProbeData *p)
>          case 0xC1:
>          case 0xC2:
>          case 0xC3:
> +            i += AV_RB16(&b[i + 2]) + 1;
>          case 0xC5:
>          case 0xC6:
>          case 0xC7:

shouldnt this also be done for these 3?

[...]


-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Republics decline into democracies and democracies degenerate into
despotisms. -- Aristotle

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to