mirror of https://github.com/FFmpeg/FFmpeg.git
This is undefined behaviour in C, so use data = len ? data + len : data instead of data += len. GCC optimizes the branch away in this case; Clang unfortunately doesn't. Fixes ticket #8592. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>pull/371/head
parent
4f49ca7bbc
commit
9c0b3eddf4
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue