mpjpeg: probe should require same constraints as packet reader - both proper content...
authorAlex Agranovsky <alex@sighthound.com>
Sun, 13 Sep 2015 20:47:54 +0000 (16:47 -0400)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 14 Sep 2015 15:03:47 +0000 (17:03 +0200)
commit0572bd1a62c0a0bfd266d3504785621cd6d0e3dc
treeb952bca950181e9c139a1b7783c6728a0d043c08
parentb65ffa316e377213c29736929beba584d0d80d7c
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

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/mpjpegdec.c