diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2019-11-01 10:02:29 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-11-15 12:25:47 +0100 |
commit | f4103876f90f3eb68b64a5015ed3a3a158e82883 (patch) | |
tree | f2241e7fb9177f36535f2f0ca5135101cd84fb54 /libavformat/mpc.c | |
parent | eda94068959f4990c161b36541f11005b6422978 (diff) | |
download | ffmpeg-f4103876f90f3eb68b64a5015ed3a3a158e82883.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/mpc.c')
0 files changed, 0 insertions, 0 deletions