[FFmpeg-devel] [PATCH] lavf/segment: add an option to allow breaking on non-keyframes

2015-06-09 Thread Rodger Combs
--- libavformat/segment.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavformat/segment.c b/libavformat/segment.c index 953140f..66e28b2 100644 --- a/libavformat/segment.c +++ b/libavformat/segment.c @@ -113,6 +113,7 @@ typedef struct SegmentContext { int64_t init

Re: [FFmpeg-devel] [PATCH]lavc/x264:Refuse RGB24 as input pix_fmt

2015-06-09 Thread Michael Niedermayer
On Tue, Jun 09, 2015 at 08:45:00AM +0200, Carl Eugen Hoyos wrote: > Hi! > > Attached patch works around ticket #4287 here. > > Please comment, Carl Eugen > libx264.c |1 - > 1 file changed, 1 deletion(-) > 8dba04c188ee8737c913c8161587c454f008e8da patchx264rgb.diff > diff --git a/libavcodec

Re: [FFmpeg-devel] [PATCH]lavc/x264:Refuse RGB24 as input pix_fmt

2015-06-09 Thread Michael Niedermayer
On Tue, Jun 09, 2015 at 12:35:01PM +0200, Michael Niedermayer wrote: > On Tue, Jun 09, 2015 at 08:45:00AM +0200, Carl Eugen Hoyos wrote: > > Hi! > > > > Attached patch works around ticket #4287 here. > > > > Please comment, Carl Eugen > > > libx264.c |1 - > > 1 file changed, 1 deletion(-)

Re: [FFmpeg-devel] [PATCH] lavf/segment: add an option to allow breaking on non-keyframes

2015-06-09 Thread Michael Niedermayer
On Tue, Jun 09, 2015 at 02:32:18AM -0500, Rodger Combs wrote: > --- > libavformat/segment.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB In fact, the RIAA has been known to suggest th

Re: [FFmpeg-devel] [PATCH] lavf/segment: add an option to allow breaking on non-keyframes

2015-06-09 Thread Michael Niedermayer
On Tue, Jun 09, 2015 at 02:32:18AM -0500, Rodger Combs wrote: > --- > libavformat/segment.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) btw, please update the documentation [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB It is what and why we do

[FFmpeg-devel] [PATCH] doc/muxers: document new break_non_keyframes option

2015-06-09 Thread Rodger Combs
--- doc/muxers.texi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/doc/muxers.texi b/doc/muxers.texi index ddd7c7a..95cdb8f 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -1030,6 +1030,12 @@ segments to write. If this is selected, the output segment name must contain a @code{st

Re: [FFmpeg-devel] [PATCH] doc/muxers: document new break_non_keyframes option

2015-06-09 Thread Michael Niedermayer
On Tue, Jun 09, 2015 at 06:44:51AM -0500, Rodger Combs wrote: > --- > doc/muxers.texi | 6 ++ > 1 file changed, 6 insertions(+) applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Opposition brings concord. Out of discord comes the fairest harmo

[FFmpeg-devel] [PATCH] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for HEVC loop filter and sao functions

2015-06-09 Thread shivraj.patil
From: Shivraj Patil This patch adds MSA (MIPS-SIMD-Arch) optimizations for HEVC loop filter and sao functions in new file hevc_lpf_sao_msa.c Adds new generic macros (needed for this patch) in libavutil/mips/generic_macros_msa.h In this patch, in comparision with previous patch, duplicated c fu

Re: [FFmpeg-devel] [PATCH] avcodec/libopenjpegdec: Mark as experimental if <= 1.3

2015-06-09 Thread Michael Niedermayer
On Tue, Jun 09, 2015 at 03:59:39AM +0200, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > libavcodec/libopenjpegdec.c | 10 ++ > 1 file changed, 10 insertions(+) applied [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB When you

Re: [FFmpeg-devel] [PATCH]Use libopenjpeg by default if it was enabled

2015-06-09 Thread Michael Niedermayer
On Mon, Jun 08, 2015 at 10:01:18PM +0200, Carl Eugen Hoyos wrote: > Hi! > > Attached patch fixes ticket #3619 for me. > > Please comment, Carl Eugen > allcodecs.c |4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > 96a81d0e28289471a9bfb353cecc1c8da289f8cd patchj2kdefault.diff > dif

Re: [FFmpeg-devel] [PATCH] lavf/webm_chunk: Remove AVFMT_ALLOW_FLUSH

2015-06-09 Thread Michael Niedermayer
On Tue, Jun 09, 2015 at 10:02:56AM -0700, Vignesh Venkatasubramanian wrote: > The flag was set unintentionally and the code will break if a NULL > packet is passed in. > > Signed-off-by: Vignesh Venkatasubramanian applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133

[FFmpeg-devel] [PATCH] sonic: use s->channels instead of avctx->channels

2015-06-09 Thread Andreas Cadhalpun
avctx->channels can be 0, causing SIGFPE crashes. Signed-off-by: Andreas Cadhalpun --- libavcodec/sonic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/sonic.c b/libavcodec/sonic.c index 3db77f3..459857d 100644 --- a/libavcodec/sonic.c +++ b/libavcodec/sonic.c @@

[FFmpeg-devel] [PATCH][GSoC] lavf/http: Correctly terminate session with HTTP POST client.

2015-06-09 Thread Stephan Holljes
Send a footer to correctly close client sockets. This fixes network errors in client applications. Signed-off-by: Stephan Holljes --- libavformat/http.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavformat/http.c b/libavformat/http.c index 2db2dea..676bfd5 100644 --

Re: [FFmpeg-devel] [PATCH] sonic: use s->channels instead of avctx->channels

2015-06-09 Thread Michael Niedermayer
On Tue, Jun 09, 2015 at 10:22:05PM +0200, Andreas Cadhalpun wrote: > avctx->channels can be 0, causing SIGFPE crashes. > > Signed-off-by: Andreas Cadhalpun > --- > libavcodec/sonic.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) i think avctx->channels should be set, channels is only

Re: [FFmpeg-devel] [PATCH] sonic: use s->channels instead of avctx->channels

2015-06-09 Thread Andreas Cadhalpun
On 09.06.2015 22:30, Michael Niedermayer wrote: > On Tue, Jun 09, 2015 at 10:22:05PM +0200, Andreas Cadhalpun wrote: >> avctx->channels can be 0, causing SIGFPE crashes. >> >> Signed-off-by: Andreas Cadhalpun >> --- >> libavcodec/sonic.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >

Re: [FFmpeg-devel] [PATCH 1/2] libavfilter/formats: Fix parsing of channel specifications with a trailing 'c'.

2015-06-09 Thread Michael Niedermayer
On Tue, Jun 09, 2015 at 04:55:56AM +0200, Simon Thelen wrote: > Fix an off-by-one in checking tail for trailing characters > and ensure > that the parsing helper is only called for unknown channel layouts. in which case does this make a difference / how can i reproduce the issue this fixes ? >

Re: [FFmpeg-devel] [PATCH 2/2] libavutil/channel_layout: Correctly return layout when channel specification ends with a trailing 'c'.

2015-06-09 Thread Michael Niedermayer
On Tue, Jun 09, 2015 at 04:55:57AM +0200, Simon Thelen wrote: > Return layout when FF_API_GET_CHANNEL_LAYOUT_COMPAT is set even if the > layout itself is not in the deprecated style. > > Signed-off-by: Simon Thelen > --- > libavutil/channel_layout.c | 2 +- > 1 file changed, 1 insertion(+), 1 de

Re: [FFmpeg-devel] [PATCH] sonic: use s->channels instead of avctx->channels

2015-06-09 Thread Michael Niedermayer
On Tue, Jun 09, 2015 at 10:44:08PM +0200, Andreas Cadhalpun wrote: > On 09.06.2015 22:30, Michael Niedermayer wrote: > > On Tue, Jun 09, 2015 at 10:22:05PM +0200, Andreas Cadhalpun wrote: > >> avctx->channels can be 0, causing SIGFPE crashes. > >> > >> Signed-off-by: Andreas Cadhalpun > >> --- > >

Re: [FFmpeg-devel] [PATCH] sonic: use s->channels instead of avctx->channels

2015-06-09 Thread Andreas Cadhalpun
On 09.06.2015 23:04, Michael Niedermayer wrote: > On Tue, Jun 09, 2015 at 10:44:08PM +0200, Andreas Cadhalpun wrote: >> On 09.06.2015 22:30, Michael Niedermayer wrote: >>> On Tue, Jun 09, 2015 at 10:22:05PM +0200, Andreas Cadhalpun wrote: avctx->channels can be 0, causing SIGFPE crashes.

Re: [FFmpeg-devel] [PATCH]Use libopenjpeg by default if it was enabled

2015-06-09 Thread Andreas Cadhalpun
On 09.06.2015 20:07, Michael Niedermayer wrote: > also i get random crashes with this with fuzzed files > > i dont know if this issue is specific to old versions of libopenjpeg I also get crashes with libopenjpeg 1.5.2, see Debian bug #787275 [1]. (The native jpeg2000 decoder doesn't crash with t

[FFmpeg-devel] [PATCH] h264: update avctx width/height when flushing

2015-06-09 Thread Andreas Cadhalpun
Inconsistencies between the dimensions of avctx and the frame can confuse API users. For example this can crash the demuxing_decoding example. Signed-off-by: Andreas Cadhalpun --- libavcodec/h264.c | 4 1 file changed, 4 insertions(+) diff --git a/libavcodec/h264.c b/libavcodec/h264.c inde

[FFmpeg-devel] [PATCH] takdec: ensure chan2 is a valid channel index

2015-06-09 Thread Andreas Cadhalpun
If chan2 is not smaller than the number of channels, it can cause segmentation faults due to dereferencing a NULL pointer. Signed-off-by: Andreas Cadhalpun --- libavcodec/takdec.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/libavcodec/takdec.c b/libavcodec/takdec.c index a453da8..4

Re: [FFmpeg-devel] [PATCH] takdec: ensure chan2 is a valid channel index

2015-06-09 Thread Michael Niedermayer
On Wed, Jun 10, 2015 at 12:12:38AM +0200, Andreas Cadhalpun wrote: > If chan2 is not smaller than the number of channels, it can cause > segmentation faults due to dereferencing a NULL pointer. > > Signed-off-by: Andreas Cadhalpun > --- > libavcodec/takdec.c | 6 ++ > 1 file changed, 6 inser

Re: [FFmpeg-devel] [PATCH] takdec: ensure chan2 is a valid channel index

2015-06-09 Thread Paul B Mahol
Dana 10. 6. 2015. 01:15 osoba "Michael Niedermayer" napisala je: > > On Wed, Jun 10, 2015 at 12:12:38AM +0200, Andreas Cadhalpun wrote: > > If chan2 is not smaller than the number of channels, it can cause > > segmentation faults due to dereferencing a NULL pointer. > > > > Signed-off-by: Andreas

Re: [FFmpeg-devel] FFmpeg 2.7

2015-06-09 Thread Michael Niedermayer
On Sat, Jun 06, 2015 at 02:10:20PM +0200, Michael Niedermayer wrote: > Hi all > > Its time again for another release (its about 3 months since 2.6) > so if theres anything you want in it, or you want something specific > written in some releas notes / changelog, write it now or its too late relea

Re: [FFmpeg-devel] Test-please ignore

2015-06-09 Thread trueice
test reply, please ignore On Mon, Jun 8, 2015 at 10:36 PM, tim nicholson < nichot20-at-yahoo@ffmpeg.org> wrote: > Test of address munging on new server > -- > Tim. > Key Fingerprint 38CF DB09 3ED0 F607 8B67 6CED 0C0B FC44 8B0B FC83 > ___ > ffmpeg-de

[FFmpeg-devel] [PATCH] avformat: Fix bug in parse_rps for HEVC.

2015-06-09 Thread Deliang Fu
Make the logic in libavformat/hevc.c parse_rps align with libavcodec/hevc_ps.c ff_hevc_decode_short_term_rps --- libavformat/hevc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/hevc.c b/libavformat/hevc.c index 16b06b4..643b715 100644 --- a/libavformat/hevc.c +

[FFmpeg-devel] [PATCH] avformat: Fix bug in parse_rps for HEVC.

2015-06-09 Thread Deliang Fu
Make the logic in libavformat/hevc.c parse_rps align with libavcodec/hevc_ps.c ff_hevc_decode_short_term_rps --- libavformat/hevc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/hevc.c b/libavformat/hevc.c index 16b06b4..643b715 100644 --- a/libavformat/hevc.c +