[FFmpeg-trac] #273(avcodec:open): h264 video decoding aborts due to too low number of "slices"

FFmpeg trac at avcodec.org
Thu Jun 9 23:07:54 CEST 2011


#273: h264 video decoding aborts due to too low number of "slices"
----------------------------------+----------------------
Reporter:  gerhard_s              |       Owner:
    Type:  defect                 |      Status:  open
Priority:  normal                 |   Component:  avcodec
 Version:  unspecified            |  Resolution:
Keywords:  h264 slice MAX_SLICES  |  Blocked By:
Blocking:                         |  Reproduced:  0
Analyzed:  0                      |
----------------------------------+----------------------

Comment (by gerhard_s):

 Unfortunately, it is.

 It seems to trigger this piece of code in avcodec/h264.c:
     if(h->slice_num >= MAX_SLICES){
         av_log(s->avctx, AV_LOG_ERROR, "Too many slices, increase
 MAX_SLICES and recompile\n");
     }
 the result of which is a crash (log level = AV_LOG_ERROR).

-- 
Ticket URL: <https://avcodec.org/trac/ffmpeg/ticket/273#comment:3>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list