[FFmpeg-devel] [PATCH] avcodec/ilbcdec: fix integer overflow in energy

2018-12-08 Thread Michael Niedermayer
webrtc uses a int32_t like the existing code in ilbcdec Fixes: signed integer overflow: 2080245063 + 257939661 cannot be represented in type 'int' Fixes: 11037/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ILBC_fuzzer-5682976612941824 Found-by: continuous fuzzing process

[FFmpeg-devel] AMD Vega 56, UVD and OpenCL

2018-12-08 Thread James Courtier-Dutton
Hi, I little off topic, but hopefully someone here might be able to help me as it is video processing related. I wish to use UVD to send a video stream to the GPU, and then have OpenCL process the output video frames. Can anyone point me to example source code to achieve this in Linux. Kind

[FFmpeg-devel] [PATCH] avcodec/libaomenc: add row-mt option

2018-12-08 Thread James Almer
Default to disable, same as aomenc. Signed-off-by: James Almer --- libavcodec/libaomenc.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/libavcodec/libaomenc.c b/libavcodec/libaomenc.c index 17565017b4..1d3cef73f3 100644 --- a/libavcodec/libaomenc.c +++

[FFmpeg-devel] [PATCH] avformat/avio: fix avio_feof documentation

2018-12-08 Thread Marton Balint
It has been this way too long to change behaviour, so let's change the docs instead. Signed-off-by: Marton Balint --- libavformat/avio.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavformat/avio.h b/libavformat/avio.h index 75912ce6be..dcb8dcdf93 100644 ---

Re: [FFmpeg-devel] [PATCH 1/4] avformat/concatdec: set seekable flag after opening the last file

2018-12-08 Thread Nicolas George
Marton Balint (2018-12-09): > Will apply soon. Sorry, I was busy and it slipped my mind. I will try hard to have a careful look tomorrow. Regards, -- Nicolas Geoge signature.asc Description: Digital signature ___ ffmpeg-devel mailing list

Re: [FFmpeg-devel] [PATCH 1/4] avformat/concatdec: set seekable flag after opening the last file

2018-12-08 Thread Marton Balint
On Sun, 2 Dec 2018, Marton Balint wrote: On Thu, 22 Nov 2018, Marton Balint wrote: After finishing the last file all durations and start times should be known. Signed-off-by: Marton Balint --- libavformat/concatdec.c | 1 + 1 file changed, 1 insertion(+) diff --git

[FFmpeg-devel] [PATCH] configure: support dlmalloc custom allocator

2018-12-08 Thread Peter Ross
Doug Lea's Malloc: http://g.oswego.edu/dl/html/malloc.html --- configure | 5 + 1 file changed, 5 insertions(+) diff --git a/configure b/configure index 99c4c05347..c6cbd4a33c 100755 --- a/configure +++ b/configure @@ -5854,6 +5854,11 @@ check_builtin x264_csp_bgr "stdint.h x264.h"

[FFmpeg-devel] [PATCH 2/2] configure: djgpp: do not disable memalign when using custom_allocator

2018-12-08 Thread Peter Ross
--- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 4d7b2b37c3..99c4c05347 100755 --- a/configure +++ b/configure @@ -6809,7 +6809,7 @@ haiku) disable posix_memalign ;; *-dos|freedos|opendos) -if test_cpp_condition

[FFmpeg-devel] [PATCH 1/2] configure: use custom allocator extralibs when testing memalign and posix_memalign

2018-12-08 Thread Peter Ross
the memalign and posix_memalign tests currently fail when using a custom allocator, because configure does not include the custom allocator library. --- configure | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 026aee6b25..4d7b2b37c3 100755

Re: [FFmpeg-devel] [PATCH] os_support: define socket shutdown SHUT_xxx macros if they are not defined

2018-12-08 Thread Peter Ross
On Wed, Nov 28, 2018 at 10:03:15PM +1100, Peter Ross wrote: > sys/socket.h (with WIN32 guard) is needed to check if the SHUT_xxx macro > exists. > and because of this, SHUT_xxx defs have been moved into the CONFIG_NETWORK > block, > since they only affect network capable platforms. > --- > >

[FFmpeg-devel] [PATCH 2/2] avformat: add gif pipe demuxer

2018-12-08 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/img2dec.c| 15 +++ 3 files changed, 17 insertions(+) diff --git a/libavformat/Makefile b/libavformat/Makefile index d0d621de07..0e43a12df5 100644 ---

[FFmpeg-devel] [PATCH 1/2] avcodec: add gif parser

2018-12-08 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/Makefile | 1 + libavcodec/gif_parser.c | 188 libavcodec/parsers.c| 1 + 3 files changed, 190 insertions(+) create mode 100644 libavcodec/gif_parser.c diff --git a/libavcodec/Makefile

Re: [FFmpeg-devel] [PATCH] libavcodec/zmbvenc.c: don't allow motion estimation out of range.

2018-12-08 Thread Tomas Härdin
lör 2018-12-08 klockan 00:29 + skrev Matthew Fearnley: > Hi Tomas, thanks for looking through my patch. > > > > Practically, this patch fixes graphical glitches e.g. when reencoding > > the > > > Commander Keen sample video with me_range 65 or higher: > > > > > > ffmpeg -i

[FFmpeg-devel] [PATCH] ffmpeg-opt: mark stream disable options as output-only

2018-12-08 Thread Gyan Doshi
I see users with these options set in front of input. Stream disabling for input requires -discard though one packet tends to get smuggled across. But that's for another patch. Gyan From f0e78555d6ea5510922e2d543c9b69dff7d480b5 Mon Sep 17 00:00:00 2001 From: Gyan Doshi Date: Sat, 8 Dec 2018

Re: [FFmpeg-devel] [PATCH 2/2] cbs_h2645: Avoid memcpy when splitting fragment #2

2018-12-08 Thread Andreas Rheinhardt
Ping. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel