ffmpeg.git
5 years agoavcodec/avuienc: Use ff_alloc_packet2()
Michael Niedermayer [Sun, 2 Aug 2015 18:24:30 +0000 (20:24 +0200)]
avcodec/avuienc: Use ff_alloc_packet2()

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agolibshine: Fix faulty ff_alloc_packet2 usage
Rico Tzschichholz [Sun, 2 Aug 2015 16:11:03 +0000 (18:11 +0200)]
libshine: Fix faulty ff_alloc_packet2 usage

5 years agoavcodec/xfaceenc: remove coded_frame usage
Paul B Mahol [Sun, 2 Aug 2015 16:41:12 +0000 (18:41 +0200)]
avcodec/xfaceenc: remove coded_frame usage

5 years agoavfilter: add atadenoise
Paul B Mahol [Wed, 29 Jul 2015 17:04:28 +0000 (19:04 +0200)]
avfilter: add atadenoise

5 years agoavfilter: add allyuv source filter
Paul B Mahol [Thu, 23 Jul 2015 07:07:26 +0000 (07:07 +0000)]
avfilter: add allyuv source filter

Signed-off-by: Paul B Mahol <onemda@gmail.com>
5 years agoavfilter/vf_deband: add mising slice thread flag
Paul B Mahol [Sun, 2 Aug 2015 12:00:34 +0000 (14:00 +0200)]
avfilter/vf_deband: add mising slice thread flag

5 years agoavfilter/f_drawgraph: stop making foreground color transparent
Paul B Mahol [Sun, 2 Aug 2015 11:31:45 +0000 (13:31 +0200)]
avfilter/f_drawgraph: stop making foreground color transparent

5 years agoMAINTAINERS: Add myself as maintainer for dxva2 and Windows/MSVC
Hendrik Leppkes [Sat, 1 Aug 2015 09:11:14 +0000 (11:11 +0200)]
MAINTAINERS: Add myself as maintainer for dxva2 and Windows/MSVC

5 years agoavcodec/libutvideoenc: Remove coded_frame usage
Michael Niedermayer [Sun, 2 Aug 2015 10:48:23 +0000 (12:48 +0200)]
avcodec/libutvideoenc: Remove coded_frame usage

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoMerge commit '14e558024642638085ae2bbeffc6087612e6a3f9'
Hendrik Leppkes [Sun, 2 Aug 2015 10:40:53 +0000 (12:40 +0200)]
Merge commit '14e558024642638085ae2bbeffc6087612e6a3f9'

* commit '14e558024642638085ae2bbeffc6087612e6a3f9':
  opusdec: properly handle mismatching configurations in multichannel streams

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agoMerge commit 'fdbc544d29176ba69d67dd879df4696f0a19052e'
Hendrik Leppkes [Sun, 2 Aug 2015 10:32:10 +0000 (12:32 +0200)]
Merge commit 'fdbc544d29176ba69d67dd879df4696f0a19052e'

* commit 'fdbc544d29176ba69d67dd879df4696f0a19052e':
  asfdec: prevent the memory leak while reading metadata

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agoMerge commit 'ebaf571aca2dd6ce3caeeeec4210a3fccd47e7db'
Hendrik Leppkes [Sun, 2 Aug 2015 10:31:39 +0000 (12:31 +0200)]
Merge commit 'ebaf571aca2dd6ce3caeeeec4210a3fccd47e7db'

* commit 'ebaf571aca2dd6ce3caeeeec4210a3fccd47e7db':
  x86: dct: Disable dct32_float_sse on x86-64

Conflicts:
libavcodec/x86/dct32.asm
libavcodec/x86/dct_init.c

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agoMerge commit '979cb55103fa8e8274806e496901203742c686d1'
Hendrik Leppkes [Sun, 2 Aug 2015 10:29:30 +0000 (12:29 +0200)]
Merge commit '979cb55103fa8e8274806e496901203742c686d1'

* commit '979cb55103fa8e8274806e496901203742c686d1':
  hevc: Split the sei parsing in 3 functions

Conflicts:
libavcodec/hevc_sei.c

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agoMerge commit '043f46f5741e1a5caedf55d788e1a72aae3b7605'
Hendrik Leppkes [Sun, 2 Aug 2015 10:25:41 +0000 (12:25 +0200)]
Merge commit '043f46f5741e1a5caedf55d788e1a72aae3b7605'

* commit '043f46f5741e1a5caedf55d788e1a72aae3b7605':
  hevc: Use switch instead of if-nests in decode_nal_sei_message

Conflicts:
libavcodec/hevc_sei.c

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agoMerge commit '2cd841c0776535be56e4db67485fdd9509c9b9f4'
Hendrik Leppkes [Sun, 2 Aug 2015 10:18:40 +0000 (12:18 +0200)]
Merge commit '2cd841c0776535be56e4db67485fdd9509c9b9f4'

* commit '2cd841c0776535be56e4db67485fdd9509c9b9f4':
  hevc: Use a proper enum for the SEI values

Conflicts:
libavcodec/hevc_sei.c

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agotests/fate/mp3: Fix fate-mp3-float-extra_overread on mips-qemu
Michael Niedermayer [Sun, 2 Aug 2015 09:26:58 +0000 (11:26 +0200)]
tests/fate/mp3: Fix fate-mp3-float-extra_overread on mips-qemu

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoMerge commit '80ea66112817c719b476de8f7d8d3b325f4c7dd1'
Hendrik Leppkes [Sun, 2 Aug 2015 08:51:53 +0000 (10:51 +0200)]
Merge commit '80ea66112817c719b476de8f7d8d3b325f4c7dd1'

* commit '80ea66112817c719b476de8f7d8d3b325f4c7dd1':
  avcodec: h264: Extract decoder methods

Conflicts:
libavcodec/h264_sei.c

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agoMerge commit '33dc1913ab7aaefc991b3e665d1d0b5d0b088672'
Hendrik Leppkes [Sun, 2 Aug 2015 08:41:56 +0000 (10:41 +0200)]
Merge commit '33dc1913ab7aaefc991b3e665d1d0b5d0b088672'

* commit '33dc1913ab7aaefc991b3e665d1d0b5d0b088672':
  asfdec: remove improper assignement that caused wrong timestamps

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agoMerge commit '78491fe8cfed83d2aead95dafe26f0d3f999e961'
Hendrik Leppkes [Sun, 2 Aug 2015 08:41:45 +0000 (10:41 +0200)]
Merge commit '78491fe8cfed83d2aead95dafe26f0d3f999e961'

* commit '78491fe8cfed83d2aead95dafe26f0d3f999e961':
  asfdec: do not export empty metadata

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agoMerge commit '3e853ff7acc56b180950ab39e7282f1b938c8784'
Hendrik Leppkes [Sun, 2 Aug 2015 08:41:26 +0000 (10:41 +0200)]
Merge commit '3e853ff7acc56b180950ab39e7282f1b938c8784'

* commit '3e853ff7acc56b180950ab39e7282f1b938c8784':
  des: extend av_des_init() doxy

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agoMerge commit 'd9e8b47e3144262d6bc4681740411d4bdafad6ac'
Hendrik Leppkes [Sun, 2 Aug 2015 08:41:16 +0000 (10:41 +0200)]
Merge commit 'd9e8b47e3144262d6bc4681740411d4bdafad6ac'

* commit 'd9e8b47e3144262d6bc4681740411d4bdafad6ac':
  des: add av_des_alloc()

Conflicts:
libavutil/des.c

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agoMerge commit '5d8bea3bb2357bb304f8f771a4107039037c5549'
Hendrik Leppkes [Sun, 2 Aug 2015 08:39:37 +0000 (10:39 +0200)]
Merge commit '5d8bea3bb2357bb304f8f771a4107039037c5549'

* commit '5d8bea3bb2357bb304f8f771a4107039037c5549':
  xtea: add av_xtea_alloc()

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agoMerge commit 'b469832de993dabbfe037bef59c68e90e82ebca5'
Hendrik Leppkes [Sun, 2 Aug 2015 08:38:53 +0000 (10:38 +0200)]
Merge commit 'b469832de993dabbfe037bef59c68e90e82ebca5'

