[libav-devel] [PATCH 4/7] des: add av_des_alloc()

2015-07-27 Thread James Almer
Signed-off-by: James Almer --- doc/APIchanges | 1 + libavutil/des.c | 13 + libavutil/des.h | 20 3 files changed, 34 insertions(+) diff --git a/doc/APIchanges b/doc/APIchanges index be5d4cf..66c9537 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -17,6 +1

[libav-devel] [PATCH 6/7] asfdec: use the new rc4/des alloc functions

2015-07-27 Thread James Almer
Signed-off-by: James Almer --- libavformat/asfcrypt.c | 35 --- libavformat/asfcrypt.h | 2 +- libavformat/asfdec.c | 12 3 files changed, 33 insertions(+), 16 deletions(-) diff --git a/libavformat/asfcrypt.c b/libavformat/asfcrypt.c index c261475.

[libav-devel] [PATCH 3/7] xtea: add av_xtea_alloc()

2015-07-27 Thread James Almer
Signed-off-by: James Almer --- doc/APIchanges | 1 + libavutil/xtea.c | 12 libavutil/xtea.h | 10 ++ 3 files changed, 23 insertions(+) diff --git a/doc/APIchanges b/doc/APIchanges index 3d40ec7..be5d4cf 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -16,6 +16,7 @@ A

[libav-devel] [PATCH 7/7] omadec: use the new des alloc function

2015-07-27 Thread James Almer
Signed-off-by: James Almer --- libavformat/omadec.c | 54 1 file changed, 38 insertions(+), 16 deletions(-) diff --git a/libavformat/omadec.c b/libavformat/omadec.c index 28276d9..e57140d 100644 --- a/libavformat/omadec.c +++ b/libavformat/oma

[libav-devel] [PATCH 5/7] rtmp: use the new blowfish/rc4/xtea alloc functions

2015-07-27 Thread James Almer
Signed-off-by: James Almer --- libavformat/rtmpcrypt.c | 66 +++-- libavformat/rtmpcrypt.h | 5 ++-- libavformat/rtmpproto.c | 15 ++- 3 files changed, 54 insertions(+), 32 deletions(-) diff --git a/libavformat/rtmpcrypt.c b/libavformat/rtmpcr

[libav-devel] [PATCH 0/7] blowfish/dec/rc4/xtea updates

2015-07-27 Thread James Almer
This set aims at making the API of these four modules more consistent with the rest of libavutil crypto stuff by adding alloc functions as well as making the contexts opaque starting with the next lavu major version. The last three patches are untested as i don't have access to an rtmpe stream or

[libav-devel] [PATCH 2/7] rc4: add av_rc4_alloc()

2015-07-27 Thread James Almer
Signed-off-by: James Almer --- doc/APIchanges | 1 + libavutil/rc4.c | 13 + libavutil/rc4.h | 21 + 3 files changed, 35 insertions(+) diff --git a/doc/APIchanges b/doc/APIchanges index 4db1a3c..3d40ec7 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -15,6 +

[libav-devel] [PATCH 1/7] blowfish: add av_blowfish_alloc()

2015-07-27 Thread James Almer
Signed-off-by: James Almer --- doc/APIchanges | 3 +++ libavutil/blowfish.c | 15 +++ libavutil/blowfish.h | 10 ++ libavutil/version.h | 5 - 4 files changed, 32 insertions(+), 1 deletion(-) diff --git a/doc/APIchanges b/doc/APIchanges index 4ee7f41..4db1a3c 100

Re: [libav-devel] [PATCH] asfdec: do not export empty metadata

2015-07-27 Thread Luca Barbato
On 27/07/15 19:42, Alexandra Hájková wrote: > --- > libavformat/asfdec.c | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c > index a73e82e..3f039f1 100644 > --- a/libavformat/asfdec.c > +++ b/libavformat/asfdec.c > @@ -255,8

Re: [libav-devel] [PATCH] dxva2/d3d11va: Set _WIN32_WINNT to 0x0602 instead of 0x0600

2015-07-27 Thread Martin Storsjö
On Sun, 26 Jul 2015, Martin Storsjö wrote: If _WIN32_WINNT is unset, we force it to a new enough value to make sure the necessary definitions are visible. When targeting Windows Phone or Windows RT, _WIN32_WINNT should be at least 0x0602 - otherwise the windows headers themselves can cause erro

[libav-devel] [PATCH] asfdec: do not export empty metadata

