[libav-devel] [PATCH] exr: fix out of bounds read in get_code

2015-12-13 Thread Andreas Cadhalpun
This macro unconditionally used out[-1], which causes an out of bounds read, if out is the very beginning of the buffer. Signed-off-by: Andreas Cadhalpun --- libavcodec/exr.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libavcodec/exr.c b/libavcodec/exr.c index

[libav-devel] [PATCH] opus_silk: fix out of array read in silk_lsf2lpc

2015-12-13 Thread Andreas Cadhalpun
nlsf can be negative, but a negative index for silk_cosine doesn't work. --- libavcodec/opus_silk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/opus_silk.c b/libavcodec/opus_silk.c index 841d1ed..3ac83b8 100644 --- a/libavcodec/opus_silk.c +++ b/libavcodec/opus_s

Re: [libav-devel] [libav-commits] r3d: do not create the audio stream until we know the sample rate

2015-12-13 Thread Martin Storsjö
On Sat, 12 Dec 2015, Anton Khirnov wrote: Module: libav Branch: master Commit: 6bf4c1d71199b92894f24db6386ed5070e590a16 Author:Anton Khirnov Committer: Anton Khirnov Date: Wed Oct 21 11:22:13 2015 +0200 r3d: do not create the audio stream until we know the sample rate --- libavfo

Re: [libav-devel] [PATCH] [RFC] get_bits: Support max_depth > 2 in GET_RL_VLC_INTERNAL

2015-12-13 Thread Kieran Kunhya
On 13 December 2015 at 19:21, Luca Barbato wrote: > On 13/12/15 19:02, Kieran Kunhya wrote: >> --- >> libavcodec/get_bits.h | 11 +++ >> 1 file changed, 11 insertions(+) >> >> diff --git a/libavcodec/get_bits.h b/libavcodec/get_bits.h >> index 0d3db1f..0a61c80 100644 >> --- a/libavcodec/g

Re: [libav-devel] [PATCH] rtmpproto: Include the full path as app when "slist=" is found

2015-12-13 Thread Martin Storsjö
On Wed, 11 Nov 2015, Martin Storsjö wrote: This matches what librtmp does. This fixes automatic url parsing of crunchyroll urls. --- This changes how such urls are parsed, I've contacted Uwe who contributed this part in 7ce3bd961 to see whether this change is ok for him or if it breaks things

Re: [libav-devel] [PATCH] [RFC] get_bits: Support max_depth > 2 in GET_RL_VLC_INTERNAL

2015-12-13 Thread Luca Barbato
On 13/12/15 19:02, Kieran Kunhya wrote: > --- > libavcodec/get_bits.h | 11 +++ > 1 file changed, 11 insertions(+) > > diff --git a/libavcodec/get_bits.h b/libavcodec/get_bits.h > index 0d3db1f..0a61c80 100644 > --- a/libavcodec/get_bits.h > +++ b/libavcodec/get_bits.h > @@ -539,6 +539,17

[libav-devel] [PATCH] [RFC] get_bits: Support max_depth > 2 in GET_RL_VLC_INTERNAL

2015-12-13 Thread Kieran Kunhya
--- libavcodec/get_bits.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/libavcodec/get_bits.h b/libavcodec/get_bits.h index 0d3db1f..0a61c80 100644 --- a/libavcodec/get_bits.h +++ b/libavcodec/get_bits.h @@ -539,6 +539,17 @@ void ff_free_vlc(VLC *vlc); index = SHOW_

Re: [libav-devel] [PATCH 043/264] movenc: switch to codecpar

2015-12-13 Thread Luca Barbato
On 12/12/15 21:49, Anton Khirnov wrote: > --- > libavformat/movenc.c | 481 > +++ > libavformat/movenc.h | 2 +- > libavformat/movenchint.c | 12 +- > 3 files changed, 246 insertions(+), 249 deletions(-) > Ok. _

Re: [libav-devel] [PATCH] r3d: fix an invalid read introduced in 6bf4c1d

2015-12-13 Thread Luca Barbato
On 13/12/15 07:16, Anton Khirnov wrote: > --- > libavformat/r3d.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavformat/r3d.c b/libavformat/r3d.c > index fb066a6..9db1d4b 100644 > --- a/libavformat/r3d.c > +++ b/libavformat/r3d.c > @@ -352,7 +352,7 @@ static int r3d

Re: [libav-devel] [PATCH 041/264] ff_parse_specific_params: switch to codecpar

2015-12-13 Thread Luca Barbato
On 12/12/15 21:49, Anton Khirnov wrote: > --- > libavformat/riffenc.c | 22 +++--- > 1 file changed, 11 insertions(+), 11 deletions(-) > Ok. ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/li

Re: [libav-devel] [PATCH 040/264] ff_put_bmp_header: switch to codecpar

2015-12-13 Thread Luca Barbato
On 12/12/15 21:49, Anton Khirnov wrote: > --- > libavformat/asfenc.c | 2 +- > libavformat/avienc.c | 2 +- > libavformat/matroskaenc.c | 2 +- > libavformat/riff.h| 2 +- > libavformat/riffenc.c | 18 +- > 5 files changed, 13 insertions(+), 13 deletions(-

Re: [libav-devel] [PATCH 042/264] riffdec: switch to codecpar

2015-12-13 Thread Luca Barbato
On 12/12/15 21:49, Anton Khirnov wrote: > --- > libavformat/riffdec.c | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > Ok. ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

Re: [libav-devel] [PATCH 044/264] mpegenc: switch to codecpar

2015-12-13 Thread Luca Barbato
On 12/12/15 21:49, Anton Khirnov wrote: > --- > libavformat/mpegenc.c | 26 +- > 1 file changed, 13 insertions(+), 13 deletions(-) > Seems Ok. ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/l

Re: [libav-devel] [PATCH 045/264] 4xm: switch to codecpar

2015-12-13 Thread Luca Barbato
On 12/12/15 21:49, Anton Khirnov wrote: > --- > libavformat/4xm.c | 44 ++-- > 1 file changed, 22 insertions(+), 22 deletions(-) Ok. ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mail