* commit 'b469832de993dabbfe037bef59c68e90e82ebca5':
  rc4: extend av_rc4_init() doxy

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agoMerge commit 'ae365453c370c85f278bff7fbf9e20d9d335cb2a'
Hendrik Leppkes [Sun, 2 Aug 2015 08:38:33 +0000 (10:38 +0200)]
Merge commit 'ae365453c370c85f278bff7fbf9e20d9d335cb2a'

* commit 'ae365453c370c85f278bff7fbf9e20d9d335cb2a':
  rc4: add av_rc4_alloc()

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agoMerge commit '7a7df34c91e16ea8936f59524145a2cdd6b790f9'
Hendrik Leppkes [Sun, 2 Aug 2015 08:38:12 +0000 (10:38 +0200)]
Merge commit '7a7df34c91e16ea8936f59524145a2cdd6b790f9'

* commit '7a7df34c91e16ea8936f59524145a2cdd6b790f9':
  blowfish: add av_blowfish_alloc()

Conflicts:
doc/APIchanges
libavutil/version.h

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agoMerge commit 'cd4d9df22738e6f147521ccb72c7930db6050914'
Hendrik Leppkes [Sun, 2 Aug 2015 08:34:18 +0000 (10:34 +0200)]
Merge commit 'cd4d9df22738e6f147521ccb72c7930db6050914'

* commit 'cd4d9df22738e6f147521ccb72c7930db6050914':
  asfdec: free AVDictionaries properly when closing the demuxer

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agoMerge commit '90e648c508fa6b97587ce62699a1449123f7d285'
Hendrik Leppkes [Sun, 2 Aug 2015 08:32:38 +0000 (10:32 +0200)]
Merge commit '90e648c508fa6b97587ce62699a1449123f7d285'

* commit '90e648c508fa6b97587ce62699a1449123f7d285':
  fate/mp3: use the f32le format as output

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agoopusdec: properly handle mismatching configurations in multichannel streams
Anton Khirnov [Mon, 27 Jul 2015 09:13:53 +0000 (11:13 +0200)]
opusdec: properly handle mismatching configurations in multichannel streams

The substreams can have different resampling delays, so an additional
level of buffering is needed to synchronize them.

Bug-Id: 876

5 years agoasfdec: prevent the memory leak while reading metadata
Alexandra Hájková [Fri, 31 Jul 2015 07:53:40 +0000 (09:53 +0200)]
asfdec: prevent the memory leak while reading metadata

Signed-off-by: Anton Khirnov <anton@khirnov.net>
5 years agox86: dct: Disable dct32_float_sse on x86-64
Henrik Gramner [Sat, 1 Aug 2015 15:12:48 +0000 (17:12 +0200)]
x86: dct: Disable dct32_float_sse on x86-64

There is an SSE2 implementation so the SSE version is never used. The "SSE"
version also happens to contain SSE2 instructions on x86-64.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
5 years agoavcodec/hevc_mp4toannexb_bsf: Remove ;;
Michael Niedermayer [Sun, 2 Aug 2015 01:52:37 +0000 (03:52 +0200)]
avcodec/hevc_mp4toannexb_bsf: Remove ;;

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavformat/mov: fix regression in processing .aax files
Vesselin Bontchev [Fri, 31 Jul 2015 10:16:08 +0000 (12:16 +0200)]
avformat/mov: fix regression in processing .aax files

Commit 0a551cbe introduced "activation_bytes" option, and not specifying
this option (while calling ffmpeg / ffprobe) causes the program to quit
early. Before this commit, ffprobe was capable of processing metadata in
.aax files.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavfilter/avf_showvolume: stop making output fully transparent
Paul B Mahol [Sat, 1 Aug 2015 17:36:10 +0000 (19:36 +0200)]
avfilter/avf_showvolume: stop making output fully transparent

5 years agoaacenc: add description to the 'aac_coder' option
Rostislav Pehlivanov [Sat, 1 Aug 2015 16:40:30 +0000 (17:40 +0100)]
aacenc: add description to the 'aac_coder' option

This commit adds a short description to the aac_coder option of the
AAC encoder in order to be consistent with the other options.
Generally, right now, the 'FAAC' method works fine with speech and
low broadband spectrum audio. 'Fast' is just as the name suggests.
'ANMR' still needs work and 'Twoloop', the default, works well with
every type of audio.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
5 years agohevc: Split the sei parsing in 3 functions
Luca Barbato [Sat, 1 Aug 2015 13:39:44 +0000 (15:39 +0200)]
hevc: Split the sei parsing in 3 functions

