Re: [FFmpeg-devel] [PATCH] build: restore using dlltool/lib.exe for creating Win32 .lib files

2018-02-17 Thread Hendrik Leppkes
On Fri, Feb 16, 2018 at 10:21 PM, Hendrik Leppkes wrote: > The GCC generated import libraries don't work properly when being imported > by MSVC, resulting in missing symbols at runtime. > > This reverts 5b5365fe9 and partially reverts changes from 98a9b1f0d For the record,

Re: [FFmpeg-devel] [PATCH] libavfilter/vf_delogo: add options start and stop frame number

2018-02-17 Thread Gyan Doshi
On 2/17/2018 6:23 PM, qq2225936589 wrote: +{ "f1", "set delogo start frame number",OFFSET(f1),AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INT_MAX, FLAGS }, +{ "f2", "set delogo stop frame number", OFFSET(f2),AV_OPT_TYPE_INT, { .i64 = -1 }, -1, INT_MAX, FLAGS }, This filter has

Re: [FFmpeg-devel] [PATCH] avformat/flvdec: Set broken_sizes for FlixEngine.

2018-02-17 Thread Tomas Härdin
fre 2018-02-16 klockan 15:25 -0800 skrev Nikolas Bowe: > --- >  libavformat/flvdec.c | 4 +++- >  1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c > index 0217cef842..b86451fcbf 100644 > --- a/libavformat/flvdec.c > +++

[FFmpeg-devel] [PATCH] libavfilter/vf_delogo: add options start and stop frame number

2018-02-17 Thread Dag wood
libavfilter/vf_delogo: add options start and stop frame number vf_delogo_add_options_start_and_stop_frame_number.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH 1/3] avcodec/dxtory: Remove code that corrupts dimensions

2018-02-17 Thread Michael Niedermayer
Fixes: Timeout Fixes: 5796/clusterfuzz-testcase-minimized-5206729085157376 Does someone have a valid sample that triggers this path ? Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer

[FFmpeg-devel] [PATCH 3/3] avcodec/dirac_dwt_template: Fix Integer overflow in horizontal_compose_dd137i()

2018-02-17 Thread Michael Niedermayer
Fixes: 5894/clusterfuzz-testcase-minimized-5315325420634112 Fixes: runtime error: signed integer overflow: 2147483647 + 1 cannot be represented in type 'int' Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer

[FFmpeg-devel] [PATCH 2/3] avcodec/hevcdec: Check luma/chroma_log2_weight_denom

2018-02-17 Thread Michael Niedermayer
Fixes: signed integer overflow: 3 + 2147483647 cannot be represented in type 'int' Fixes: 5888/clusterfuzz-testcase-minimized-5634701067812864 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer

[FFmpeg-devel] [PATCH 1/2] avcodec/diracdec: Use int64 in global mv to prevent overflow

2018-02-17 Thread Michael Niedermayer
Fixes: runtime error: signed integer overflow: 361 * -6295541 cannot be represented in type 'int' Fixes: 5911/clusterfuzz-testcase-minimized-6450382197751808 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer

[FFmpeg-devel] [PATCH 2/2] avcodec/jpeg2000dwt: Fix integer overflows in sr_1d53()

2018-02-17 Thread Michael Niedermayer
Fixes: 5918/clusterfuzz-testcase-minimized-5120505435652096 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/jpeg2000dwt.c | 8 1 file changed, 4 insertions(+),

Re: [FFmpeg-devel] [PATCH 1/2] libavfilter/vf_fps: Add more fate tests

2018-02-17 Thread Michael Niedermayer
On Fri, Feb 16, 2018 at 03:02:02PM -0500, Calvin Walton wrote: > These tests cover specific rounding behaviour, to ensure that I don't > introduce any regressions with the rewritten "activate" callback based > fps filter. > --- > tests/fate/filter-video.mak | 10 +- >

[FFmpeg-devel] avfilter/vf/blend : add 16 bits SIMD version for basic mode (v2)

2018-02-17 Thread Martin Vignali
Hello, New patchs in attach Limit the asm version to x86_64 tested on osx X86_64 and osx X86_32 Martin 0001-checkasm-vf_blend-add-depth-param-in-order-to-add-te.patch Description: Binary data 0002-avfilter-x86-vf_blend-reorganize-init-in-order-to-ad.patch Description: Binary data

[FFmpeg-devel] [PATCH 02/10] avformat/mxfdec: fix essence_offset calculation

