[FFmpeg-trac] #1105(avcodec:open): flashsv2 enc: crash with -s 16x16

FFmpeg trac at avcodec.org
Mon Mar 19 23:22:27 CET 2012


#1105: flashsv2 enc: crash with -s 16x16
------------------------------------+-----------------------------------
             Reporter:  ami_stuff   |                    Owner:
                 Type:  defect      |                   Status:  open
             Priority:  normal      |                Component:  avcodec
              Version:  git-master  |               Resolution:
             Keywords:  flashsv2    |               Blocked By:
             Blocking:              |  Reproduced by developer:  1
Analyzed by developer:  1           |
------------------------------------+-----------------------------------
Changes (by cehoyos):

 * analyzed:  0 => 1
 * keywords:   => flashsv2
 * component:  undetermined => avcodec


Comment:

 Crashes for widths and heights below 192 in line 207/208 of flashsv2enc.c:
 {{{
     s->block_width  = (s->image_width /  12) & ~15;
     s->block_height = (s->image_height / 12) & ~15;

     s->rows = (s->image_height + s->block_height - 1) / s->block_height;
     s->cols = (s->image_width +  s->block_width -  1) / s->block_width;

 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1105#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list