5 years agohevc: Use switch instead of if-nests in decode_nal_sei_message
Luca Barbato [Sat, 25 Jul 2015 13:26:29 +0000 (15:26 +0200)]
hevc: Use switch instead of if-nests in decode_nal_sei_message

Makes simpler to add support for more SEI types.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
5 years agohevc: Use a proper enum for the SEI values
Luca Barbato [Sat, 25 Jul 2015 13:26:28 +0000 (15:26 +0200)]
hevc: Use a proper enum for the SEI values

And use the correct value for decoded_picture_hash.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
5 years agoavcodec: h264: Extract decoder methods
David Holm [Fri, 31 Jul 2015 19:06:13 +0000 (21:06 +0200)]
avcodec: h264: Extract decoder methods

Extract two methods from decode_registered_user_data in order to improve
code readability. Also make the constant holding the allocation size a
64-bit unsigned integer so that the size comparison against INT_MAX makes
sense.

Bug-Id: CID1312090

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
5 years agoRevert "libavcodec/utils: av_get_exact_bits_per_sample fixed to return "1" for DSD...
Michael Niedermayer [Sat, 1 Aug 2015 01:25:04 +0000 (03:25 +0200)]
Revert "libavcodec/utils: av_get_exact_bits_per_sample fixed to return "1" for DSD codecs."

Requested-by: Ganesh Ajjanagadde <gajjanag@mit.edu> (original patch reviewer)
This reverts commit 293e25be615d43c9b611c4b04920ec0d245a7145.

5 years agoMerge branch 'simple_http_server_api_implementation' of http://git.klaxa.eu/git/ffmpeg
Michael Niedermayer [Sat, 1 Aug 2015 01:00:01 +0000 (03:00 +0200)]
Merge branch 'simple_http_server_api_implementation' of git.klaxa.eu/git/ffmpeg

Reviewed-by: Nicolas George <george@nsup.org>
Merged-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoaacenc: remove redundant argument from coder functions
Rostislav Pehlivanov [Wed, 29 Jul 2015 04:44:24 +0000 (05:44 +0100)]
aacenc: remove redundant argument from coder functions

This commit removes a redundant argument from the functions in aaccoder.
The argument lambda was redundant as it was just a copy of s->lambda,
to which all functions have access to anyway. This cleans up the function
pointers a bit which is helpful as there are a lot of other search_for_*
functions under development and with them populated it gets messy.

Reviewed-by: Claudio Freire <klaussfreire@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavcodec/libx264: expose nv21 input support
Yu Xiaolei [Fri, 31 Jul 2015 22:42:15 +0000 (06:42 +0800)]
avcodec/libx264: expose nv21 input support

libx264 added support for NV21 input recently.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agolibavcodec/utils: av_get_exact_bits_per_sample fixed to return "1" for DSD codecs.
Ihar A. Tumashyk [Fri, 31 Jul 2015 22:52:17 +0000 (01:52 +0300)]
libavcodec/utils: av_get_exact_bits_per_sample fixed to return "1" for DSD codecs.

All DSD codes have 1 bit per sample.
https://en.wikipedia.org/wiki/Direct_Stream_Digital

Signed-off-by: Ihar A. Tumashyk <itumashyk@gmail.com>
Reviewed-by: Ganesh Ajjanagadde <gajjanag@mit.edu>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agodoc/example: Add http multi-client example code
Stephan Holljes [Sat, 25 Jul 2015 00:07:15 +0000 (02:07 +0200)]
doc/example: Add http multi-client example code

Signed-off-by: Stephan Holljes <klaxa1337@googlemail.com>
5 years agodoc/protocols: document experimental mutli-client api
Stephan Holljes [Fri, 3 Jul 2015 00:38:20 +0000 (02:38 +0200)]
doc/protocols: document experimental mutli-client api

Signed-off-by: Stephan Holljes <klaxa1337@googlemail.com>
5 years agolavf/http: Implement server side network code.
Stephan Holljes [Fri, 3 Jul 2015 00:28:56 +0000 (02:28 +0200)]
lavf/http: Implement server side network code.