2018-02-17 Thread Marton Balint
The reference point for a KAG is the first byte of the key of a Partition Pack. Fixes ticket #2817. Fixes ticket #5317. Signed-off-by: Marton Balint --- libavformat/mxfdec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/mxfdec.c

[FFmpeg-devel] [PATCH 01/10] avformat/mxfdec: fix indentation

2018-02-17 Thread Marton Balint
Signed-off-by: Marton Balint --- libavformat/mxfdec.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index 3b8d423906..fcae863ef4 100644 --- a/libavformat/mxfdec.c +++ b/libavformat/mxfdec.c

[FFmpeg-devel] [PATCH 05/10] avformat/mxfdec: use both body_sid and track_number to find the track of a packet

2018-02-17 Thread Marton Balint
In order to do that we have to parse the EssenceContainerData and assign the proper body_sid and index_sid to the tracks from the corresponding source packages. This fixes packets returned in the wrong stream for some OP1-b files. Based on a patch by Alex Mogurenko from

[FFmpeg-devel] [PATCH 04/10] avformat/mxfdec: use full UMID to resolve source package

2018-02-17 Thread Marton Balint
Signed-off-by: Marton Balint --- libavformat/mxfdec.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index 43a0220c87..4c3f2a64cb 100644 --- a/libavformat/mxfdec.c +++ b/libavformat/mxfdec.c @@ -1681,7

[FFmpeg-devel] [PATCH 03/10] avformat/mxfdec: use the first system item if available for calculating essence_offset

2018-02-17 Thread Marton Balint
Also add an additional system item key. Fixes parsing of ffmpeg-bugs/trac/ticket2817/warehouse.mxf Signed-off-by: Marton Balint --- libavformat/mxfdec.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c

[FFmpeg-devel] [PATCH 07/10] avformat/mxfdec: set index_duration from the track using the index

2018-02-17 Thread Marton Balint
Also use original_duration as index_duration is in edit units. Signed-off-by: Marton Balint --- libavformat/mxfdec.c | 21 +++-- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index

[FFmpeg-devel] [PATCH 08/10] avformat/mxfdec: use body_offset of the partitions in mxf_absolute_bodysid_offset

2018-02-17 Thread Marton Balint
Use body_offset of the partitions to search for the partition with the given offset in the essence. This makes the function find the correct partition for non frame-wrapped essences as well, where only the essence data is part of the the edit unit byte count, not the KLV-s. Signed-off-by: Marton

[FFmpeg-devel] [PATCH 09/10] avformat/mxfdec: compute sample_count after seek from index for audio streams

2018-02-17 Thread Marton Balint
This fixes audio timestamps if the audio streams are not frame wrapped with the video. Signed-off-by: Marton Balint --- libavformat/mxfdec.c | 54 ++-- 1 file changed, 48 insertions(+), 6 deletions(-) diff --git

[FFmpeg-devel] [PATCH 06/10] avformat/mxfdec: fix sorting of index segments

2018-02-17 Thread Marton Balint
Fixes ticket #5320. Signed-off-by: Marton Balint --- libavformat/mxfdec.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index 4f30877f6d..7abb047117 100644 --- a/libavformat/mxfdec.c +++

[FFmpeg-devel] [PATCH 10/10] avformat/mxfdec: always use a stream which matches the first index table when seeking

2018-02-17 Thread Marton Balint
Obviously this is still not perfect, but better then it was. Using the first index table and mxf->current_edit_unit is still hardcoded in many places, so this change has hopefully the less chance of breaking anything that works now. Signed-off-by: Marton Balint ---

Re: [FFmpeg-devel] [PATCH]lavc/exr: Ignore long names flag

2018-02-17 Thread Martin Vignali
2018-02-08 21:45 GMT+01:00 Martin Vignali : > > >> Until now, two types of files are supported: >> Files with flags==0 and files with flags&0x02. >> The specification requires that (flags&0x02) >> implies flags==2 or possibly flags==6: "if bit >> 9 is 1, bits 11 and 12

Re: [FFmpeg-devel] [PATCH] docs/codecs: remove dead codec debug options

2018-02-17 Thread Lou Logan
On Mon, Jan 15, 2018, at 5:59 AM, Gyan Doshi wrote: > Email had 1 attachment: > + 0001-docs-codecs-remove-dead-codec-debug-options.patch > 2k (text/plain) LGTM. Sorry for the delay. I'll push by Monday unless someone else wants to do so earlier. ___