diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
commit | d934827bf44b7cfcf6711964418148fa60877668 (patch) | |
tree | 0625f358789b5e015e49db139cc1dbc9be00428f /media-libs/mlt/files/mlt-6.20.0-nullpointer-crash.patch | |
parent | 2e34d110f164bf74d55fced27fe0000201b3eec5 (diff) |
gentoo resync : 25.11.2020
Diffstat (limited to 'media-libs/mlt/files/mlt-6.20.0-nullpointer-crash.patch')
-rw-r--r-- | media-libs/mlt/files/mlt-6.20.0-nullpointer-crash.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/media-libs/mlt/files/mlt-6.20.0-nullpointer-crash.patch b/media-libs/mlt/files/mlt-6.20.0-nullpointer-crash.patch deleted file mode 100644 index 6bff797c0a92..000000000000 --- a/media-libs/mlt/files/mlt-6.20.0-nullpointer-crash.patch +++ /dev/null @@ -1,22 +0,0 @@ -From b32be6e56e328bb2e580aa13cd757aa211310bae Mon Sep 17 00:00:00 2001 -From: Dan Dennedy <dan@dennedy.org> -Date: Thu, 27 Feb 2020 23:49:07 -0800 -Subject: [PATCH] fix null pointer crash in mix transition - ---- - src/modules/core/transition_mix.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/modules/core/transition_mix.c b/src/modules/core/transition_mix.c -index ab7a166d0..89c07a285 100644 ---- a/src/modules/core/transition_mix.c -+++ b/src/modules/core/transition_mix.c -@@ -139,7 +139,7 @@ static int transition_get_audio( mlt_frame frame_a, void **buffer, mlt_audio_for - mlt_frame_get_audio( frame_a, (void**) &buffer_a, format, &frequency_a, &channels_a, &samples_a ); - - // Prevent dividing by zero. -- if ( !channels_a || !channels_b ) -+ if ( !channels_a || !channels_b || !buffer_a || !buffer_b ) - return 1; - - if ( buffer_b == buffer_a ) |