add http_accept,
add http_handshake and move handshake logic there,
handle connection closing.

Signed-off-by: Stephan Holljes <klaxa1337@googlemail.com>
5 years agolavf/tcp: increase range for listen and call the underlying socket operations accordingly
Stephan Holljes [Tue, 21 Jul 2015 04:11:10 +0000 (06:11 +0200)]
lavf/tcp: increase range for listen and call the underlying socket operations accordingly

Signed-off-by: Stephan Holljes <klaxa1337@googlemail.com>
5 years agolavf/tcp: add tcp_accept
Stephan Holljes [Tue, 21 Jul 2015 04:10:25 +0000 (06:10 +0200)]
lavf/tcp: add tcp_accept

Signed-off-by: Stephan Holljes <klaxa1337@googlemail.com>
5 years agolavf/avio: add avio_accept and avio_handshake
Stephan Holljes [Fri, 3 Jul 2015 00:25:51 +0000 (02:25 +0200)]
lavf/avio: add avio_accept and avio_handshake

Signed-off-by: Stephan Holljes <klaxa1337@googlemail.com>
5 years agolavf/avio: add ffurl_accept and ffurl_handshake
Stephan Holljes [Fri, 3 Jul 2015 00:24:18 +0000 (02:24 +0200)]
lavf/avio: add ffurl_accept and ffurl_handshake

Signed-off-by: Stephan Holljes <klaxa1337@googlemail.com>
5 years agolavf/network: split ff_listen_bind into ff_listen and ff_accept
Stephan Holljes [Fri, 3 Jul 2015 00:22:25 +0000 (02:22 +0200)]
lavf/network: split ff_listen_bind into ff_listen and ff_accept

Signed-off-by: Stephan Holljes <klaxa1337@googlemail.com>
5 years agoMAINTAINERS: update my maintership
Paul B Mahol [Fri, 31 Jul 2015 18:19:06 +0000 (20:19 +0200)]
MAINTAINERS: update my maintership

5 years agodshow: show more debug timestamp info
rogerdpack [Thu, 30 Jul 2015 21:55:19 +0000 (15:55 -0600)]
dshow: show more debug timestamp info

Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
5 years agoMAINTAINERS: Remove myself as leader
Michael Niedermayer [Fri, 31 Jul 2015 13:54:38 +0000 (15:54 +0200)]
MAINTAINERS: Remove myself as leader

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoMerge commit 'a0797950527120c85263c910eb6ba08fddcfdcb3'
Michael Niedermayer [Fri, 31 Jul 2015 09:56:22 +0000 (11:56 +0200)]
Merge commit 'a0797950527120c85263c910eb6ba08fddcfdcb3'

* commit 'a0797950527120c85263c910eb6ba08fddcfdcb3':
  fate/mp3: specify the number of output samples instead of filesize

Merged-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoasfdec: remove improper assignement that caused wrong timestamps
Alexandra Hájková [Mon, 27 Jul 2015 11:37:04 +0000 (13:37 +0200)]
asfdec: remove improper assignement that caused wrong timestamps

and remove unneeded variable

Sample-Id: https://samples.libav.org/asf-wmv/asf-code-53/movn018.asf

Signed-off-by: Anton Khirnov <anton@khirnov.net>
5 years agoasfdec: do not export empty metadata
Alexandra Hájková [Mon, 27 Jul 2015 17:42:15 +0000 (19:42 +0200)]
asfdec: do not export empty metadata

Signed-off-by: Anton Khirnov <anton@khirnov.net>
5 years agodes: extend av_des_init() doxy
James Almer [Fri, 31 Jul 2015 07:01:06 +0000 (09:01 +0200)]
des: extend av_des_init() doxy

Signed-off-by: Anton Khirnov <anton@khirnov.net>
5 years agodes: add av_des_alloc()
James Almer [Tue, 28 Jul 2015 19:57:49 +0000 (16:57 -0300)]
des: add av_des_alloc()

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
5 years agoxtea: add av_xtea_alloc()
James Almer [Tue, 28 Jul 2015 19:57:48 +0000 (16:57 -0300)]
xtea: add av_xtea_alloc()

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
5 years agorc4: extend av_rc4_init() doxy
James Almer [Fri, 31 Jul 2015 07:01:06 +0000 (09:01 +0200)]
rc4: extend av_rc4_init() doxy

