[libav-devel] [PATCH] hls: Save and forward avio options

2015-07-29 Thread Luca Barbato
Make possible to send the custom headers and override the user agent. Reported-by: BenWonder --- Kept a single dictionary and grouped the open functions as Martin suggested. libavformat/hls.c | 91 +++ 1 file changed, 78 insertions(+), 13

Re: [libav-devel] [PATCH] checkasm: Include io.h for isatty, if available

2015-07-29 Thread Henrik Gramner
On Wed, Jul 29, 2015 at 10:09 PM, Martin Storsjö mar...@martin.st wrote: configure does check for isatty, and checkasm properly checks HAVE_ISATTY, but on some platforms (e.g. WinRT), io.h needs to be included for isatty to be available. Ok. ___

Re: [libav-devel] [PATCH] checkasm: Include io.h for isatty, if available

2015-07-29 Thread Luca Barbato
On 29/07/15 22:09, Martin Storsjö wrote: configure does check for isatty, and checkasm properly checks HAVE_ISATTY, but on some platforms (e.g. WinRT), io.h needs to be included for isatty to be available. --- tests/checkasm/checkasm.c | 4 1 file changed, 4 insertions(+) diff --git

[libav-devel] [PATCH] h264: Parse only the x264 info unregisterd sei

2015-07-29 Thread Luca Barbato
And restrict the string to ascii text. CC: libav-sta...@libav.org Signed-off-by: Luca Barbato lu_z...@gentoo.org --- libavcodec/h264_sei.c | 57 ++- 1 file changed, 47 insertions(+), 10 deletions(-) diff --git a/libavcodec/h264_sei.c

Re: [libav-devel] [PATCH 3/3] rtmpproto: use AVHMAC instead of a custom implementation

2015-07-29 Thread Martin Storsjö
On Wed, 29 Jul 2015, James Almer wrote: Signed-off-by: James Almer jamr...@gmail.com --- libavformat/rtmp.h | 3 --- libavformat/rtmpproto.c | 39 ++- 2 files changed, 10 insertions(+), 32 deletions(-) Ok // Martin

Re: [libav-devel] [PATCH 2/2] fate: add test vectors for HMAC SHA and SHA-2

2015-07-29 Thread Martin Storsjö
On Tue, 28 Jul 2015, James Almer wrote: Also replace custom tests for MD5 with those published in RFC 2202 Signed-off-by: James Almer jamr...@gmail.com --- libavutil/hmac.c| 46 -- tests/ref/fate/hmac | 20 +--- 2 files changed, 53

Re: [libav-devel] [PATCH] hls: Save and forward avio options

2015-07-29 Thread Luca Barbato
On 29/07/15 21:02, Martin Storsjö wrote: Just passing the options to ffurl_connect might not be enough. Normally, if you do ffurl_open(), you can just pass the options to that function and be done with it. Internally, ffurl_open does ffurl_alloc, then does av_opt_set_dict and finally

Re: [libav-devel] [PATCH] hls: Save and forward avio options

2015-07-29 Thread Martin Storsjö
On Wed, 29 Jul 2015, Luca Barbato wrote: Make possible to send the custom headers and override the user agent. Reported-by: BenWonder --- Kept a single dictionary and grouped the open functions as Martin suggested. libavformat/hls.c | 91

[libav-devel] [PATCH] checkasm: Include io.h for isatty, if available

2015-07-29 Thread Martin Storsjö
configure does check for isatty, and checkasm properly checks HAVE_ISATTY, but on some platforms (e.g. WinRT), io.h needs to be included for isatty to be available. --- tests/checkasm/checkasm.c | 4 1 file changed, 4 insertions(+) diff --git a/tests/checkasm/checkasm.c

Re: [libav-devel] [PATCH 1/2] hmac: add support for SHA-2

2015-07-29 Thread Martin Storsjö
On Tue, 28 Jul 2015, James Almer wrote: Signed-off-by: James Almer jamr...@gmail.com --- libavutil/hmac.c | 31 ++- libavutil/hmac.h | 2 ++ 2 files changed, 28 insertions(+), 5 deletions(-) Ok with me // Martin ___

[libav-devel] [PATCH] rtmpproto: free hmac context properly

2015-07-29 Thread James Almer
Signed-off-by: James Almer jamr...@gmail.com --- libavformat/rtmpproto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c index 1db7495..ec4b0e7 100644 --- a/libavformat/rtmpproto.c +++ b/libavformat/rtmpproto.c @@ -971,7 +971,7

[libav-devel] [PATCH 1/2] fate/mp3: specify the number of output samples instead of filesize

2015-07-29 Thread Anton Khirnov
This is not dependent on the output format. --- tests/fate/mp3.mak | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/fate/mp3.mak b/tests/fate/mp3.mak index 3442ce1..ad19d70 100644 --- a/tests/fate/mp3.mak +++ b/tests/fate/mp3.mak @@ -3,27 +3,27 @@

[libav-devel] [PATCH 2/2] fate/mp3: use the f32le format as output

2015-07-29 Thread Anton Khirnov
Those tests test the float decoder, so it is preferable to dump the decoder output directly instead of converting it to s16. --- tests/fate/mp3.mak | 37 +++-- 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/tests/fate/mp3.mak b/tests/fate/mp3.mak

Re: [libav-devel] [PATCH 0/20] removal of deprecated features

2015-07-29 Thread Kostya Shishkov
On Wed, Jul 29, 2015 at 09:07:53AM +0200, Anton Khirnov wrote: Quoting Kostya Shishkov (2015-07-29 08:59:42) On Wed, Jul 29, 2015 at 08:44:48AM +0200, Anton Khirnov wrote: Quoting Kostya Shishkov (2015-07-28 15:54:32) On Tue, Jul 28, 2015 at 02:36:16PM +0100, Vittorio Giovara wrote:

[libav-devel] [PATCH] asfdec: prevent the memory leak while reading metadata

2015-07-29 Thread Alexandra Hájková
--- libavformat/asfdec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c index 69c9ecb..46545b3 100644 --- a/libavformat/asfdec.c +++ b/libavformat/asfdec.c @@ -542,6 +542,7 @@ static void asf_store_aspect_ratio(AVFormatContext *s, uint8_t st_num,

Re: [libav-devel] [PATCH 0/20] removal of deprecated features

2015-07-29 Thread Kostya Shishkov
On Wed, Jul 29, 2015 at 08:44:48AM +0200, Anton Khirnov wrote: Quoting Kostya Shishkov (2015-07-28 15:54:32) On Tue, Jul 28, 2015 at 02:36:16PM +0100, Vittorio Giovara wrote: This set contains the removal of all deprecated features marked as such until 2012/early 2013. This was announced

Re: [libav-devel] [PATCH 0/20] removal of deprecated features

2015-07-29 Thread Anton Khirnov
Quoting Kostya Shishkov (2015-07-28 15:54:32) On Tue, Jul 28, 2015 at 02:36:16PM +0100, Vittorio Giovara wrote: This set contains the removal of all deprecated features marked as such until 2012/early 2013. This was announced several times in the past months and agreed at several meetings