diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2019-11-01 10:02:29 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-07-01 12:49:26 +0200 |
commit | 2720888c60d53969326ea628bcb3e52afc410a6f (patch) | |
tree | 1d12e232fa10d6dc7df3ff29c2f1e087fb4e3502 /libavformat/swf.c | |
parent | 7549beb2a272cc81d3228c337cd03b1498a78e77 (diff) | |
download | ffmpeg-2720888c60d53969326ea628bcb3e52afc410a6f.tar.gz |
avformat/nutenc: Do not pass NULL to memcmp() in get_needed_flags()
This compared to the other suggestions is cleaner and easier to understand
keeping the condition in the if() simple.
This affects alot of fate tests.
See: [FFmpeg-devel] [PATCH 05/11] avformat/nutenc: Don't pass NULL to memcmp
See: [FFmpeg-devel] [PATCH]lavf/nutenc: Do not call memcmp() with NULL argument
Fixes: Ticket 7980
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit e4fdeb3fcefeb98f2225f7ccded156fb175959c5)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/swf.c')
0 files changed, 0 insertions, 0 deletions