Signed-off-by: Anton Khirnov <anton@khirnov.net>
5 years agorc4: add av_rc4_alloc()
James Almer [Tue, 28 Jul 2015 19:57:47 +0000 (16:57 -0300)]
rc4: add av_rc4_alloc()

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
5 years agoblowfish: add av_blowfish_alloc()
James Almer [Tue, 28 Jul 2015 19:57:46 +0000 (16:57 -0300)]
blowfish: add av_blowfish_alloc()

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
5 years agoasfdec: free AVDictionaries properly when closing the demuxer
Alexandra Hájková [Thu, 30 Jul 2015 17:59:25 +0000 (19:59 +0200)]
asfdec: free AVDictionaries properly when closing the demuxer

Signed-off-by: Anton Khirnov <anton@khirnov.net>
5 years agofate/mp3: use the f32le format as output
Anton Khirnov [Mon, 27 Jul 2015 19:49:17 +0000 (21:49 +0200)]
fate/mp3: use the f32le format as output

Those tests test the float decoder, so it is preferable to dump the
decoder output directly instead of converting it to s16.

5 years agofate/mp3: specify the number of output samples instead of filesize
Anton Khirnov [Mon, 27 Jul 2015 19:43:22 +0000 (21:43 +0200)]
fate/mp3: specify the number of output samples instead of filesize

This is not dependent on the output format.

5 years agoavformat/wavdec: add extra sample count check for G.729 files
Ganesh Ajjanagadde [Fri, 31 Jul 2015 00:33:28 +0000 (20:33 -0400)]
avformat/wavdec: add extra sample count check for G.729 files

Can be used to fix Ticket4577

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agomips/hevcdsp: fix string concatenation on macros
James Almer [Thu, 30 Jul 2015 22:28:02 +0000 (19:28 -0300)]
mips/hevcdsp: fix string concatenation on macros

Needed for old compilers like GCC 4.2

Tested by trac user brad. Fixes ticket #4745

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
5 years agox86/aacpsdsp: add SSE and SSE3 optimized functions
James Almer [Sat, 25 Jul 2015 16:10:25 +0000 (13:10 -0300)]
x86/aacpsdsp: add SSE and SSE3 optimized functions

Between 1.5 and 2.5 times faster

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
5 years agoRevert "ffmpeg: modify tty state when stderr is redirected"
Michael Niedermayer [Thu, 30 Jul 2015 20:58:35 +0000 (22:58 +0200)]
Revert "ffmpeg: modify tty state when stderr is redirected"

faults in fate otherwise breaks the terminal.
To reproduce, add a abort() into wav_read_header()
run make fate-acodec-adpcm-ima_wav

This reverts commit 92e62f49cf7440a9e8998d284528e223c0948c97.

5 years agoavcodec/r210enc: Drop coded_frame usage
Michael Niedermayer [Thu, 30 Jul 2015 17:57:58 +0000 (19:57 +0200)]
avcodec/r210enc: Drop coded_frame usage

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavcodec/avuienc: Drop coded_frame usage
Michael Niedermayer [Thu, 30 Jul 2015 17:57:07 +0000 (19:57 +0200)]
avcodec/avuienc: Drop coded_frame usage

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoMerge commit '764ec70149728be82304c163ccc4e280f1629201'
Michael Niedermayer [Thu, 30 Jul 2015 16:37:34 +0000 (18:37 +0200)]
Merge commit '764ec70149728be82304c163ccc4e280f1629201'

* commit '764ec70149728be82304c163ccc4e280f1629201':
  rtsp: Only interpret $ as interleaved packet indicator at the start of replies

Merged-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoMerge commit '6877537ff321136cf78ab03b8b91e6b6f218db5b'
Michael Niedermayer [Thu, 30 Jul 2015 16:28:43 +0000 (18:28 +0200)]
Merge commit '6877537ff321136cf78ab03b8b91e6b6f218db5b'

* commit '6877537ff321136cf78ab03b8b91e6b6f218db5b':
  hmac: add missing version bump and APIChanges entry

Conflicts:
libavutil/version.h

version.h is not changed as the code has been added 2 years ago in FFmpeg

