h264_mp4toannexb: Add a comment about possible overread

Multimedia / FFmpeg - Andreas Rheinhardt [gmail.com] - 5 March 2020 23:58 UTC

Before reading a 16bit size field during parsing of extradata, no check is performed to make sure that said length field is actually contained in the extradata. Given that this overread is not dangerous (the extradata is supposed to be padded), only a comment for it has been added; the error itself will be detected as part of the normal check for overreads.

015950596c h264_mp4toannexb: Add a comment about possible overread
libavcodec/h264_mp4toannexb_bsf.c | 1 +
1 file changed, 1 insertion(+)

  • Share