2015-07-27 Thread Alexandra Hájková
--- libavformat/asfdec.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c index a73e82e..3f039f1 100644 --- a/libavformat/asfdec.c +++ b/libavformat/asfdec.c @@ -255,8 +255,10 @@ static int asf_read_metadata(AVFormatContext *s, c

Re: [libav-devel] [PATCH 1/6] nut: Support HEVC

2015-07-27 Thread Luca Barbato
On 27/07/15 18:05, Anton Khirnov wrote: > Quoting Luca Barbato (2015-07-27 17:55:48) >> On 27/07/15 16:24, Anton Khirnov wrote: >>> Quoting Luca Barbato (2015-07-25 15:26:27) --- libavformat/nut.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/nut.c b/libav

Re: [libav-devel] [PATCH 1/6] nut: Support HEVC

2015-07-27 Thread Anton Khirnov
Quoting Luca Barbato (2015-07-27 17:55:48) > On 27/07/15 16:24, Anton Khirnov wrote: > > Quoting Luca Barbato (2015-07-25 15:26:27) > >> --- > >> libavformat/nut.c | 1 + > >> 1 file changed, 1 insertion(+) > >> > >> diff --git a/libavformat/nut.c b/libavformat/nut.c > >> index 828d9ca..beb27fc 10

Re: [libav-devel] [PATCH] fate: Add hap-chunk ref file

2015-07-27 Thread Luca Barbato
On 27/07/15 17:56, Vittorio Giovara wrote: > Missing from the push of 3ee217853a6741b829a2683f49c590618891b1ab. > --- > tests/ref/fate/hap-chunk | 2 ++ > 1 file changed, 2 insertions(+) > create mode 100644 tests/ref/fate/hap-chunk > > diff --git a/tests/ref/fate/hap-chunk b/tests/ref/fate/hap-

[libav-devel] [PATCH] fate: Add hap-chunk ref file

2015-07-27 Thread Vittorio Giovara
Missing from the push of 3ee217853a6741b829a2683f49c590618891b1ab. --- tests/ref/fate/hap-chunk | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 tests/ref/fate/hap-chunk diff --git a/tests/ref/fate/hap-chunk b/tests/ref/fate/hap-chunk new file mode 100644 index 000..4f09d43 --- /de

Re: [libav-devel] [PATCH 2/6] hevc: Use a proper enum for the SEI values

2015-07-27 Thread Luca Barbato
On 27/07/15 16:05, Vittorio Giovara wrote: > On Sat, Jul 25, 2015 at 2:39 PM, Hendrik Leppkes wrote: >> On Sat, Jul 25, 2015 at 3:26 PM, Luca Barbato wrote: >>> And use the correct value for decoded_picture_hash. >>> --- >>> libavcodec/hevc_sei.c | 37 + >>> 1

Re: [libav-devel] [PATCH 1/6] nut: Support HEVC

2015-07-27 Thread Luca Barbato
On 27/07/15 16:24, Anton Khirnov wrote: > Quoting Luca Barbato (2015-07-25 15:26:27) >> --- >> libavformat/nut.c | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/libavformat/nut.c b/libavformat/nut.c >> index 828d9ca..beb27fc 100644 >> --- a/libavformat/nut.c >> +++ b/libavformat/nut.c

Re: [libav-devel] [PATCH] hap: Add utility functions file

2015-07-27 Thread Anton Khirnov
Quoting Vittorio Giovara (2015-07-27 17:21:52) > Missing from the push of 3ee217853a6741b829a2683f49c590618891b1ab. > --- ok. How does this even happen. -- Anton Khirnov ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailma

Re: [libav-devel] [PATCH] hap: Add utility functions file

2015-07-27 Thread Luca Barbato
On 27/07/15 17:21, Vittorio Giovara wrote: > Missing from the push of 3ee217853a6741b829a2683f49c590618891b1ab. > --- > libavcodec/hap.c | 55 +++ > 1 file changed, 55 insertions(+) > create mode 100644 libavcodec/hap.c > Ok.

[libav-devel] [PATCH] hap: Add utility functions file

2015-07-27 Thread Vittorio Giovara
Missing from the push of 3ee217853a6741b829a2683f49c590618891b1ab. --- libavcodec/hap.c | 55 +++ 1 file changed, 55 insertions(+) create mode 100644 libavcodec/hap.c diff --git a/libavcodec/hap.c b/libavcodec/hap.c new file mode 100644 index 0

Re: [libav-devel] [PATCH 2/2] Support the Hap chunked frame format

2015-07-27 Thread Vittorio Giovara
On Fri, Jul 24, 2015 at 5:05 PM, Vittorio Giovara wrote: > On Thu, Jul 23, 2015 at 7:39 PM, Tom Butterworth wrote: >> --- >> libavcodec/Makefile | 4 +- >> libavcodec/hap.c | 55 ++ >> libavcodec/hap.h | 37 ++- >> libavcodec/hapdec.c | 272 >> +

Re: [libav-devel] [PATCH 4/6] hevc: Validate the SEI payload size

2015-07-27 Thread Anton Khirnov
Quoting Luca Barbato (2015-07-25 15:26:30) > And use skip_bits_long instead of skip_bits. > > CC: libav-sta...@libav.org > --- > libavcodec/hevc_sei.c | 21 + > 1 file changed, 17 insertions(+), 4 deletions(-) Looks fine. -- Anton Khirnov ___

Re: [libav-devel] [PATCH 5/6] hevc: Split the sei parsing in 3 functions

2015-07-27 Thread Anton Khirnov
Quoting Luca Barbato (2015-07-25 15:26:31) > One for the common payload lenght validation and one for sei prefix > and suffix parsing. > --- Don't see much point in it, but no strong opinion either way. -- Anton Khirnov ___ libav-devel mailing list lib

Re: [libav-devel] [PATCH 3/6] hevc: Use switch instead of if-nests in decode_nal_sei_message

2015-07-27 Thread Anton Khirnov
Quoting Luca Barbato (2015-07-25 15:26:29) > Makes simpler to add support for more SEI types. > --- > libavcodec/hevc_sei.c | 36 ++-- > 1 file changed, 22 insertions(+), 14 deletions(-) > Ok I guess. -- Anton Khirnov

Re: [libav-devel] [PATCH 1/6] nut: Support HEVC

2015-07-27 Thread Kostya Shishkov
On Mon, Jul 27, 2015 at 04:24:12PM +0200, Anton Khirnov wrote: > Quoting Luca Barbato (2015-07-25 15:26:27) > > --- > > libavformat/nut.c | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/libavformat/nut.c b/libavformat/nut.c > > index 828d9ca..beb27fc 100644 > > --- a/libavformat/nu

Re: [libav-devel] [PATCH 1/6] nut: Support HEVC

2015-07-27 Thread Anton Khirnov
Quoting Luca Barbato (2015-07-25 15:26:27) > --- > libavformat/nut.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/libavformat/nut.c b/libavformat/nut.c > index 828d9ca..beb27fc 100644 > --- a/libavformat/nut.c > +++ b/libavformat/nut.c > @@ -40,6 +40,7 @@ const AVCodecTag ff_nut_data_

Re: [libav-devel] texturedsp: fix undefined shift

2015-07-27 Thread Anton Khirnov
Quoting Vittorio Giovara (2015-07-27 16:12:04) > On Sat, Jul 25, 2015 at 9:18 AM, Anton Khirnov wrote: > > Quoting Vittorio Giovara (2015-07-25 05:07:04) > >> From: James Almer > >> > >> Silences warnings when using -Wshift-overflow (GCC 6+). > >> > >> Signed-off-by: James Almer > >> --- > >> l

Re: [libav-devel] texturedsp: fix undefined shift

2015-07-27 Thread Vittorio Giovara
On Sat, Jul 25, 2015 at 9:18 AM, Anton Khirnov wrote: > Quoting Vittorio Giovara (2015-07-25 05:07:04) >> From: James Almer >> >> Silences warnings when using -Wshift-overflow (GCC 6+). >> >> Signed-off-by: James Almer >> --- >> libavcodec/texturedsp.c | 2 +- >> 1 file changed, 1 insertion(+),

Re: [libav-devel] [PATCH 1/6] nut: Support HEVC

2015-07-27 Thread Vittorio Giovara
On Sat, Jul 25, 2015 at 2:26 PM, Luca Barbato wrote: > --- > libavformat/nut.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/libavformat/nut.c b/libavformat/nut.c > index 828d9ca..beb27fc 100644 > --- a/libavformat/nut.c > +++ b/libavformat/nut.c > @@ -40,6 +40,7 @@ const AVCodecTag ff

Re: [libav-devel] [PATCH 2/6] hevc: Use a proper enum for the SEI values

2015-07-27 Thread Vittorio Giovara
On Sat, Jul 25, 2015 at 2:39 PM, Hendrik Leppkes wrote: > On Sat, Jul 25, 2015 at 3:26 PM, Luca Barbato wrote: >> And use the correct value for decoded_picture_hash. >> --- >> libavcodec/hevc_sei.c | 37 + >> 1 file changed, 33 insertions(+), 4 deletions(-) >>

Re: [libav-devel] [PATCH] asfdec: remove improper assignement that caused wrong timestemps

2015-07-27 Thread Vittorio Giovara
On Mon, Jul 27, 2015 at 12:37 PM, Alexandra Hájková wrote: > and remove unneeded variable > --- > annotation: > fixes https://samples.libav.org/asf-wmv/asf-code-53/movn018.asf Can the pusher use "Sample-Id: " same for other other patches? https://wiki.libav.org/GitCommit Thanks -- Vittorio _

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

2015-07-27 Thread Vittorio Giovara
On Mon, Jul 27, 2015 at 2:44 PM, Luca Barbato wrote: > On 27/07/15 15:35, Vittorio Giovara wrote: >> On Sat, Jul 25, 2015 at 4:59 PM, Luca Barbato wrote: >>> And restrict the string to ascii text. >>> >>> CC: libav-sta...@libav.org >>> --- >>> >>> libavcodec/h264_sei.c | 53 >>>

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

2015-07-27 Thread Luca Barbato
On 27/07/15 15:35, Vittorio Giovara wrote: > On Sat, Jul 25, 2015 at 4:59 PM, Luca Barbato wrote: >> And restrict the string to ascii text. >> >> CC: libav-sta...@libav.org >> --- >> >> libavcodec/h264_sei.c | 53 >> +-- >> 1 file changed, 43 inser

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

2015-07-27 Thread Vittorio Giovara
On Sat, Jul 25, 2015 at 4:59 PM, Luca Barbato wrote: > And restrict the string to ascii text. > > CC: libav-sta...@libav.org > --- > > libavcodec/h264_sei.c | 53 > +-- > 1 file changed, 43 insertions(+), 10 deletions(-) > > diff --git a/libavcodec

Re: [libav-devel] [PATCH] asfdec: remove improper assignement that caused wrong timestemps

2015-07-27 Thread Luca Barbato
On 27/07/15 13:37, Alexandra Hájková wrote: > and remove unneeded variable > --- > annotation: > fixes https://samples.libav.org/asf-wmv/asf-code-53/movn018.asf > > libavformat/asfdec.c | 3 --- > 1 file changed, 3 deletions(-) > Possibly ok, does fate change its values? lu ___

[libav-devel] [PATCH] asfdec: remove improper assignement that caused wrong timestemps

2015-07-27 Thread Alexandra Hájková
and remove unneeded variable --- annotation: fixes https://samples.libav.org/asf-wmv/asf-code-53/movn018.asf libavformat/asfdec.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c index 84543f30..a73e82e 100644 --- a/libavformat/asfdec.c +++ b/libav

[libav-devel] [PATCH] opusdec: properly handle mismatching configurations in multichannel streams

2015-07-27 Thread Anton Khirnov
The substreams can have different resampling delays, so an additional level of buffering is needed to synchronize them. Bug-Id: 876 --- libavcodec/opus.h| 10 + libavcodec/opusdec.c | 103 --- 2 files changed, 99 insertions(+), 14 deletions

Re: [libav-devel] [PATCH] opus: Flush on decoding failure

2015-07-27 Thread Anton Khirnov
Quoting Luca Barbato (2015-07-26 09:41:24) > Keep the resampling context always consistent > > Bug-Id: 876 > CC: libav-sta...@libav.org > --- > libavcodec/opusdec.c | 41 + > 1 file changed, 21 insertions(+), 20 deletions(-) > > diff --git a/libavcodec/opu

Re: [libav-devel] [PATCH] qsvdec_mpeg2: drop an incorrect comment

2015-07-27 Thread Luca Barbato
On 27/07/15 08:01, Anton Khirnov wrote: > It got copypasted from the h264 decoder, but it does not apply to mpeg2. > --- > libavcodec/qsvdec_mpeg2.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/libavcodec/qsvdec_mpeg2.c b/libavcodec/qsvdec_mpeg2.c > index 31bdf92..98318bd 100644 > ---

Re: [libav-devel] [PATCH] configure: Simplify, remove an unnecessary intermediate variable

2015-07-27 Thread Janne Grunau
On 2015-07-27 10:00:41 +0300, Martin Storsjö wrote: > This simplifies recently added code from 5fd553d31. > --- > configure | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/configure b/configure > index 215f5aa..dfab84d 100755 > --- a/configure > +++ b/configure > @@ -47

[libav-devel] [PATCH] configure: Simplify, remove an unnecessary intermediate variable

2015-07-27 Thread Martin Storsjö
This simplifies recently added code from 5fd553d31. --- configure | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configure b/configure index 215f5aa..dfab84d 100755 --- a/configure +++ b/configure @@ -4749,8 +4749,7 @@ EOF fi for pfx in "" host_; do -pfx_no_=${pfx%_}

Re: [libav-devel] [PATCH 09/10] configure: Only redefine inline to __inline for msvc if necessary

2015-07-27 Thread Martin Storsjö
On Mon, 27 Jul 2015, Janne Grunau wrote: On 2015-07-26 12:57:57 +0300, Martin Storsjö wrote: This isn't necessary on MSVC 2015 any longer. --- configure | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/configure b/configure index b67c4b5..ab174f2 100755 --- a/c