[FFmpeg-devel] [PATCH] libavfilter - avfilter_make_format_list skips sentinel -1

Michael Niedermayer michaelni at gmx.at
Wed Nov 23 13:18:47 CET 2011

On Wed, Nov 23, 2011 at 08:09:19AM +0100, Robert Nagy wrote:
> See the thread "libavfilter - avfilter_merge_formats heap corruption".
> I have not actually tested the patch since I cannot build ffmpeg on
> windows, actually on closer inspection I don't think it is correct.

How can we reproduce the problem ?

valgrind ./ffmpeg -i ~/matrixbench_mpeg2.mpg -vf 'yadif=0:-1' test.avi
valgrind ./ffplay_g ~/matrixbench_mpeg2.mpg -vf 'yadif=0:-1'

shows anything suspicious here

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Awnsering whenever a program halts or runs forever is
On a turing machine, in general impossible (turings halting problem).
On any real computer, always possible as a real computer has a finite number
of states N, and will either halt in less than N cycles or never halt.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20111123/87eeef58/attachment.asc>

More information about the ffmpeg-devel mailing list