[FFmpeg-trac] #990(avcodec:new): ffmpeg segfaults in ff_msmpeg4_encode_block with "-r 12 -codec msmpeg4 -mbd rd" options
FFmpeg
trac at avcodec.org
Fri Feb 10 14:05:58 CET 2012
#990: ffmpeg segfaults in ff_msmpeg4_encode_block with "-r 12 -codec msmpeg4 -mbd
rd" options
-------------------------------------+-------------------------------------
Reporter: | Type: defect
tom.vercauteren@… | Priority: normal
Status: new | Version: 0.10
Component: avcodec | Blocked By:
Keywords: | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
This is a followup of:
http://ffmpeg.org/pipermail/libav-user/2012-February/001256.html
Running
{{{
ffmpeg -r 12 -i test-%04d.png -codec msmpeg4 -mbd rd test.avi
}}}
on the attached png file leads to a segfault.
A quick debugging session shows that an array index in
ff_msmpeg4_encode_block becomes -1 at line 930 of msmpeg4.c (version 0.10)
http://git.videolan.org/?p=ffmpeg.git;a=blob;f=libavcodec/msmpeg4.c;h=d37cac9862380a339e64d663ba21c76728751a1a;hb=1b7ff901078064ccd7df3640e0958a344b2c00cb
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/990>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list