[FFmpeg-devel] [PATCH]lavf/icodec: Improve probe function

Michael Niedermayer michael at niedermayer.cc
Tue Jan 12 14:49:59 CET 2016


On Tue, Jan 12, 2016 at 01:49:37PM +0100, Carl Eugen Hoyos wrote:
> Hi!
> 
> On Tuesday 12 January 2016 01:33:53 pm Carl Eugen Hoyos wrote:
> >
> > Attached patch improves ico probing, previously mpeg-2 frames could be
> > detected.
> 
> Wikipedia claims that planes can be 0, new patch attached.
> 
> Carl Eugen

>  icodec.c |    8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)
> 5587972d12000a679757c9b42947869eb1cee0f5  patchico.diff
> diff --git a/libavformat/icodec.c b/libavformat/icodec.c
> index 22e2099..4d6e6dc 100644

tools/probetest 256 4096
testing size=1
testing size=2
testing size=4
testing size=8
Failure of ico probing code with score=26 type=1 p=EA6 size=8
testing size=16

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The misfortune of the wise is better than the prosperity of the fool.
-- Epicurus
-------------- 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/20160112/fcb2ed51/attachment.sig>


More information about the ffmpeg-devel mailing list