mirror of https://github.com/FFmpeg/FFmpeg.git
h263_get_motion_length() forgot to take an absolute value; as a consequence, a negative index was used to access an array. This leads to potential crashes, but mostly it just accesses what is to the left of ff_mvtab (unless one uses ASAN), thereby defeating the purpose of the AV_CODEC_FLAG2_NO_OUTPUT because the sizes of the returned packets differ from the sizes the encoder would actually have produced. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>pull/375/head
parent
27c9300027
commit
9207dc3b0d
1 changed files with 4 additions and 3 deletions
Loading…
Reference in new issue