[FFmpeg-devel] [PATCH] libavformat: not treat 0 as EOF

2017-10-17 Thread Daniel Kucera
transfer_func variable passed to retry_transfer_wrapper are h->prot->url_read and h->prot->url_write functions. These need to return EOF or other error properly. In case of returning >= 0, url_read/url_write is retried until error is returned. Signed-off-by: Daniel Kucera

Re: [FFmpeg-devel] [PATCH] configure: add libm ldflags globally

2017-10-17 Thread Jörn Heusipp
On 10/17/2017 03:04 AM, Carl Eugen Hoyos wrote: 2017-10-16 23:02 GMT+02:00 James Almer : and by hardcoding a -lstdc++ ldflag in configure checks we're apparently breaking detection on systems where the compiler uses libc++, like it seems to be the case with Clang on MacOS.

Re: [FFmpeg-devel] [PATCH] configure: add libm ldflags globally

2017-10-17 Thread Jörn Heusipp
On 10/17/2017 12:13 AM, Jan Ekstrom wrote: On Tue, Oct 17, 2017 at 12:38 AM, Hendrik Leppkes wrote: Perhaps such libraries shouldn't hardcode -lstdc++ in there, but dynamically put whichever C++ library they built against in there instead? Its not like you can actually

Re: [FFmpeg-devel] [PATCH] configure: add libm ldflags globally

2017-10-17 Thread Jörn Heusipp
On 10/16/2017 11:38 PM, Hendrik Leppkes wrote: On Mon, Oct 16, 2017 at 11:02 PM, James Almer wrote: The remaining issue after this patchset is applied is linking to the C++ standard library with some external deps. According to Jörn Heusipp, the libopenmpt maintainer,

[FFmpeg-devel] [PATCH] fix-build-wihout-dashenc

2017-10-17 Thread satbaby
fix build wihout dashenc From 52e82884fade468470d5dda5469a0908f66ccb80 Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Thu, 5 Oct 2017 10:34:43 +0200 Subject: [PATCH] fix build wihout dashenc --- libavformat/Makefile | 2 +- 1 file changed, 1 insertion(+), 1

Re: [FFmpeg-devel] [PATCH 1/7] Revert "Revert "lavfi/buffersrc: push the frame deeper if requested.""

2017-10-17 Thread Tobias Rapp
On 17.07.2017 16:19, Nicolas George wrote: This reverts commit 04aa09c4bcf2d5a634a35da3a3ae3fc1abe30ef8. The fate-ffm change is caused by field_order now being set on the output format because the first frame arrives earlier. The fate-mxf change is assumed to be the same. Signed-off-by:

Re: [FFmpeg-devel] [PATCH] fix-build-wihout-dashenc

2017-10-17 Thread James Almer
On 10/17/2017 4:21 AM, satb...@kawaii.com wrote: > > > fix build wihout dashenc > > > > > 0001-fix-build-wihout-dashenc.patch > > > From 52e82884fade468470d5dda5469a0908f66ccb80 Mon Sep 17 00:00:00 2001 > From: Jacek Jendrzej > Date: Thu, 5 Oct 2017 10:34:43 +0200 >

Re: [FFmpeg-devel] [PATCH] libavdevice/decklink: 32 bit audio support

2017-10-17 Thread Dave Rice
Hi Paul, > On Oct 16, 2017, at 3:56 PM, Paul B Mahol wrote: > > On 10/16/17, Dave Rice > wrote: >> Hi, >> >> I tested this with my Ultrastudio Express and confirmed that I'm getting >> higher bit depth recordings with the abitscope

Re: [FFmpeg-devel] [PATCH] Fix for paletteuse to support transparency