See: 82ef67016ef731268ab7b8e91139bd5f16edc991
Merged-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoMerge commit '0c73a5a53cc97f4291bbe9e1e68226edf6161744'
Michael Niedermayer [Thu, 30 Jul 2015 15:42:19 +0000 (17:42 +0200)]
Merge commit '0c73a5a53cc97f4291bbe9e1e68226edf6161744'

* commit '0c73a5a53cc97f4291bbe9e1e68226edf6161744':
  hls: Save and forward avio options

Conflicts:
libavformat/hls.c

Merged-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoMerge commit '5ae178539b91d25710b7bb322d156c31aea9f8bf'
Michael Niedermayer [Thu, 30 Jul 2015 14:23:09 +0000 (16:23 +0200)]
Merge commit '5ae178539b91d25710b7bb322d156c31aea9f8bf'

* commit '5ae178539b91d25710b7bb322d156c31aea9f8bf':
  http: Add the trailing endlines if they are missing

Merged-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavcodec/y41penc: Drop coded_frame usage
Michael Niedermayer [Thu, 30 Jul 2015 14:14:23 +0000 (16:14 +0200)]
avcodec/y41penc: Drop coded_frame usage

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavcodec/yuv4enc: drop coded_frame usage
Michael Niedermayer [Thu, 30 Jul 2015 14:14:06 +0000 (16:14 +0200)]
avcodec/yuv4enc: drop coded_frame usage

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agortsp: Only interpret $ as interleaved packet indicator at the start of replies
Martin Storsjö [Wed, 21 Jan 2015 12:05:43 +0000 (13:05 +0100)]
rtsp: Only interpret $ as interleaved packet indicator at the start of replies

Allow $ as character anywhere within normal RTSP replies - both
within the lines, and as the first character of RTSP header lines.
(The existing old comment indicated that an inline packet could
start at any line within a RTSP reply header, but that doesn't
sound valid to me, and I'm not sure if the existing code
handled that correctly either.)

CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
5 years agoavcodec/v308enc: Remove coded_frame usage
Michael Niedermayer [Thu, 30 Jul 2015 13:54:45 +0000 (15:54 +0200)]
avcodec/v308enc: Remove coded_frame usage

coded_frame is deprecated

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavcodec/v408enc: remove coded_frame usage
Michael Niedermayer [Thu, 30 Jul 2015 13:53:54 +0000 (15:53 +0200)]
avcodec/v408enc: remove coded_frame usage

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agohmac: add missing version bump and APIChanges entry
James Almer [Thu, 30 Jul 2015 07:02:23 +0000 (04:02 -0300)]
hmac: add missing version bump and APIChanges entry

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
5 years agoffmpeg: modify tty state when stderr is redirected
Ganesh Ajjanagadde [Mon, 27 Jul 2015 13:56:25 +0000 (09:56 -0400)]
ffmpeg: modify tty state when stderr is redirected

This fixes Ticket2964

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoMerge commit 'bf0cef5c3a114df452e5476167634dd8f51eb448'
Michael Niedermayer [Thu, 30 Jul 2015 10:23:48 +0000 (12:23 +0200)]
Merge commit 'bf0cef5c3a114df452e5476167634dd8f51eb448'

* commit 'bf0cef5c3a114df452e5476167634dd8f51eb448':
  checkasm: Include io.h for isatty, if available

Merged-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoMerge commit '9487ffd4c02b9e261562d43735490068c0df0d4b'
Michael Niedermayer [Thu, 30 Jul 2015 10:14:13 +0000 (12:14 +0200)]
Merge commit '9487ffd4c02b9e261562d43735490068c0df0d4b'

* commit '9487ffd4c02b9e261562d43735490068c0df0d4b':
  rtmpproto: free hmac context properly

See: 6ce3d9fc4a70958680b93c6995cc87f34630a7e3
Merged-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agohls: Save and forward avio options
Luca Barbato [Thu, 23 Jul 2015 19:11:58 +0000 (21:11 +0200)]
hls: Save and forward avio options

Make possible to send the custom headers and override the user agent.

Reported-by: BenWonder
5 years agohttp: Add the trailing endlines if they are missing
Luca Barbato [Thu, 23 Jul 2015 19:14:09 +0000 (21:14 +0200)]
http: Add the trailing endlines if they are missing

