[FFmpeg-devel] [PATCH] avformat/nutenc: Do not pass NULL to memcmp() in get_needed_flags()

Michael Niedermayer michael at niedermayer.cc
Tue Nov 5 22:01:23 EET 2019


On Fri, Nov 01, 2019 at 01:33:43PM +0100, Michael Niedermayer wrote:
> 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 at niedermayer.cc>
> ---
>  libavformat/nutenc.c | 11 ++++++-----
>  1 file changed, 6 insertions(+), 5 deletions(-)

will apply

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20191105/912fb7a3/attachment.sig>


More information about the ffmpeg-devel mailing list