[FFmpeg-devel] [PATCH 05/11] lavu/aes: test CBC functionality

2015-10-19 Thread Rodger Combs
--- libavutil/aes.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/libavutil/aes.c b/libavutil/aes.c index 4fa01ea..4b871a0 100644 --- a/libavutil/aes.c +++ b/libavutil/aes.c @@ -280,7 +280,7 @@ int main(int argc, char **argv) { 0x10, 0xa5, 0x88, 0x69,

[FFmpeg-devel] [PATCH 02/11] lavu/aes: move AVAES to separate internal header

2015-10-19 Thread Rodger Combs
rounds; -} AVAES; - const int av_aes_size= sizeof(AVAES); struct AVAES *av_aes_alloc(void) diff --git a/libavutil/aes_internal.h b/libavutil/aes_internal.h new file mode 100644 index 000..e2841ef --- /dev/null +++ b/libavutil/aes_internal.h @@ -0,0 +1,41 @@ +/* + * copyright (c) 2015 Rodge

[FFmpeg-devel] [PATCH 03/11] lavu/aes: add runtime dispatch for crypt function

2015-10-19 Thread Rodger Combs
--- libavutil/aes.c | 47 +++ libavutil/aes_internal.h | 1 + 2 files changed, 32 insertions(+), 16 deletions(-) diff --git a/libavutil/aes.c b/libavutil/aes.c index 61e9dd1..4fa01ea 100644 --- a/libavutil/aes.c +++ b/libavutil/aes.c @@

[FFmpeg-devel] [PATCH] lavf/http: fix incorrect warning in range requests

2015-10-18 Thread Rodger Combs
--- libavformat/http.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libavformat/http.c b/libavformat/http.c index 075dda7..9b5346c 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -1155,15 +1155,16 @@ static int http_buf_read(URLContext *h, uint8_t *buf,

[FFmpeg-devel] [PATCH 2/2] checkasm: add tests for AES

2015-10-12 Thread Rodger Combs
@@ -0,0 +1,57 @@ +/* + * Copyright (c) 2015 Rodger Combs <rodger.co...@gmail.com> + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foun

[FFmpeg-devel] [PATCH] lavu/aes: add x86 AESNI optimizations

2015-10-12 Thread Rodger Combs
0,0 +1,92 @@ +;* +;* Copyright (c) 2015 Rodger Combs <rodger.co...@gmail.com> +;* +;* This file is part of FFmpeg. +;* +;* FFmpeg is free software; you can redistribute it and/or +;* modify it under the terms of the G

[FFmpeg-devel] [PATCH 1/2] lavu/aes: add x86 AESNI optimizations

2015-10-12 Thread Rodger Combs
0,0 +1,98 @@ +;* +;* Copyright (c) 2015 Rodger Combs <rodger.co...@gmail.com> +;* +;* This file is part of FFmpeg. +;* +;* FFmpeg is free software; you can redistribute it and/or +;* modify it under the terms of the G

[FFmpeg-devel] [PATCH] lavu: add AESNI CPU flag

2015-10-12 Thread Rodger Combs
--- configure | 4 doc/APIchanges| 3 +++ libavutil/cpu.c | 4 libavutil/cpu.h | 1 + libavutil/version.h | 2 +- libavutil/x86/cpu.c | 2 ++ libavutil/x86/cpu.h | 3 +++ libavutil/x86/x86inc.asm | 13

[FFmpeg-devel] [PATCH 07/10] checkasm: add tests for AES

2015-10-12 Thread Rodger Combs
@@ -0,0 +1,57 @@ +/* + * Copyright (c) 2015 Rodger Combs <rodger.co...@gmail.com> + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foun

[FFmpeg-devel] [PATCH 09/10] tools/crypto_bench: add AES-CBC modes

2015-10-12 Thread Rodger Combs
--- tools/crypto_bench.c | 138 +-- 1 file changed, 135 insertions(+), 3 deletions(-) diff --git a/tools/crypto_bench.c b/tools/crypto_bench.c index ad20f95..0b1bfc8 100644 --- a/tools/crypto_bench.c +++ b/tools/crypto_bench.c @@ -52,6 +52,7 @@

[FFmpeg-devel] [PATCH 10/10] tools/crypto_bench: add support for multiple lavu versions by cpuflag

2015-10-12 Thread Rodger Combs
--- tools/crypto_bench.c | 51 +++ 1 file changed, 43 insertions(+), 8 deletions(-) diff --git a/tools/crypto_bench.c b/tools/crypto_bench.c index 0b1bfc8..f84e2a7 100644 --- a/tools/crypto_bench.c +++ b/tools/crypto_bench.c @@ -32,6 +32,7 @@

[FFmpeg-devel] [PATCH 05/10] lavu/aes: test CBC functionality

2015-10-12 Thread Rodger Combs
--- libavutil/aes.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/libavutil/aes.c b/libavutil/aes.c index c1d860f..1fac4e8 100644 --- a/libavutil/aes.c +++ b/libavutil/aes.c @@ -280,7 +280,7 @@ int main(int argc, char **argv) { 0x10, 0xa5, 0x88, 0x69,

[FFmpeg-devel] [PATCH 04/10] lavu/aes: align AVAES struct members

2015-10-12 Thread Rodger Combs
--- libavutil/aes_internal.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavutil/aes_internal.h b/libavutil/aes_internal.h index e5bf4bd..4944258 100644 --- a/libavutil/aes_internal.h +++ b/libavutil/aes_internal.h @@ -21,6 +21,7 @@ #ifndef AVUTIL_AES_INTERNAL_H

[FFmpeg-devel] [PATCH 08/10] tools/crypto_bench: add AES-192 and AES-256

2015-10-12 Thread Rodger Combs
--- tools/crypto_bench.c | 82 1 file changed, 82 insertions(+) diff --git a/tools/crypto_bench.c b/tools/crypto_bench.c index b3b24a6..ad20f95 100644 --- a/tools/crypto_bench.c +++ b/tools/crypto_bench.c @@ -118,6 +118,24 @@ static void

[FFmpeg-devel] [PATCH 02/10] lavu/aes: move AVAES to separate internal header

2015-10-12 Thread Rodger Combs
rounds; -} AVAES; - const int av_aes_size= sizeof(AVAES); struct AVAES *av_aes_alloc(void) diff --git a/libavutil/aes_internal.h b/libavutil/aes_internal.h new file mode 100644 index 000..e2841ef --- /dev/null +++ b/libavutil/aes_internal.h @@ -0,0 +1,41 @@ +/* + * copyright (c) 2015 Rodge

[FFmpeg-devel] [PATCH 5/7] lavu/aes: test CBC functionality

2015-10-11 Thread Rodger Combs
--- libavutil/aes.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/libavutil/aes.c b/libavutil/aes.c index c1d860f..1fac4e8 100644 --- a/libavutil/aes.c +++ b/libavutil/aes.c @@ -280,7 +280,7 @@ int main(int argc, char **argv) { 0x10, 0xa5, 0x88, 0x69,

[FFmpeg-devel] [PATCH 4/7] lavu/aes: align AVAES struct members

2015-10-11 Thread Rodger Combs
--- libavutil/aes_internal.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavutil/aes_internal.h b/libavutil/aes_internal.h index e5bf4bd..4944258 100644 --- a/libavutil/aes_internal.h +++ b/libavutil/aes_internal.h @@ -21,6 +21,7 @@ #ifndef AVUTIL_AES_INTERNAL_H

[FFmpeg-devel] [PATCH 6/7] lavu/aes: add x86 AESNI optimizations

2015-10-11 Thread Rodger Combs
0,0 +1,93 @@ +;* +;* Copyright (c) 2015 Rodger Combs <rodger.co...@gmail.com> +;* +;* This file is part of FFmpeg. +;* +;* FFmpeg is free software; you can redistribute it and/or +;* modify it under the terms of the G

[FFmpeg-devel] [PATCH 5/7] lavu/aes: test CBC functionality

2015-10-11 Thread Rodger Combs
--- libavutil/aes.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/libavutil/aes.c b/libavutil/aes.c index ab2d602..c917706 100644 --- a/libavutil/aes.c +++ b/libavutil/aes.c @@ -280,7 +280,7 @@ int main(int argc, char **argv) { 0x10, 0xa5, 0x88, 0x69,

[FFmpeg-devel] [PATCH 7/7] checkasm: add tests for AES

2015-10-11 Thread Rodger Combs
@@ -0,0 +1,85 @@ +/* + * Copyright (c) 2015 Rodger Combs <rodger.co...@gmail.com> + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foun

[FFmpeg-devel] [PATCH 6/7] lavu/aes: add x86 AESNI optimizations

2015-10-11 Thread Rodger Combs
,85 @@ +;* +;* Copyright (c) 2015 Rodger Combs <rodger.co...@gmail.com> +;* +;* This file is part of FFmpeg. +;* +;* FFmpeg is free software; you can redistribute it and/or +;* modify it under the terms of the GNU Lesse

[FFmpeg-devel] [PATCH 1/7] lavu: add AESNI CPU flag

2015-10-11 Thread Rodger Combs
--- configure | 6 +- doc/APIchanges| 3 +++ libavutil/cpu.c | 6 +- libavutil/cpu.h | 1 + libavutil/version.h | 2 +- libavutil/x86/cpu.c | 2 ++ libavutil/x86/cpu.h | 3 +++ libavutil/x86/x86inc.asm | 41

[FFmpeg-devel] [PATCH 2/7] lavu/aes: move AVAES to separate internal header

2015-10-11 Thread Rodger Combs
rounds; -} AVAES; - const int av_aes_size= sizeof(AVAES); struct AVAES *av_aes_alloc(void) diff --git a/libavutil/aes_internal.h b/libavutil/aes_internal.h new file mode 100644 index 000..e2841ef --- /dev/null +++ b/libavutil/aes_internal.h @@ -0,0 +1,41 @@ +/* + * copyright (c) 2015 Rodge

[FFmpeg-devel] [PATCH 2/7] lavu/aes: move AVAES to separate internal header

2015-10-11 Thread Rodger Combs
rounds; -} AVAES; - const int av_aes_size= sizeof(AVAES); struct AVAES *av_aes_alloc(void) diff --git a/libavutil/aes_internal.h b/libavutil/aes_internal.h new file mode 100644 index 000..e2841ef --- /dev/null +++ b/libavutil/aes_internal.h @@ -0,0 +1,41 @@ +/* + * copyright (c) 2015 Rodge

[FFmpeg-devel] [PATCH 3/7] lavu/aes: add runtime dispatch for crypt function

2015-10-11 Thread Rodger Combs
--- libavutil/aes.c | 47 +++ libavutil/aes_internal.h | 1 + 2 files changed, 32 insertions(+), 16 deletions(-) diff --git a/libavutil/aes.c b/libavutil/aes.c index 280e5fa..c1d860f 100644 --- a/libavutil/aes.c +++ b/libavutil/aes.c @@

[FFmpeg-devel] [PATCH 3/7] lavu/aes: add runtime dispatch for crypt function

2015-10-11 Thread Rodger Combs
--- libavutil/aes.c | 47 +++ libavutil/aes_internal.h | 1 + 2 files changed, 32 insertions(+), 16 deletions(-) diff --git a/libavutil/aes.c b/libavutil/aes.c index 280e5fa..06b1872 100644 --- a/libavutil/aes.c +++ b/libavutil/aes.c @@

[FFmpeg-devel] [PATCH 4/7] lavu/aes: align AVAES struct

2015-10-11 Thread Rodger Combs
--- libavutil/aes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/aes.c b/libavutil/aes.c index 06b1872..ab2d602 100644 --- a/libavutil/aes.c +++ b/libavutil/aes.c @@ -274,7 +274,7 @@ int av_aes_init(AVAES *a, const uint8_t *key, int key_bits, int decrypt) int

[FFmpeg-devel] [PATCH 1/2] lavc/samidec: support multiple paragraphs in a packet

2015-10-10 Thread Rodger Combs
--- libavcodec/samidec.c | 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/libavcodec/samidec.c b/libavcodec/samidec.c index 95f35ab..8dd2749 100644 --- a/libavcodec/samidec.c +++ b/libavcodec/samidec.c @@ -46,6 +46,7 @@ static int

[FFmpeg-devel] [PATCH 2/2] lavc/samidec: support Hulu subtitle encryption

2015-10-10 Thread Rodger Combs
hex_to_data should probably move to lavu before this is merged. This is probably a good case for sub_charenc to run _after_ the decoder. I could see an argument that this should go in the demuxer instead. Thoughts? --- libavcodec/samidec.c | 78

[FFmpeg-devel] [PATCH 5/7] lavf: add automatic bitstream filtering

2015-10-08 Thread Rodger Combs
This solves the problem discussed in https://ffmpeg.org/pipermail/ffmpeg-devel/2015-September/179238.html by allowing AVCodec::write_header to be delayed until after packets have been run through required bitstream filters in order to generate global extradata. It also provides a mechanism by

[FFmpeg-devel] [PATCH 7/7] lavf/matroska: add automatic bitstream filtering

2015-10-08 Thread Rodger Combs
--- libavformat/matroskaenc.c | 43 +++ 1 file changed, 35 insertions(+), 8 deletions(-) diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c index 1fb39fe..81e859f 100644 --- a/libavformat/matroskaenc.c +++ b/libavformat/matroskaenc.c @@

[FFmpeg-devel] [PATCH] lavf/matroskadec: drop indexes that appear broken

2015-10-08 Thread Rodger Combs
--- libavformat/matroskadec.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index 9db2b59..02cc6a5 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -1521,10 +1521,11 @@ static void

[FFmpeg-devel] [PATCH 2/7] lavf: add API to apply a list of bsfs to a packet

2015-10-08 Thread Rodger Combs
--- libavformat/avformat.h | 8 libavformat/utils.c| 48 2 files changed, 56 insertions(+) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index e2a27d4..5226b0a 100644 --- a/libavformat/avformat.h +++

[FFmpeg-devel] [PATCH 1/7] lavc: move bitstream filter args to the bsf ctx

2015-10-08 Thread Rodger Combs
--- libavcodec/avcodec.h | 1 + libavcodec/bitstream_filter.c | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index ff70d25..ce42e57 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -5026,6 +5026,7 @@

[FFmpeg-devel] [PATCH 3/7] ffmpeg: use lavf API for applying bitstream filters

2015-10-08 Thread Rodger Combs
--- ffmpeg.c | 46 -- ffmpeg.h | 1 - ffmpeg_opt.c | 6 +- 3 files changed, 9 insertions(+), 44 deletions(-) diff --git a/ffmpeg.c b/ffmpeg.c index e31a2c6..443e1b1 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -682,47 +682,10 @@ static void

[FFmpeg-devel] [PATCH 4/7] lavf/tee: use lavf API for applying bitstream filters

2015-10-08 Thread Rodger Combs
--- libavformat/tee.c | 43 ++- 1 file changed, 2 insertions(+), 41 deletions(-) diff --git a/libavformat/tee.c b/libavformat/tee.c index c619eae..5080c8d 100644 --- a/libavformat/tee.c +++ b/libavformat/tee.c @@ -384,45 +384,6 @@ fail: return ret; }

[FFmpeg-devel] [PATCH 6/7] lavf: add API to append a bsf to a stream's list

2015-10-08 Thread Rodger Combs
--- libavformat/avformat.h | 8 libavformat/utils.c| 19 +++ 2 files changed, 27 insertions(+) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index f3c8260..20759e3 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -2758,6 +2758,14 @@

[FFmpeg-devel] [PATCH 3/6] ffmpeg: use lavf API for applying bitstream filters

2015-10-07 Thread Rodger Combs
--- ffmpeg.c | 46 -- ffmpeg.h | 1 - ffmpeg_opt.c | 6 +- 3 files changed, 9 insertions(+), 44 deletions(-) diff --git a/ffmpeg.c b/ffmpeg.c index e31a2c6..b9cde79 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -682,47 +682,10 @@ static void

[FFmpeg-devel] [PATCH 5/6] lavf: add API to append a bsf to a stream's list

2015-10-07 Thread Rodger Combs
--- libavformat/avformat.h | 8 libavformat/utils.c| 19 +++ 2 files changed, 27 insertions(+) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index f3c8260..20759e3 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -2758,6 +2758,14 @@

[FFmpeg-devel] [PATCH 2/6] lavf: add API to apply a list of bsfs to a packet

2015-10-07 Thread Rodger Combs
--- libavformat/avformat.h | 8 libavformat/utils.c| 48 2 files changed, 56 insertions(+) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index e2a27d4..5226b0a 100644 --- a/libavformat/avformat.h +++

[FFmpeg-devel] [PATCH 1/6] lavc: move bitstream filter args to the bsf ctx

2015-10-07 Thread Rodger Combs
--- libavcodec/avcodec.h | 1 + libavcodec/bitstream_filter.c | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index ff70d25..ce42e57 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -5026,6 +5026,7 @@

[FFmpeg-devel] [PATCH 6/6] lavf/matroska: add automatic bitstream filtering

2015-10-07 Thread Rodger Combs
--- libavformat/matroskaenc.c | 43 +++ 1 file changed, 35 insertions(+), 8 deletions(-) diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c index 1fb39fe..81e859f 100644 --- a/libavformat/matroskaenc.c +++ b/libavformat/matroskaenc.c @@

[FFmpeg-devel] [PATCH 4/6] lavf: add automatic bitstream filtering

2015-10-07 Thread Rodger Combs
This solves the problem discussed in https://ffmpeg.org/pipermail/ffmpeg-devel/2015-September/179238.html by allowing AVCodec::write_header to be delayed until after packets have been run through required bitstream filters in order to generate global extradata. It also provides a mechanism by

[FFmpeg-devel] [PATCH] lavf/mov: add support for sidx fragment indexes

2015-10-06 Thread Rodger Combs
Fixes trac #3842 --- libavformat/isom.h | 2 + libavformat/mov.c | 245 - 2 files changed, 208 insertions(+), 39 deletions(-) diff --git a/libavformat/isom.h b/libavformat/isom.h index aee9d6e..6e921c0 100644 --- a/libavformat/isom.h +++

[FFmpeg-devel] [PATCH] RFC: Automatic bitstream filtering

2015-10-06 Thread Rodger Combs
This solves the problem discussed in https://ffmpeg.org/pipermail/ffmpeg-devel/2015-September/179238.html by allowing AVCodec::write_header to be delayed until after packets have been run through required bitstream filters in order to generate global extradata. It also provides a mechanism by

[FFmpeg-devel] [PATCH] libavformat/tls_securetransport: fix argument evalulation order UB

2015-10-04 Thread Rodger Combs
--- libavformat/tls_securetransport.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/libavformat/tls_securetransport.c b/libavformat/tls_securetransport.c index 73662d7..6ad266a 100644 --- a/libavformat/tls_securetransport.c +++ b/libavformat/tls_securetransport.c

[FFmpeg-devel] [PATCH] lavf/mov: add support for sidx fragment indexes

2015-10-03 Thread Rodger Combs
Fixes trac #3842 --- libavformat/isom.h | 2 + libavformat/mov.c | 250 - 2 files changed, 213 insertions(+), 39 deletions(-) diff --git a/libavformat/isom.h b/libavformat/isom.h index aee9d6e..6e921c0 100644 --- a/libavformat/isom.h +++

[FFmpeg-devel] [PATCH] lavf: add chromaprint muxer

2015-10-03 Thread Rodger Combs
GME, libgme); REGISTER_DEMUXER (LIBMODPLUG, libmodplug); REGISTER_MUXDEMUX(LIBNUT, libnut); diff --git a/libavformat/chromaprint.c b/libavformat/chromaprint.c new file mode 100644 index 000..4d67f43 --- /dev/null +++ b/libavformat/chromaprint.c @@ -0,0 +1,186 @@

[FFmpeg-devel] [PATCH] libavformat/tls_securetransport: silence uninitialized value warning

2015-10-03 Thread Rodger Combs
--- libavformat/tls_securetransport.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/tls_securetransport.c b/libavformat/tls_securetransport.c index 73662d7..cdc7953 100644 --- a/libavformat/tls_securetransport.c +++ b/libavformat/tls_securetransport.c @@

[FFmpeg-devel] [PATCH] lavf: add chromaprint muxer

2015-10-02 Thread Rodger Combs
--- Changelog| 1 + configure| 4 doc/muxers.texi | 35 +++ libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/version.h| 2 +- 6 files changed, 43 insertions(+), 1 deletion(-) diff

[FFmpeg-devel] [PATCH] lavf: add chromaprint muxer

2015-10-02 Thread Rodger Combs
REGISTER_DEMUXER (LIBMODPLUG, libmodplug); REGISTER_MUXDEMUX(LIBNUT, libnut); diff --git a/libavformat/chromaprint.c b/libavformat/chromaprint.c new file mode 100644 index 000..19cef55 --- /dev/null +++ b/libavformat/chromaprint.c @@ -0,0 +1,195 @@ +/* + * Chromaprint

[FFmpeg-devel] [PATCH] lavf/utils: avoid giving up probing early with long subtitle events

2015-10-02 Thread Rodger Combs
--- libavformat/utils.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index dc83608..be1472b 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -3347,7 +3347,10 @@ int avformat_find_stream_info(AVFormatContext *ic,

[FFmpeg-devel] [PATCH] lavf/mov: add support for sidx fragment indexes

2015-09-30 Thread Rodger Combs
Fixes trac #3842 --- libavformat/isom.h | 1 + libavformat/mov.c | 192 + 2 files changed, 179 insertions(+), 14 deletions(-) diff --git a/libavformat/isom.h b/libavformat/isom.h index aee9d6e..8f22ea5 100644 --- a/libavformat/isom.h +++

Re: [FFmpeg-devel] [PATCH 3/3] lavf/utils: avoid giving up probing early with long subtitle events

2015-09-30 Thread Rodger Combs
simply skipping this check for subtitle streams; sound better? > On Sep 30, 2015, at 21:09, Michael Niedermayer <michae...@gmx.at> wrote: > > On Sun, Sep 20, 2015 at 12:29:33PM -0500, Rodger Combs wrote: >> --- >> libavformat/utils.c | 7 ++- >> 1 file cha

[FFmpeg-devel] [PATCH 2/4] lavu/opt: add flag to return NULL when applicable in av_opt_get

2015-09-21 Thread Rodger Combs
--- libavutil/opt.c | 12 ++-- libavutil/opt.h | 10 ++ libavutil/version.h | 2 +- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/libavutil/opt.c b/libavutil/opt.c index ce80de0..4e6425d 100644 --- a/libavutil/opt.c +++ b/libavutil/opt.c @@ -666,12

[FFmpeg-devel] [PATCH 4/4] lavf/hls: allow subtitles to be read despite incomplete handling

2015-09-21 Thread Rodger Combs
This will give incorrect results in some cases due to not parsing segments separately, so it currently requires -strict experimental. --- libavformat/hls.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libavformat/hls.c b/libavformat/hls.c index aa0e214..1ce53b3

[FFmpeg-devel] [PATCH 3/4] lavf/hls: don't convert NULL options to empty strings; fixes HTTP CRLF warnings

2015-09-21 Thread Rodger Combs
--- libavformat/hls.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/hls.c b/libavformat/hls.c index c16c770..aa0e214 100644 --- a/libavformat/hls.c +++ b/libavformat/hls.c @@ -1316,7 +1316,8 @@ static int save_avio_options(AVFormatContext *s) int ret = 0;

[FFmpeg-devel] [PATCH 1/4] lavu/opt: switch AV_OPT flags to shift-based formatting

2015-09-21 Thread Rodger Combs
--- libavutil/opt.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavutil/opt.h b/libavutil/opt.h index d6d8df3..ef90e9c 100644 --- a/libavutil/opt.h +++ b/libavutil/opt.h @@ -553,22 +553,22 @@ int av_opt_eval_q (void *obj, const AVOption *o, const char *val,

[FFmpeg-devel] [PATCH 2/4] lavc/aac_ac3_parser: style tweaks

2015-09-21 Thread Rodger Combs
--- libavcodec/aac_ac3_parser.c | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/libavcodec/aac_ac3_parser.c b/libavcodec/aac_ac3_parser.c index 2f7d568..dfa951e 100644 --- a/libavcodec/aac_ac3_parser.c +++ b/libavcodec/aac_ac3_parser.c @@

[FFmpeg-devel] [PATCH 1/4] lavc/aacdec: handle case where extradata is set between init and first packet

2015-09-21 Thread Rodger Combs
--- libavcodec/aacdec_template.c | 8 1 file changed, 8 insertions(+) diff --git a/libavcodec/aacdec_template.c b/libavcodec/aacdec_template.c index c2d7d05..a999013 100644 --- a/libavcodec/aacdec_template.c +++ b/libavcodec/aacdec_template.c @@ -3118,6 +3118,14 @@ static int

[FFmpeg-devel] [PATCH 4/4] lavc: deprecate aac_adtstoasc BSF; remove warnings referencing it

2015-09-21 Thread Rodger Combs
--- doc/bitstream_filters.texi | 11 --- libavcodec/aac_adtstoasc_bsf.c | 74 ++ libavformat/flvenc.c | 6 libavformat/movenc.c | 6 4 files changed, 2 insertions(+), 95 deletions(-) diff --git

[FFmpeg-devel] [PATCH 3/4] lavc/aac_ac3_parser: convert ADTS AAC to ASC format

2015-09-21 Thread Rodger Combs
--- libavcodec/aac_ac3_parser.c | 65 ++--- tests/ref/fate/adts-demux | 2 +- 2 files changed, 63 insertions(+), 4 deletions(-) diff --git a/libavcodec/aac_ac3_parser.c b/libavcodec/aac_ac3_parser.c index dfa951e..a7e9278 100644 ---

[FFmpeg-devel] [PATCH 4/4] lavc: deprecate aac_adtstoasc BSF; remove warnings referencing it

2015-09-21 Thread Rodger Combs
--- Changelog | 1 + doc/bitstream_filters.texi | 11 --- libavcodec/aac_adtstoasc_bsf.c | 73 ++ libavformat/flvenc.c | 6 libavformat/movenc.c | 6 5 files changed, 3 insertions(+), 94

[FFmpeg-devel] [PATCH 3/4] lavc/aac_ac3_parser: convert ADTS AAC to ASC format

2015-09-21 Thread Rodger Combs
--- libavcodec/aac_ac3_parser.c | 65 ++--- tests/ref/fate/adts-demux | 2 +- 2 files changed, 63 insertions(+), 4 deletions(-) diff --git a/libavcodec/aac_ac3_parser.c b/libavcodec/aac_ac3_parser.c index dfa951e..a7e9278 100644 ---

[FFmpeg-devel] [PATCH 2/4] lavc/aac_ac3_parser: style tweaks

2015-09-21 Thread Rodger Combs
--- libavcodec/aac_ac3_parser.c | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/libavcodec/aac_ac3_parser.c b/libavcodec/aac_ac3_parser.c index 2f7d568..dfa951e 100644 --- a/libavcodec/aac_ac3_parser.c +++ b/libavcodec/aac_ac3_parser.c @@

[FFmpeg-devel] [PATCH 1/4] lavc/aacdec: handle case where extradata is set between init and first packet

2015-09-21 Thread Rodger Combs
--- libavcodec/aacdec_template.c | 8 1 file changed, 8 insertions(+) diff --git a/libavcodec/aacdec_template.c b/libavcodec/aacdec_template.c index c2d7d05..48717c7 100644 --- a/libavcodec/aacdec_template.c +++ b/libavcodec/aacdec_template.c @@ -3118,6 +3118,14 @@ static int

Re: [FFmpeg-devel] [PATCH 1/4] lavu/opt: switch AV_OPT flags to shift-based formatting

2015-09-21 Thread Rodger Combs
> On Sep 21, 2015, at 05:49, Nicolas George <geo...@nsup.org> wrote: > > Le jour de la Récompense, an CCXXIII, Rodger Combs a écrit : >> --- >> libavutil/opt.h | 8 >> 1 file changed, 4 insertions(+), 4 deletions(-) > > What is the benefit? I am

Re: [FFmpeg-devel] [PATCH 2/4] lavu/opt: add flag to return NULL when applicable in av_opt_get

2015-09-21 Thread Rodger Combs
> On Sep 21, 2015, at 05:53, Nicolas George <geo...@nsup.org> wrote: > > Le jour de la Récompense, an CCXXIII, Rodger Combs a écrit : >> --- >> libavutil/opt.c | 12 ++-- >> libavutil/opt.h | 10 ++ >> libavutil/version.h | 2 +-

[FFmpeg-devel] [PATCH 1/2] lavu/opt: add flag to return NULL when applicable in av_opt_get

2015-09-21 Thread Rodger Combs
--- libavutil/opt.c | 12 ++-- libavutil/opt.h | 10 ++ libavutil/version.h | 2 +- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/libavutil/opt.c b/libavutil/opt.c index ce80de0..03160c7 100644 --- a/libavutil/opt.c +++ b/libavutil/opt.c @@ -666,12

[FFmpeg-devel] [PATCH 2/2] lavf/hls: don't convert NULL options to empty strings; fixes HTTP CRLF warnings

2015-09-21 Thread Rodger Combs
--- libavformat/hls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/hls.c b/libavformat/hls.c index c16c770..93ebf6a 100644 --- a/libavformat/hls.c +++ b/libavformat/hls.c @@ -1316,7 +1316,7 @@ static int save_avio_options(AVFormatContext *s) int ret = 0;

Re: [FFmpeg-devel] [PATCH 2/3] lavf/hls: don't copy empty options; silences HTTP CRLF warnings

2015-09-21 Thread Rodger Combs
> On Sep 21, 2015, at 02:39, wm4 <nfx...@googlemail.com> wrote: > > On Sun, 20 Sep 2015 21:55:34 -0500 > Rodger Combs <rodger.co...@gmail.com <mailto:rodger.co...@gmail.com>> wrote: > >> --- >> libavformat/hls.c | 12 >> 1 file c

[FFmpeg-devel] [PATCH] lavf/matroska: ignore ChapCountry ID for now

2015-09-20 Thread Rodger Combs
--- libavformat/matroska.h| 1 + libavformat/matroskadec.c | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/libavformat/matroska.h b/libavformat/matroska.h index 344b2c3..a654e0c 100644 --- a/libavformat/matroska.h +++ b/libavformat/matroska.h @@ -218,6 +218,7 @@

[FFmpeg-devel] [PATCH 3/3] lavf/hls: allow subtitles to be read despite incomplete handling

2015-09-20 Thread Rodger Combs
This will give incorrect results in some cases due to not parsing segments separately, but it works well enough in general that it seems worth enabling. --- libavformat/hls.c | 4 1 file changed, 4 deletions(-) diff --git a/libavformat/hls.c b/libavformat/hls.c index a5073ff..74af300 100644

[FFmpeg-devel] [PATCH 2/3] lavf/hls: don't copy empty options; silences HTTP CRLF warnings

2015-09-20 Thread Rodger Combs
--- libavformat/hls.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/libavformat/hls.c b/libavformat/hls.c index c16c770..a5073ff 100644 --- a/libavformat/hls.c +++ b/libavformat/hls.c @@ -1317,10 +1317,14 @@ static int save_avio_options(AVFormatContext *s)

[FFmpeg-devel] [PATCH 1/3] tests/checkasm: make randomize_buffers a function for easier debugging

2015-09-20 Thread Rodger Combs
--- tests/checkasm/vp9dsp.c | 108 +--- 1 file changed, 57 insertions(+), 51 deletions(-) diff --git a/tests/checkasm/vp9dsp.c b/tests/checkasm/vp9dsp.c index 6c335e9..d1e7167 100644 --- a/tests/checkasm/vp9dsp.c +++ b/tests/checkasm/vp9dsp.c @@

[FFmpeg-devel] [PATCH 2/3] tests/checkasm: fix stack smash in check_loopfilter

2015-09-20 Thread Rodger Combs
--- tests/checkasm/vp9dsp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/checkasm/vp9dsp.c b/tests/checkasm/vp9dsp.c index 34014ed..968eae5 100644 --- a/tests/checkasm/vp9dsp.c +++ b/tests/checkasm/vp9dsp.c @@ -202,6 +202,9 @@ static void check_loopfilter() midoff =

[FFmpeg-devel] [PATCH 1/3] tests/checkasm: make randomize_buffers a function for easier debugging

2015-09-20 Thread Rodger Combs
--- tests/checkasm/vp9dsp.c | 107 +--- 1 file changed, 56 insertions(+), 51 deletions(-) diff --git a/tests/checkasm/vp9dsp.c b/tests/checkasm/vp9dsp.c index 146a71f..34014ed 100644 --- a/tests/checkasm/vp9dsp.c +++ b/tests/checkasm/vp9dsp.c @@

[FFmpeg-devel] [PATCH 3/3] lavf/utils: avoid giving up probing early with long subtitle events

2015-09-20 Thread Rodger Combs
--- libavformat/utils.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index 199e80b..0256894 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -3343,7 +3343,12 @@ int avformat_find_stream_info(AVFormatContext *ic,

[FFmpeg-devel] [PATCH] ADPCM: Bump THP channel limit to 14

2015-09-11 Thread Rodger Combs
--- libavcodec/adpcm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c index 52d0d44..ba38041 100644 --- a/libavcodec/adpcm.c +++ b/libavcodec/adpcm.c @@ -84,7 +84,7 @@ static const int swf_index_tables[4][16] = { /* end of tables

[FFmpeg-devel] [PATCH 1/6] lavc/ass_split: Fix parser bugs

2015-09-10 Thread Rodger Combs
Specifically: - Skip writing drawings as text - Parse \h correctly - Handle comments and unknown tags correctly --- libavcodec/ass_split.c | 29 + 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/libavcodec/ass_split.c b/libavcodec/ass_split.c index

[FFmpeg-devel] [PATCH 6/6] FATE: fix tests modified by ass_split and XML escaping changes

2015-09-10 Thread Rodger Combs
--- tests/ref/fate/ffprobe_xml | 2 +- tests/ref/fate/sub-webvttenc | 22 +++--- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/tests/ref/fate/ffprobe_xml b/tests/ref/fate/ffprobe_xml index 2fdd81b..443cc12 100644 --- a/tests/ref/fate/ffprobe_xml +++

[FFmpeg-devel] [PATCH] lavf/mov: add support for sidx fragment indexes

2015-09-10 Thread Rodger Combs
The logic in mov_seek_fragment for matching track_ids to AVStream ids is almost certainly wrong, and should be corrected (by someone who knows more about the relevant structures) before this is merged. Fixes trac #3842 --- libavformat/isom.h | 1 + libavformat/mov.c | 182

[FFmpeg-devel] [PATCH 5/6] lavc/webvttenc: XML-escape text output

2015-09-10 Thread Rodger Combs
--- libavcodec/webvttenc.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libavcodec/webvttenc.c b/libavcodec/webvttenc.c index 9f67a2e..555e7c7 100644 --- a/libavcodec/webvttenc.c +++ b/libavcodec/webvttenc.c @@ -112,7 +112,12 @@ static void

[FFmpeg-devel] [PATCH 4/6] ffprobe: switch xml_escape_str to use av_bprint_escape; cleanup a bit

2015-09-10 Thread Rodger Combs
--- ffprobe.c | 25 ++--- 1 file changed, 6 insertions(+), 19 deletions(-) diff --git a/ffprobe.c b/ffprobe.c index 4328b61..3c097bb 100644 --- a/ffprobe.c +++ b/ffprobe.c @@ -1543,21 +1543,10 @@ static av_cold int xml_init(WriterContext *wctx) return 0; } -static

[FFmpeg-devel] [PATCH 3/6] lavu/bprint: add XML escaping

2015-09-10 Thread Rodger Combs
--- libavutil/avstring.h | 28 libavutil/bprint.c | 43 +++ 2 files changed, 71 insertions(+) diff --git a/libavutil/avstring.h b/libavutil/avstring.h index 234c030..71a3179 100644 --- a/libavutil/avstring.h +++

[FFmpeg-devel] [PATCH 2/6] lavu/avstring: switch AV_ESCAPE_FLAGs to shift-based formatting

2015-09-10 Thread Rodger Combs
--- libavutil/avstring.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavutil/avstring.h b/libavutil/avstring.h index 466edaf..234c030 100644 --- a/libavutil/avstring.h +++ b/libavutil/avstring.h @@ -300,14 +300,14 @@ enum AVEscapeMode { * characters lists, except

[FFmpeg-devel] [PATCH] lavf/mov: add support for sidx fragment indexes

2015-09-09 Thread Rodger Combs
The logic in mov_seek_fragment for matching track_ids to AVStream ids is almost certainly wrong, and should be corrected (by someone who knows more about the relevant structures) before this is merged. Fixes trac #3842 --- libavformat/isom.h | 1 + libavformat/mov.c | 181

[FFmpeg-devel] [PATCH] lavf/matroskadec: work around additional broken index cases

2015-08-23 Thread Rodger Combs
--- libavformat/matroskadec.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index f97ae16..7f4a52b 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -1520,8 +1520,10 @@ static void

[FFmpeg-devel] [PATCH] lavf/matroskadec: Fully parse and repack MP3 packets

2015-08-16 Thread Rodger Combs
Fixes https://trac.ffmpeg.org/ticket/4776 --- libavformat/matroskadec.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index b546798..f97ae16 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@

[FFmpeg-devel] [PATCH] lavf/mov: add support for sidx fragment indexes

2015-07-20 Thread Rodger Combs
The logic in mov_seek_fragment for matching track_ids to AVStream ids is almost certainly wrong, and should be corrected (by someone who knows more about the relevant structures) before this is merged. Fixes trac #3842 --- libavformat/isom.h | 1 + libavformat/mov.c | 181

[FFmpeg-devel] [PATCH 4/5] ffprobe: switch from static function to av_xml_escape_str

2015-07-16 Thread Rodger Combs
--- ffprobe.c | 25 +++-- 1 file changed, 3 insertions(+), 22 deletions(-) diff --git a/ffprobe.c b/ffprobe.c index 3e5324e..cc7c9b9 100644 --- a/ffprobe.c +++ b/ffprobe.c @@ -1543,24 +1543,6 @@ static av_cold int xml_init(WriterContext *wctx) return 0; } -static

[FFmpeg-devel] [PATCH 3/5] lavu: bump version for XML escaping

2015-07-16 Thread Rodger Combs
--- libavutil/version.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/version.h b/libavutil/version.h index e7155c2..4799250 100644 --- a/libavutil/version.h +++ b/libavutil/version.h @@ -56,7 +56,7 @@ */ #define LIBAVUTIL_VERSION_MAJOR 54 -#define

[FFmpeg-devel] [PATCH 5/5] lavc/webvttenc: XML-escape text output

2015-07-16 Thread Rodger Combs
--- libavcodec/webvttenc.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libavcodec/webvttenc.c b/libavcodec/webvttenc.c index 9f67a2e..555e7c7 100644 --- a/libavcodec/webvttenc.c +++ b/libavcodec/webvttenc.c @@ -112,7 +112,12 @@ static void

[FFmpeg-devel] [PATCH 2/5] lavu/bprint: add XML escape convenience function

2015-07-16 Thread Rodger Combs
--- libavutil/bprint.c | 7 +++ libavutil/bprint.h | 9 + 2 files changed, 16 insertions(+) diff --git a/libavutil/bprint.c b/libavutil/bprint.c index 64d2ab1..746868b 100644 --- a/libavutil/bprint.c +++ b/libavutil/bprint.c @@ -334,6 +334,13 @@ void av_bprint_escape(AVBPrint

[FFmpeg-devel] [PATCH 1/5] lavu/bprint: add XML escaping

2015-07-16 Thread Rodger Combs
--- libavutil/avstring.h | 7 +++ libavutil/bprint.c | 30 ++ 2 files changed, 37 insertions(+) diff --git a/libavutil/avstring.h b/libavutil/avstring.h index 466edaf..4d809d9 100644 --- a/libavutil/avstring.h +++ b/libavutil/avstring.h @@ -290,6 +290,7 @@ enum

[FFmpeg-devel] [PATCH] lavc/srtdec: handle leading whitespace before tag names

2015-07-15 Thread Rodger Combs
This fixes cases like `/ font`. --- libavcodec/srtdec.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/libavcodec/srtdec.c b/libavcodec/srtdec.c index ed3af95..c26eb74 100644 --- a/libavcodec/srtdec.c +++ b/libavcodec/srtdec.c @@ -59,6 +59,7 @@ static void

[FFmpeg-devel] [PATCH] lavc/srtdec: handle leading whitespace before tag names

2015-07-14 Thread Rodger Combs
This fixes cases like `/ font`. I'm not particularly happy with this solution, but anything better would need to be part of a larger cleanup. --- libavcodec/srtdec.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavcodec/srtdec.c b/libavcodec/srtdec.c index

[FFmpeg-devel] [PATCH] lavu: Makefile: skip atomic.c if native atomics are available

2015-07-01 Thread Rodger Combs
This prevents a linker warning and skips a useless compilation --- libavutil/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavutil/Makefile b/libavutil/Makefile index abfd10f..6fa810e 100644 --- a/libavutil/Makefile +++ b/libavutil/Makefile @@ -78,7 +78,6 @@

[FFmpeg-devel] [PATCH] ffmpeg_opt: allow the user to ignore unused stream maps

2015-07-01 Thread Rodger Combs
--- ffmpeg_opt.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c index 5c2bd48..d374d89 100644 --- a/ffmpeg_opt.c +++ b/ffmpeg_opt.c @@ -231,6 +231,7 @@ static int opt_map(void *optctx, const char *opt, const char *arg) int

[FFmpeg-devel] [PATCH] ffmpeg_opt: allow the user to ignore unused stream maps

2015-06-30 Thread Rodger Combs
--- ffmpeg_opt.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c index a746405..11511d3 100644 --- a/ffmpeg_opt.c +++ b/ffmpeg_opt.c @@ -114,6 +114,7 @@ static int override_ffserver = 0; static int input_stream_potentially_available

<    1   2   3   4   5   6   7   8   >