Makes slightly easier the life of those want to use the option
from the command line

5 years agocheckasm: Include io.h for isatty, if available
Martin Storsjö [Wed, 29 Jul 2015 20:08:09 +0000 (23:08 +0300)]
checkasm: Include io.h for isatty, if available

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.

Signed-off-by: Martin Storsjö <martin@martin.st>
5 years agortmpproto: free hmac context properly
James Almer [Thu, 30 Jul 2015 03:00:01 +0000 (00:00 -0300)]
rtmpproto: free hmac context properly

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
5 years agoavcodec/mpegvideo_enc: Ignore QMAX if VBV constraints are exceeded
Michael Niedermayer [Thu, 30 Jul 2015 02:56:06 +0000 (04:56 +0200)]
avcodec/mpegvideo_enc: Ignore QMAX if VBV constraints are exceeded

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavcodec/mpeg12enc: extend QP range to 28 for non linear quantizers
Michael Niedermayer [Thu, 30 Jul 2015 02:42:16 +0000 (04:42 +0200)]
avcodec/mpeg12enc: extend QP range to 28 for non linear quantizers

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agolibvpxenc: report pict_type/error via side-data
James Zern [Wed, 29 Jul 2015 05:59:42 +0000 (22:59 -0700)]
libvpxenc: report pict_type/error via side-data

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Zern <jzern@google.com>
5 years agolibvpxenc: quiet coded_frame deprecation warnings
James Zern [Wed, 29 Jul 2015 05:44:54 +0000 (22:44 -0700)]
libvpxenc: quiet coded_frame deprecation warnings

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Zern <jzern@google.com>
5 years agoavformat/rtmpproto: free hmac context properly
James Almer [Thu, 30 Jul 2015 02:56:22 +0000 (23:56 -0300)]
avformat/rtmpproto: free hmac context properly

Signed-off-by: James Almer <jamrial@gmail.com>
5 years agoavfilter/vf_pnsr: fix author name
James Almer [Thu, 30 Jul 2015 01:28:09 +0000 (22:28 -0300)]
avfilter/vf_pnsr: fix author name

Signed-off-by: James Almer <jamrial@gmail.com>
5 years agodoc/APIchanges: fill in some missing things
Michael Niedermayer [Thu, 30 Jul 2015 01:08:40 +0000 (03:08 +0200)]
doc/APIchanges: fill in some missing things

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavutil/hmac: fix API/ABI compatibility with the fork
James Almer [Thu, 30 Jul 2015 00:05:15 +0000 (21:05 -0300)]
avutil/hmac: fix API/ABI compatibility with the fork

The test code is updated with some cosmetics to avoid the loop
using undefined AVHMACType values.
The old enum values will be removed in the next major bump, effectively
making both projects synced and without API or ABI issues.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
5 years agoMerge commit '65dd6a1f84cc5c9a91d279e8e8b72ff7adf58d31'
Michael Niedermayer [Wed, 29 Jul 2015 23:35:41 +0000 (01:35 +0200)]
Merge commit '65dd6a1f84cc5c9a91d279e8e8b72ff7adf58d31'

* commit '65dd6a1f84cc5c9a91d279e8e8b72ff7adf58d31':
  rtmpproto: use AVHMAC instead of a custom implementation

See: 6c87b866285fae0a45ab4d7162088428f60bd332
Merged-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoMerge commit 'e59f7cd89e7f4f096f8456d63191adec2f8b1083'
Michael Niedermayer [Wed, 29 Jul 2015 23:27:36 +0000 (01:27 +0200)]
Merge commit 'e59f7cd89e7f4f096f8456d63191adec2f8b1083'

* commit 'e59f7cd89e7f4f096f8456d63191adec2f8b1083':
  fate: add test vectors for HMAC SHA and SHA-2

Conflicts:
libavutil/hmac.c
tests/ref/fate/hmac

See: 1163910a00595f01f5f6aabd5d69b01925429401
Merged-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavutil/hmac: support another ABI difference to the fork
Michael Niedermayer [Wed, 29 Jul 2015 23:03:35 +0000 (01:03 +0200)]
avutil/hmac: support another ABI difference to the fork

spotted this and so adding it.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>