Re: [FFmpeg-devel] [PATCH] configure: fix convoluted shlib code

2015-01-08 Thread Michael Niedermayer
On Sun, Dec 21, 2014 at 12:24:08PM +0100, Michael Niedermayer wrote: Fixes Ticket 4199 Signed-off-by: Michael Niedermayer michae...@gmx.at patch applied [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB During times of universal deceit, telling the truth

Re: [FFmpeg-devel] [PATCH] lavfi: Port mp=pp7 to libavfilter

2015-01-08 Thread arwa arif
On Fri, Jan 9, 2015 at 12:27 AM, Michael Niedermayer michae...@gmx.at wrote: On Thu, Jan 08, 2015 at 04:03:18PM +0100, Michael Niedermayer wrote: On Thu, Jan 08, 2015 at 07:32:51PM +0530, arwa arif wrote: On Thu, Jan 8, 2015 at 7:23 PM, Michael Niedermayer michae...@gmx.at wrote:

[FFmpeg-devel] [PATCH] vp9: fix parser return values in error case

2015-01-08 Thread wm4
The parser must always set the out_size and out_data pointers. The API seems to require it, and the common code in parser.c also relies on it. --- Found with a fuzzed file provided by someone else. --- libavcodec/vp9_parser.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [FFmpeg-devel] [PATCH] avutil/opencl: don't include config.h

2015-01-08 Thread Thilo Borgmann
Am 08.01.15 17:43, schrieb James Almer: On 08/01/15 4:52 AM, Wei Gao wrote: 2015-01-08 10:10 GMT+08:00 James Almer jamr...@gmail.com: On 07/01/15 10:55 PM, Wei Gao wrote: 2015-01-08 8:42 GMT+08:00 Michael Niedermayer michae...@gmx.at: On Wed, Jan 07, 2015 at 05:44:41PM -0300, James Almer

[FFmpeg-devel] [PATCH] ffmpeg: allow overriding and amending AVStream-disposition

2015-01-08 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer michae...@gmx.at --- ffmpeg.c | 32 ffmpeg.h |3 +++ ffmpeg_opt.c |6 ++ 3 files changed, 41 insertions(+) diff --git a/ffmpeg.c b/ffmpeg.c index 840c621..bea61b0 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@

Re: [FFmpeg-devel] [PATCH] ffmpeg: allow overriding and amending AVStream-disposition

2015-01-08 Thread Nicolas George
Le nonidi 19 nivôse, an CCXXIII, Michael Niedermayer a écrit : + { default , ... { .i64 = AV_DISPOSITION_DEFAULT }, ... + { dub , ... { .i64 = AV_DISPOSITION_DUB }, ... + { original , ... { .i64 = AV_DISPOSITION_ORIGINAL}, ... snip That makes the third copy of this flag↔string

Re: [FFmpeg-devel] [PATCH] libavformat matroskaenc : Enable manual setting of disposition:default tag

2015-01-08 Thread Michael Niedermayer
On Thu, Jan 08, 2015 at 03:02:15PM +0100, Elian FARAJ wrote: Hi folks, In Matroska specifications you can set a stream as default stream using the metadata tag disposition:default. If there is no value, default value is 1, implying the stream is default (...by default). Ffmpeg currently

Re: [FFmpeg-devel] [PATCH] avformat/aiffdec: improve readability

2015-01-08 Thread Michael Niedermayer
On Fri, Jan 09, 2015 at 10:09:04AM +1100, Peter Ross wrote: Signed-off-by: Peter Ross pr...@xvid.org --- Thanks Reimar. libavformat/aiffdec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) applied thx [...] -- Michael GnuPG fingerprint:

Re: [FFmpeg-devel] [PATCH] libavformat matroskaenc : Enable manual setting of disposition:default tag

2015-01-08 Thread Elian FARAJ
Thanks for the reply. I'm rather curious, were you developing this for a long time or did you want to add it after my low-quality patch ? Anyway thanks a lot for this patch, I don't have the level required to understand it fully but it seems to be a nice add. Le 08/01/2015 23:04, Michael

Re: [FFmpeg-devel] [PATCH] ffmpeg: allow overriding and amending AVStream-disposition

2015-01-08 Thread Michael Niedermayer
On Thu, Jan 08, 2015 at 11:09:14PM +0100, Nicolas George wrote: Le nonidi 19 nivôse, an CCXXIII, Michael Niedermayer a écrit : + { default , ... { .i64 = AV_DISPOSITION_DEFAULT }, ... + { dub , ... { .i64 = AV_DISPOSITION_DUB }, ... + { original , ... { .i64 =

Re: [FFmpeg-devel] [PATCH] libavformat matroskaenc : Enable manual setting of disposition:default tag

2015-01-08 Thread Michael Niedermayer
On Thu, Jan 08, 2015 at 11:22:06PM +0100, Elian FARAJ wrote: Thanks for the reply. I'm rather curious, were you developing this for a long time or did you want to add it after my low-quality patch ? i saw your patch and didnt see a way to set disposition, and your patch was specific to just

[FFmpeg-devel] [PATCH] avformat/aiffdec: improve readability

2015-01-08 Thread Peter Ross
Signed-off-by: Peter Ross pr...@xvid.org --- Thanks Reimar. libavformat/aiffdec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavformat/aiffdec.c b/libavformat/aiffdec.c index 8dbed32..301d90f 100644 --- a/libavformat/aiffdec.c +++ b/libavformat/aiffdec.c @@

Re: [FFmpeg-devel] Unable to transcode audio from broadcast ts stream

2015-01-08 Thread tim nicholson
On 08/01/15 06:58, William Juwono wrote: Hi, I am having problem transcoding the audio of the following file. This is captured from broadcast ts stream.http://www.datafilehost.com/d/cb3d03be If I use acodec copy, the resulting audio played fine, however, if I transcode to other formats, ie:

Re: [FFmpeg-devel] [PATCH] lavfi: Port mp=pp7 to libavfilter

2015-01-08 Thread arwa arif
On Wed, Jan 7, 2015 at 9:46 PM, Michael Niedermayer michae...@gmx.at wrote: On Wed, Jan 07, 2015 at 03:42:16PM +0100, Stefano Sabatini wrote: On date Wednesday 2015-01-07 19:14:49 +0530, arwa arif encoded: Keep in mind that the difference may be due to the QP information

Re: [FFmpeg-devel] [PATCH] libavformat/mxfdec.c: export the full UMID as metadata

2015-01-08 Thread tim nicholson
On 06/01/15 19:01, Mark Reid wrote: On Tue, Jan 6, 2015 at 12:03 AM, tim nicholson nichot20-at-yahoo@ffmpeg.org wrote: On 05/01/15 20:41, Mark Reid wrote: Hi, This patch exports the full umid of packages as metadata. ffmpeg currently only exports the material number portion of the

Re: [FFmpeg-devel] [PATCH] lavfi: Port mp=pp7 to libavfilter

2015-01-08 Thread Michael Niedermayer
On Thu, Jan 08, 2015 at 01:43:24PM +0530, arwa arif wrote: On Wed, Jan 7, 2015 at 9:46 PM, Michael Niedermayer michae...@gmx.at wrote: On Wed, Jan 07, 2015 at 03:42:16PM +0100, Stefano Sabatini wrote: On date Wednesday 2015-01-07 19:14:49 +0530, arwa arif encoded: Keep in

Re: [FFmpeg-devel] [PATCH] lavfi: Port mp=pp7 to libavfilter

2015-01-08 Thread arwa arif
On Thu, Jan 8, 2015 at 7:23 PM, Michael Niedermayer michae...@gmx.at wrote: On Thu, Jan 08, 2015 at 01:43:24PM +0530, arwa arif wrote: On Wed, Jan 7, 2015 at 9:46 PM, Michael Niedermayer michae...@gmx.at wrote: On Wed, Jan 07, 2015 at 03:42:16PM +0100, Stefano Sabatini wrote: On

[FFmpeg-devel] FOSDEM 2015 airport transfer

2015-01-08 Thread Rémi Denis-Courmont
Hello all, Those of you going to/from FOSDEM via Brussels National / Zaventem airport, I strongly recommend that you buy train tickets to the city center online: http://www.sncb.be/ If you make the return trip between Friday 19:00 and Sunday 24:00, you can pay for the WEEKEND INTERNET

[FFmpeg-devel] [PATCH] libavformat matroskaenc : Enable manual setting of disposition:default tag

2015-01-08 Thread Elian FARAJ
Hi folks, In Matroska specifications you can set a stream as default stream using the metadata tag disposition:default. If there is no value, default value is 1, implying the stream is default (...by default). Ffmpeg currently supports this but only when there are default/non default streams

Re: [FFmpeg-devel] [PATCH] lavfi: Port mp=pp7 to libavfilter

2015-01-08 Thread Michael Niedermayer
On Thu, Jan 08, 2015 at 07:32:51PM +0530, arwa arif wrote: On Thu, Jan 8, 2015 at 7:23 PM, Michael Niedermayer michae...@gmx.at wrote: On Thu, Jan 08, 2015 at 01:43:24PM +0530, arwa arif wrote: On Wed, Jan 7, 2015 at 9:46 PM, Michael Niedermayer michae...@gmx.at wrote: On Wed,

Re: [FFmpeg-devel] [PATCH] avutil/opencl: don't include config.h

2015-01-08 Thread James Almer
On 08/01/15 4:52 AM, Wei Gao wrote: 2015-01-08 10:10 GMT+08:00 James Almer jamr...@gmail.com: On 07/01/15 10:55 PM, Wei Gao wrote: 2015-01-08 8:42 GMT+08:00 Michael Niedermayer michae...@gmx.at: On Wed, Jan 07, 2015 at 05:44:41PM -0300, James Almer wrote: On 06/01/15 11:27 PM, Michael

Re: [FFmpeg-devel] [PATCH] avcodec/dvdsubdec: fix accessing dangling pointers

2015-01-08 Thread Michael Niedermayer
On Thu, Jan 08, 2015 at 05:19:17PM +0100, wm4 wrote: dvdsub_decode() can call append_to_cached_buf() 2 times, the second time with ctx-buf as argument. If the second append_to_cached_buf() reallocs ctx-buf, the argument will be a pointer to the previous, freed block. This can cause invalid

[FFmpeg-devel] [PATCH] avcodec/dvdsubdec: fix accessing dangling pointers

2015-01-08 Thread wm4
dvdsub_decode() can call append_to_cached_buf() 2 times, the second time with ctx-buf as argument. If the second append_to_cached_buf() reallocs ctx-buf, the argument will be a pointer to the previous, freed block. This can cause invalid reads at least with some fuzzed files - and possibly with

Re: [FFmpeg-devel] [PATCH] lavfi: Port mp=pp7 to libavfilter

2015-01-08 Thread Michael Niedermayer
On Thu, Jan 08, 2015 at 04:03:18PM +0100, Michael Niedermayer wrote: On Thu, Jan 08, 2015 at 07:32:51PM +0530, arwa arif wrote: On Thu, Jan 8, 2015 at 7:23 PM, Michael Niedermayer michae...@gmx.at wrote: On Thu, Jan 08, 2015 at 01:43:24PM +0530, arwa arif wrote: On Wed, Jan 7, 2015

Re: [FFmpeg-devel] [PATCH v2] libavformat/mxfdec.c: support demuxing opatom audio without index

2015-01-08 Thread Clément Bœsch
On Wed, Jan 07, 2015 at 10:31:41AM -0800, Mark Reid wrote: [...] +segment = av_mallocz(sizeof(MXFIndexTableSegment)); sizeof(*segment)? +if (!segment) { +av_log(mxf-fc, AV_LOG_ERROR, failed to allocate IndexTableSegment); small note: missing \n You can probably drop the