2017-10-17 Thread Bjorn Roche
On Mon, Oct 16, 2017 at 9:16 PM, Carl Eugen Hoyos wrote: > 2017-10-10 23:41 GMT+02:00 Bjorn Roche : > > > +{ "trans_threshold", "set the threshold for alpha values avoce > which they are considered completely opaque", OFFSET(trans_thresh), >

Re: [FFmpeg-devel] [PATCH] doc/filters: Add note on Flite thread safety and update URL

2017-10-17 Thread Moritz Barsnick
On Mon, Oct 09, 2017 at 11:19:45 +0530, Gyan Doshi wrote: > Version 2 of Flite, a speech synthesis library, was released towards the > end of 2014. Among the notes at the project site: "Thread safe (really > this time)". BTW, I have a patch flying around for support of flite 1.3. ffmpeg

Re: [FFmpeg-devel] [PATCH] libavdevice/decklink: 32 bit audio support

2017-10-17 Thread Moritz Barsnick
On Tue, Oct 17, 2017 at 09:22:27 -0400, Dave Rice wrote: > >> --- a/libavdevice/decklink_dec_c.c > >> +++ b/libavdevice/decklink_dec_c.c > >> @@ -72,6 +72,7 @@ static const AVOption options[] = { > >> { "wallclock", NULL, 0, > >> AV_OPT_TYPE_CONST,

Re: [FFmpeg-devel] [PATCH] libavdevice/decklink: 32 bit audio support

2017-10-17 Thread Dave Rice
Hi Moritz, > On Oct 17, 2017, at 10:40 AM, Moritz Barsnick wrote: > > On Tue, Oct 17, 2017 at 09:22:27 -0400, Dave Rice wrote: --- a/libavdevice/decklink_dec_c.c +++ b/libavdevice/decklink_dec_c.c @@ -72,6 +72,7 @@ static const AVOption options[] = { {

Re: [FFmpeg-devel] [PATCH] libavdevice/decklink: 32 bit audio support

2017-10-17 Thread Moritz Barsnick
On Tue, Oct 17, 2017 at 11:12:46 -0400, Dave Rice wrote: > Thanks for pointing me in the right direction. I am attaching an > updated patch below; however, after removing my 16/32 and using the > enumeration method (with the patch below), it accepts any value > between AUDIO_BITDEPTH_LOWEST and

Re: [FFmpeg-devel] [PATCH] libavdevice/decklink: 32 bit audio support

2017-10-17 Thread Paul B Mahol
On 10/17/17, Moritz Barsnick wrote: > On Tue, Oct 17, 2017 at 11:12:46 -0400, Dave Rice wrote: > >> Thanks for pointing me in the right direction. I am attaching an >> updated patch below; however, after removing my 16/32 and using the >> enumeration method (with the patch

Re: [FFmpeg-devel] [PATCH] doc/filters: Add note on Flite thread safety and update URL

2017-10-17 Thread Gyan Doshi
On 10/9/2017 11:19 AM, Gyan Doshi wrote: Version 2 of Flite, a speech synthesis library, was released towards the end of 2014. Among the notes at the project site: "Thread safe (really this time)". Docs and project URL updated accordingly. Ping.

[FFmpeg-devel] [PATCH] avformat/http: use assignment of structure instead of memcpy

2017-10-17 Thread Zhao Zhili
--- libavformat/http.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/libavformat/http.c b/libavformat/http.c index 668cd51986..63dfd51117 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -173,12 +173,10 @@ static int http_read_header(URLContext *h, int

[FFmpeg-devel] [PATCH] avformat/dv : change audio format endianess to BE

2017-10-17 Thread Александр Слободенюк
Hello again! I have checked (updated and fixed) the patch on BE machine (qemu-mips with BE linux kernel, lscpu shows big endian): the CRCs of the sound are the same: (first link was get directly from http://www.mediafire.com/file/8agcdgs2f9kqlbi/submarine.dv) wget

Re: [FFmpeg-devel] [PATCH] libavdevice/decklink: 32 bit audio support

2017-10-17 Thread Dave Rice
> On Oct 17, 2017, at 11:48 AM, Paul B Mahol wrote: > > On 10/17/17, Moritz Barsnick wrote: >> On Tue, Oct 17, 2017 at 11:12:46 -0400, Dave Rice wrote: >> >>> Thanks for pointing me in the right direction. I am attaching an >>> updated patch below; however,

[FFmpeg-devel] [PATCH] fateserver/log: clean chars in slot, time and log

2017-10-17 Thread Michael Niedermayer
Fixes: Directory Traversal Found-by: Pankaj Jadhav Signed-off-by: Michael Niedermayer --- log.cgi | 4 1 file changed, 4 insertions(+) diff --git a/log.cgi b/log.cgi index d5d2abb..8767e3a 100755 --- a/log.cgi +++ b/log.cgi @@ -22,7 +22,11 @@

[FFmpeg-devel] [PATCH] avcodec/v4l2: fix access to priv_data after codec close.

2017-10-17 Thread Jorge Ramirez-Ortiz
A user can close the codec while keeping references to some of the capture buffers. When the codec is closed, the structure that keeps the contexts, state and the driver file descriptor is freed. Since access to some of the elements in that structure is required to properly release the memory

Re: [FFmpeg-devel] [PATCH 1/7] Revert "Revert "lavfi/buffersrc: push the frame deeper if requested.""

2017-10-17 Thread Nicolas George
Le sextidi 26 vendémiaire, an CCXXVI, Tobias Rapp a écrit : > This commit seems to break transcoding of some input files on machines with > a lot of CPU cores. See attached script that reproduces the problem > ("-threads 32" is used to simulate the situation of a multi-core CPU). > > Sorry for

Re: [FFmpeg-devel] [PATCH 2/7] decode: add a method for attaching lavc-internal data to frames

2017-10-17 Thread Thilo Borgmann
Am 17.10.17 um 20:27 schrieb wm4: > On Tue, 17 Oct 2017 20:23:25 +0200 > Thilo Borgmann wrote: > >> Am 17.10.17 um 06:49 schrieb wm4: >>> I have realized that your veto is actually not valid: >>> - it's a Libav merge >>> - it has been for months in the Libav repo and you

Re: [FFmpeg-devel] [PATCH 2/7] decode: add a method for attaching lavc-internal data to frames

2017-10-17 Thread Timo Rothenpieler
Am 17.10.2017 um 20:37 schrieb Thilo Borgmann: Am 17.10.17 um 20:27 schrieb wm4: On Tue, 17 Oct 2017 20:23:25 +0200 Thilo Borgmann wrote: Am 17.10.17 um 06:49 schrieb wm4: I have realized that your veto is actually not valid: - it's a Libav merge - it has been for

Re: [FFmpeg-devel] decklink 24/32 bit question

2017-10-17 Thread Douglas Marsh
On 2017-10-17 11:59, Moritz Barsnick wrote: Did you check out Dave Rice's recent patch (on this list)? It touches code in a few more places, and adds an option to select 16 vs. 32 bits. Please test, if you can. Is your subject indicating that 24 bits depth could also be supported? If so, Dave

Re: [FFmpeg-devel] decklink 24/32 bit question

2017-10-17 Thread Moritz Barsnick
Hi Doug, On Tue, Oct 03, 2017 at 20:39:49 -0700, Douglas Marsh wrote: > After digging around in places, made the following changes: [...] > It doesn't work (the audio capture is close but wrong), but believe it > is a step in the correct direction. Anybody have a clue? Saw several > names in

Re: [FFmpeg-devel] decklink 24/32 bit question

2017-10-17 Thread Dave Rice
> On Oct 17, 2017, at 2:59 PM, Moritz Barsnick wrote: > > Hi Doug, > > On Tue, Oct 03, 2017 at 20:39:49 -0700, Douglas Marsh wrote: >> After digging around in places, made the following changes: > [...] >> It doesn't work (the audio capture is close but wrong), but believe it

Re: [FFmpeg-devel] [PATCH 2/7] decode: add a method for attaching lavc-internal data to frames

2017-10-17 Thread Thilo Borgmann
Am 17.10.17 um 06:49 schrieb wm4: > I have realized that your veto is actually not valid: > - it's a Libav merge > - it has been for months in the Libav repo and you didn't specifically > care, nor did you make an attempt to merge the commit in a "fixed" way > - this patch would have been merged

Re: [FFmpeg-devel] [PATCH 2/7] decode: add a method for attaching lavc-internal data to frames

2017-10-17 Thread wm4
On Tue, 17 Oct 2017 20:23:25 +0200 Thilo Borgmann wrote: > Am 17.10.17 um 06:49 schrieb wm4: > > I have realized that your veto is actually not valid: > > - it's a Libav merge > > - it has been for months in the Libav repo and you didn't specifically > > care, nor did

Re: [FFmpeg-devel] [PATCH] libavdevice/decklink: 32 bit audio support

2017-10-17 Thread Douglas Marsh
On 2017-10-17 06:22, Dave Rice wrote: I don't see there to be an AV_OPT_TYPE_ENUM. Could you point out how this works from an example? Alternatively since the decklink sdk only supports 2 bit depths (16 and 32), I could use a boolean here if that makes more sense. Dave Rice I am unsure about

Re: [FFmpeg-devel] [PATCH 03/20] lavc: Add coded bitstream read/write API

2017-10-17 Thread Michael Niedermayer
On Sun, Oct 15, 2017 at 04:04:30PM +0100, Mark Thompson wrote: > (cherry picked from commit 18f1706f331bf5dd565774eae680508c8d3a97ad) > (cherry picked from commit 44cde38c8acbef7d5250e6d1b52b1020871e093b) > --- > configure | 1 + > libavcodec/Makefile | 1 + >

Re: [FFmpeg-devel] [PATCH] avcodec/v4l2: fix access to priv_data after codec close.

2017-10-17 Thread wm4
On Tue, 17 Oct 2017 19:20:50 +0200 Jorge Ramirez-Ortiz wrote: > A user can close the codec while keeping references to some of the > capture buffers. When the codec is closed, the structure that keeps > the contexts, state and the driver file descriptor is freed.

Re: [FFmpeg-devel] [PATCH] avcodec/v4l2: fix access to priv_data after codec close.

2017-10-17 Thread Jorge Ramirez
On 10/17/2017 08:25 PM, wm4 wrote: On Tue, 17 Oct 2017 19:20:50 +0200 Jorge Ramirez-Ortiz wrote: A user can close the codec while keeping references to some of the capture buffers. When the codec is closed, the structure that keeps the contexts, state and the

Re: [FFmpeg-devel] [PATCH 2/7] decode: add a method for attaching lavc-internal data to frames

2017-10-17 Thread Thilo Borgmann
Am 17.10.17 um 20:37 schrieb Thilo Borgmann: > Am 17.10.17 um 20:27 schrieb wm4: >> On Tue, 17 Oct 2017 20:23:25 +0200 >> Thilo Borgmann wrote: >> >>> Am 17.10.17 um 06:49 schrieb wm4: I have realized that your veto is actually not valid: - it's a Libav merge

Re: [FFmpeg-devel] [PATCH] libavdevice/decklink: 32 bit audio support

2017-10-17 Thread Douglas Marsh
On 2017-10-17 09:10, Dave Rice wrote: -audio_depth .D.. audio bitdepth (from 0 to 1) (default 16bits) 16bits .D.. Hmm, first patch might be enough. Sounds good to me. Unless anyone prefers "-audio_depth thirtytwo" :-D Dave Rice Yeah

Re: [FFmpeg-devel] [FFmpeg-cvslog] lavf/cafenc: Allow muxing opus.

2017-10-17 Thread James Almer
> ffmpeg | branch: master | Carl Eugen Hoyos > | Tue Oct 17 21:35:28 > 2017 +0200| [a3accd0c3768933f15422c9dec596da0f436d786] | committer: Carl > Eugen Hoyos > > lavf/cafenc: Allow muxing opus. > > QuickTime does not require the (unknown) kuki

Re: [FFmpeg-devel] [PATCH] libavformat: not treat 0 as EOF

2017-10-17 Thread Michael Niedermayer
On Tue, Oct 17, 2017 at 10:29:30AM +0200, Daniel Kucera wrote: > transfer_func variable passed to retry_transfer_wrapper > are h->prot->url_read and h->prot->url_write functions. > These need to return EOF or other error properly. > In case of returning >= 0, url_read/url_write is retried > until

Re: [FFmpeg-devel] [PATCH 00/20] Coded bitstream editing (v4)

2017-10-17 Thread Mark Thompson
On 15/10/17 16:04, Mark Thompson wrote: > Incorporating fixes since the last full set: > * SEI user data added in the first access unit whether or not it contains > parameter sets. > * Fix crash when closing uninitialised cbs instance. > * Miscellaneous documentation changes. And applied. Thank

Re: [FFmpeg-devel] decklink 24/32 bit question

2017-10-17 Thread Devin Heitmueller
> > The decklink sdk only defines two BMDAudioSampleType values: > bmdAudioSampleType16bitInteger and bmdAudioSampleType32bitInteger. I don't > think there's an easy way to support a 24 bit input here. Generally in this > case I've used bmdAudioSampleType32bitInteger and then encode it at

[FFmpeg-devel] [PATCH]lavfi/palettegen: Allow setting the background colour

2017-10-17 Thread Carl Eugen Hoyos
Hi! Attached patch is useful in combination with the transparency patch for paletteuse. Please comment, Carl Eugen From fc1c562748b2f7bb518df9feaa91482757ae9625 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Tue, 17 Oct 2017 23:39:59 +0200 Subject: [PATCH]

Re: [FFmpeg-devel] [PATCH] Fix for paletteuse to support transparency

2017-10-17 Thread Carl Eugen Hoyos
2017-10-18 0:20 GMT+02:00 Bjorn Roche : > On Tue, Oct 17, 2017 at 5:27 PM, Carl Eugen Hoyos > wrote: >> Remaining comment is: >> The paletteuse filter does not work correctly on big-endian >> (my guess is the code makes wrong assumptions about the >> palette

Re: [FFmpeg-devel] [PATCH 6/9] opusenc: Fix double-declaration of variable

2017-10-17 Thread Rostislav Pehlivanov
On 17 October 2017 at 22:12, Mark Thompson wrote: > --- > libavcodec/opusenc_psy.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/libavcodec/opusenc_psy.c b/libavcodec/opusenc_psy.c > index b446d41f75..1b108ecb87 100644 > --- a/libavcodec/opusenc_psy.c > +++

Re: [FFmpeg-devel] [FFmpeg-cvslog] lavf/cafenc: Allow muxing opus.

2017-10-17 Thread James Almer
On 10/17/2017 6:20 PM, Carl Eugen Hoyos wrote: > 2017-10-17 22:20 GMT+02:00 James Almer : >>> ffmpeg | branch: master | Carl Eugen Hoyos >> > | Tue Oct 17 21:35:28 >>> 2017 +0200| [a3accd0c3768933f15422c9dec596da0f436d786] |

[FFmpeg-devel] [PATCH 6/7] hlsenc: Fix creation of final directory in path

2017-10-17 Thread Mark Thompson
Fixes #6752. --- libavformat/hlsenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 418f153c6f..eba3aef567 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -207,7 +207,7 @@ static int mkdir_p(const char *path)

[FFmpeg-devel] [PATCH 5/7] mxfdec: Fix return value check

2017-10-17 Thread Mark Thompson
Move the assignment out of the condition, because that was hiding the error. Fixes #6750. --- libavformat/mxfdec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index 118e3e40b4..e4019ac0a7 100644 --- a/libavformat/mxfdec.c +++

[FFmpeg-devel] [PATCH 4/7] xfacedec: Fix possible overread

2017-10-17 Thread Mark Thompson
Fixes #6745. --- libavcodec/xfacedec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/xfacedec.c b/libavcodec/xfacedec.c index d045cb6ef4..ab4c0823f5 100644 --- a/libavcodec/xfacedec.c +++ b/libavcodec/xfacedec.c @@ -123,7 +123,7 @@ static int

[FFmpeg-devel] [PATCH 2/7] nutdec: Fix repeated condition

2017-10-17 Thread Mark Thompson
Fixes #6742. --- libavformat/nutdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c index 27440c88d4..9910ffe936 100644 --- a/libavformat/nutdec.c +++ b/libavformat/nutdec.c @@ -582,7 +582,7 @@ static int

[FFmpeg-devel] [PATCH 7/7] signature_lookup: Fix operator precedence error

2017-10-17 Thread Mark Thompson
Fixes #6754. --- This looks like it was rather broken before if the condition is ever meant to be false? libavfilter/signature_lookup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/signature_lookup.c b/libavfilter/signature_lookup.c index

[FFmpeg-devel] [PATCH 3/7] vorbis: Reorder conditions to avoid possible overread

2017-10-17 Thread Mark Thompson
This can trigger a single-byte overread if the codebook has the maximum number of entries. Fixes #6743. --- libavcodec/vorbis.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/vorbis.c b/libavcodec/vorbis.c index 399020eec5..ce23b947f0 100644 ---

Re: [FFmpeg-devel] [PATCH] Fix for paletteuse to support transparency

2017-10-17 Thread Bjorn Roche
On Tue, Oct 17, 2017 at 5:27 PM, Carl Eugen Hoyos wrote: > 2017-10-17 3:16 GMT+02:00 Carl Eugen Hoyos : > > 2017-10-10 23:41 GMT+02:00 Bjorn Roche : > > > >> +{ "trans_threshold", "set the threshold for alpha values avoce > which they

[FFmpeg-devel] [PATCH 1/7] vf_cover_rect: Fix repeated condition

2017-10-17 Thread Mark Thompson
Fixes #6741. --- libavfilter/vf_cover_rect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_cover_rect.c b/libavfilter/vf_cover_rect.c index f7f61038e3..41cd1a12b9 100644 --- a/libavfilter/vf_cover_rect.c +++ b/libavfilter/vf_cover_rect.c @@ -152,7 +152,7 @@

Re: [FFmpeg-devel] [PATCH] avcodec/v4l2: fix access to priv_data after codec close.

2017-10-17 Thread Mark Thompson
On 17/10/17 18:20, Jorge Ramirez-Ortiz wrote: > A user can close the codec while keeping references to some of the > capture buffers. When the codec is closed, the structure that keeps > the contexts, state and the driver file descriptor is freed. > > Since access to some of the elements in that

Re: [FFmpeg-devel] [PATCH 3/7] vorbis: Reorder conditions to avoid possible overread

2017-10-17 Thread Rostislav Pehlivanov
On 17 October 2017 at 23:11, Mark Thompson wrote: > This can trigger a single-byte overread if the codebook has the maximum > number of entries. > > Fixes #6743. > --- > libavcodec/vorbis.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git

[FFmpeg-devel] [PATCH v2] frame: add an av_frame_new_side_data_from_buf function

2017-10-17 Thread Rostislav Pehlivanov
Signed-off-by: Rostislav Pehlivanov --- libavutil/frame.c | 38 -- libavutil/frame.h | 13 + 2 files changed, 33 insertions(+), 18 deletions(-) diff --git a/libavutil/frame.c b/libavutil/frame.c index d5fd2932e3..b5a2b2f842

[FFmpeg-devel] [PATCH 7/9] hevc: Fix aligned array declarations

2017-10-17 Thread Mark Thompson
(cherry picked from commit d41e10c1485ec34aa342f7bc2e5bf4f9b6e66414) --- This and the following patches were found with the TI ARM compiler. libavcodec/hevcdsp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/hevcdsp.c b/libavcodec/hevcdsp.c index

[FFmpeg-devel] [PATCH 2/9] apngenc: Add missing error check

2017-10-17 Thread Mark Thompson
--- libavformat/apngenc.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/libavformat/apngenc.c b/libavformat/apngenc.c index 77c1c916c2..16ead54cc8 100644 --- a/libavformat/apngenc.c +++ b/libavformat/apngenc.c @@ -217,8 +217,12 @@ static int

[FFmpeg-devel] [PATCH 8/9] cinepakenc: Move declaration out of for initialisation statement

2017-10-17 Thread Mark Thompson
(cherry picked from commit 92f0aceb36c6e4412d4cf346e70dc74b5a4069e9) --- libavcodec/cinepakenc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/cinepakenc.c b/libavcodec/cinepakenc.c index a28f669070..330c8827d1 100644 --- a/libavcodec/cinepakenc.c +++

[FFmpeg-devel] [PATCH 9/9] movtextdec: Move declaration out of for initialisation statement

2017-10-17 Thread Mark Thompson
--- libavcodec/movtextdec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/movtextdec.c b/libavcodec/movtextdec.c index fb5085c3e8..bd19577724 100644 --- a/libavcodec/movtextdec.c +++ b/libavcodec/movtextdec.c @@ -436,6 +436,7 @@ static int

[FFmpeg-devel] [PATCH 6/9] opusenc: Fix double-declaration of variable

2017-10-17 Thread Mark Thompson
--- libavcodec/opusenc_psy.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavcodec/opusenc_psy.c b/libavcodec/opusenc_psy.c index b446d41f75..1b108ecb87 100644 --- a/libavcodec/opusenc_psy.c +++ b/libavcodec/opusenc_psy.c @@ -370,7 +370,6 @@ static int celt_search_for_tf(OpusPsyContext

[FFmpeg-devel] [PATCH 3/9] gif: Add missing error check

2017-10-17 Thread Mark Thompson
--- libavformat/gif.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/libavformat/gif.c b/libavformat/gif.c index 01d98a27b0..3336152c06 100644 --- a/libavformat/gif.c +++ b/libavformat/gif.c @@ -174,8 +174,12 @@ static int flush_packet(AVFormatContext *s, AVPacket

[FFmpeg-devel] [PATCH 5/9] wtvenc: Add missing error check

2017-10-17 Thread Mark Thompson
--- libavformat/wtvenc.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libavformat/wtvenc.c b/libavformat/wtvenc.c index 4a68b8133f..d4a08dda61 100644 --- a/libavformat/wtvenc.c +++ b/libavformat/wtvenc.c @@ -462,12 +462,15 @@ static int write_packet(AVFormatContext

[FFmpeg-devel] [PATCH 1/9] lavc: Mark functions where ignoring returned error code is always wrong

2017-10-17 Thread Mark Thompson
--- libavcodec/avcodec.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 18c3e3ea1e..8fc2f6920e 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -4492,6 +4492,7 @@ int avcodec_parameters_to_context(AVCodecContext

Re: [FFmpeg-devel] [FFmpeg-cvslog] lavf/cafenc: Allow muxing opus.

2017-10-17 Thread Carl Eugen Hoyos
2017-10-17 22:20 GMT+02:00 James Almer : >> ffmpeg | branch: master | Carl Eugen Hoyos > > | Tue Oct 17 21:35:28 >> 2017 +0200| [a3accd0c3768933f15422c9dec596da0f436d786] | committer: Carl >> Eugen Hoyos >> >> lavf/cafenc:

Re: [FFmpeg-devel] [PATCH] Fix for paletteuse to support transparency

2017-10-17 Thread Carl Eugen Hoyos
2017-10-17 3:16 GMT+02:00 Carl Eugen Hoyos : > 2017-10-10 23:41 GMT+02:00 Bjorn Roche : > >> +{ "trans_threshold", "set the threshold for alpha values avoce which >> they are considered completely opaque", OFFSET(trans_thresh), >> AV_OPT_TYPE_INT,

[FFmpeg-devel] [PATCH 4/9] webpenc: Add missing error check

2017-10-17 Thread Mark Thompson
--- libavformat/webpenc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavformat/webpenc.c b/libavformat/webpenc.c index 9fb472257d..d1ebb5fbe5 100644 --- a/libavformat/webpenc.c +++ b/libavformat/webpenc.c @@ -158,7 +158,9 @@ static int

Re: [FFmpeg-devel] [mov] When both edit list and start padding present, take maximum.

2017-10-17 Thread Michael Niedermayer
On Mon, Oct 16, 2017 at 02:22:45PM -0700, Dale Curtis wrote: > Previously the start padding was used to blindly overwrite any skip samples > which may have come from an edit list. Instead take the maximum of the two. > > A new fate test is added, fate-mov-440hz-10ms, to ensure this is handled >

Re: [FFmpeg-devel] [FFmpeg-cvslog] lavf/cafenc: Allow muxing opus.

2017-10-17 Thread Carl Eugen Hoyos
2017-10-17 23:48 GMT+02:00 James Almer : > On 10/17/2017 6:20 PM, Carl Eugen Hoyos wrote: >> 2017-10-17 22:20 GMT+02:00 James Almer : ffmpeg | branch: master | Carl Eugen Hoyos >>> > | Tue Oct 17 21:35:28

Re: [FFmpeg-devel] [PATCH] doc/filters: Add note on Flite thread safety and update URL

2017-10-17 Thread Michael Niedermayer
On Mon, Oct 09, 2017 at 11:19:45AM +0530, Gyan Doshi wrote: > Version 2 of Flite, a speech synthesis library, was released towards > the end of 2014. Among the notes at the project site: "Thread safe > (really this time)". > > Docs and project URL updated accordingly. > filters.texi |4 ++--

[FFmpeg-devel] [PATCH] avcodec/cfhd: support cropped height tag

2017-10-17 Thread James Almer
Ported from libav. Authored by one of the following: Anton Khirnov Diego Biurrun Vittorio Giovara Signed-off-by: James Almer --- libavcodec/cfhd.c | 6 ++ libavcodec/cfhd.h | 1 + 2 files changed, 7

Re: [FFmpeg-devel] [FFmpeg-cvslog] lavf/cafenc: Allow muxing opus.

2017-10-17 Thread James Almer
On 10/17/2017 10:10 PM, Carl Eugen Hoyos wrote: > 2017-10-17 23:48 GMT+02:00 James Almer : >> On 10/17/2017 6:20 PM, Carl Eugen Hoyos wrote: >>> 2017-10-17 22:20 GMT+02:00 James Almer : > ffmpeg | branch: master | Carl Eugen Hoyos

Re: [FFmpeg-devel] [PATCH 1/1] lavc: add support for OpenJPEG 2.3.0

2017-10-17 Thread James Almer
On 10/6/2017 10:26 PM, James Almer wrote: > On 10/6/2017 1:26 PM, Michael Bradshaw wrote: >> On Thu, Oct 5, 2017 at 9:55 AM, James Almer wrote: >> >>> On 10/5/2017 10:45 AM, Michael Bradshaw wrote: From: Michael Bradshaw Signed-off-by: