[FFmpeg-devel] [PATCH] mpjpeg: probe should require same constraints as packet reader - both proper content-type and content-size must be present

Michael Niedermayer michaelni at gmx.at
Mon Sep 14 17:00:54 CEST 2015


On Sun, Sep 13, 2015 at 05:09:50PM -0400, Alex Agranovsky wrote:
> A slightly improved version …
> 
> 
> On September 13, 2015 at 4:56:21 PM, Alex Agranovsky (alex at sighthound.com) wrote:
> 
> 

>  mpjpegdec.c |   32 +++++++++++++-------------------
>  1 file changed, 13 insertions(+), 19 deletions(-)
> 13abef8e7d1127eda0247b285f75b5ffd1037a57  0001-mpjpeg-probe-should-require-same-constraints-as-pack.patch
> From 7772bd91987c224640e74e9e93b372af7dddeb89 Mon Sep 17 00:00:00 2001
> From: Alex Agranovsky <alex at sighthound.com>
> Date: Sun, 13 Sep 2015 16:47:54 -0400
> Subject: [PATCH] mpjpeg: probe should require same constraints as packet
>  reader - both proper content-type and content-size must be present
> 
> mpjpeg: probe should require same constraints as packet reader - both proper content-type and content-size must be present (return AVPROBE_SCORE_MAX, rather than random positive number on success)

applied

thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When the tyrant has disposed of foreign enemies by conquest or treaty, and
there is nothing more to fear from them, then he is always stirring up
some war or other, in order that the people may require a leader. -- Plato
-------------- 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/20150914/bf599eea/attachment.sig>


More information about the ffmpeg-devel mailing list