diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2019-11-01 10:02:29 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-11-11 20:18:48 +0100 |
commit | 0d816a9471961e30ec8d751eb4f402d5987eed13 (patch) | |
tree | 1be28e0e9d03a05ea66bc023493547e8ffe848f8 /libswscale/utils.c | |
parent | a0b57ca1b89af7f52c8f92dfe5a20195ddf3d54b (diff) | |
download | ffmpeg-0d816a9471961e30ec8d751eb4f402d5987eed13.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 'libswscale/utils.c')
0 files changed, 0 insertions, 0 deletions