[FFmpeg-trac] #5176(avcodec:new): avcodec_decode_video2 requiring input buffer to be larger than actual read bytes

FFmpeg trac at avcodec.org
Thu Jan 21 12:22:14 CET 2016


#5176: avcodec_decode_video2 requiring input buffer to be larger than actual read
bytes
-------------------------------------+-------------------------------------
             Reporter:  hbos         |                    Owner:
                 Type:  enhancement  |                   Status:  new
             Priority:  normal       |                Component:  avcodec
              Version:  unspecified  |               Resolution:
             Keywords:               |               Blocked By:
  avcodec_decode_video2              |  Reproduced by developer:  0
  AV_INPUT_BUFFER_PADDING_SIZE       |
  input buffer bitstream reader 32   |
  64 bits overread                   |
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by hbos):

 OK. Fair enough. (I thought you could avoid that by telling the optimized
 byte reader to read X bytes, where X is all bytes up until the end, and
 then read the remaining Y<64 bits normally, guess not.)

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


More information about the FFmpeg-trac mailing list