Opened 13 years ago
Closed 13 years ago
#990 closed defect (fixed)
ffmpeg segfaults in ff_msmpeg4_encode_block with "-r 12 -codec msmpeg4 -mbd rd" options
Reported by: | Tom Vercauteren | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avcodec |
Version: | git-master | Keywords: | crash SIGSEGV msmpeg4 |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | no |
Description
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
Attachments (3)
Change History (5)
by , 13 years ago
Attachment: | test-0000.png added |
---|
by , 13 years ago
Attachment: | test-0001.png added |
---|
by , 13 years ago
Attachment: | test-0002.png added |
---|
comment:1 by , 13 years ago
Keywords: | crash SIGSEGV msmpeg4 added |
---|---|
Reproduced by developer: | set |
Status: | new → open |
Version: | 0.10 → git-master |
Note:
See TracTickets
for help on using tickets.