]> git.sesse.net Git - ffmpeg/log
ffmpeg
11 years agolibx264: fix open GOP
Michael Niedermayer [Tue, 25 Sep 2012 22:32:50 +0000 (00:32 +0200)]
libx264: fix open GOP

Found-by: relaxed
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoconfigure: Fix 10l in 5ae9fa13f5ac640bec113120d540f70971aa635d
Derek Buitenhuis [Tue, 25 Sep 2012 22:21:14 +0000 (18:21 -0400)]
configure: Fix 10l in 5ae9fa13f5ac640bec113120d540f70971aa635d

Wrong version of the patch was pushed. MinGW32 supports vsnprint properly.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years agoMinGW: Use our snprintf/vsnprintf when MinGW's is broken
Derek Buitenhuis [Mon, 24 Sep 2012 22:44:20 +0000 (18:44 -0400)]
MinGW: Use our snprintf/vsnprintf when MinGW's is broken

All versions of MinGW-w64 prior to version 3, as well as
all versions of MinGW32 have broken implementations of
vsnprintf.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years agoffmpeg: avoid apics for video output if possible
Michael Niedermayer [Tue, 25 Sep 2012 22:02:19 +0000 (00:02 +0200)]
ffmpeg: avoid apics for video output if possible

Fixes Ticket1714

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffmpeg: factor area out of video stream selection code.
Michael Niedermayer [Tue, 25 Sep 2012 21:59:34 +0000 (23:59 +0200)]
ffmpeg: factor area out of video stream selection code.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agomlpdec: supress layout mismatch warnings for 2 ch upmixed mono
Michael Niedermayer [Tue, 25 Sep 2012 20:45:52 +0000 (22:45 +0200)]
mlpdec: supress layout mismatch warnings for 2 ch upmixed mono

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agomlpdec: discard a 2nd substream if the stream is mono
Michael Niedermayer [Tue, 25 Sep 2012 20:36:45 +0000 (22:36 +0200)]
mlpdec: discard a 2nd substream if the stream is mono

This fixes the rest of Ticket1726

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agomlp_parser: dont override existing channel geometry.
Michael Niedermayer [Tue, 25 Sep 2012 20:35:26 +0000 (22:35 +0200)]
mlp_parser: dont override existing channel geometry.

This prevents race conditions
And partly fixes Ticket1726

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoarm/h264: fix overreads in h264_chroma_mc8-and-h264_chroma_mc4
bruce-wu [Sat, 22 Sep 2012 05:02:15 +0000 (13:02 +0800)]
arm/h264: fix overreads in h264_chroma_mc8-and-h264_chroma_mc4

Fixes Ticket1227

11 years agodnxhdenc: fix speed regression
Michael Niedermayer [Tue, 25 Sep 2012 16:05:02 +0000 (18:05 +0200)]
dnxhdenc: fix speed regression

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agompegvideo: factorize ff_dct_encode_init()
Michael Niedermayer [Tue, 25 Sep 2012 16:04:36 +0000 (18:04 +0200)]
mpegvideo: factorize ff_dct_encode_init()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agodnxhdenc: remove redundant call to ff_dsputil_init()
Michael Niedermayer [Tue, 25 Sep 2012 15:45:51 +0000 (17:45 +0200)]
dnxhdenc: remove redundant call to ff_dsputil_init()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavcodec_alloc_frame: dont zero the whole struct twice
Michael Niedermayer [Tue, 25 Sep 2012 15:36:17 +0000 (17:36 +0200)]
avcodec_alloc_frame: dont zero the whole struct twice

cleaning it up is already done in avcodec_get_frame_defaults()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agooggparsetheora: print error when failing on unknown header
Michael Niedermayer [Tue, 25 Sep 2012 15:32:11 +0000 (17:32 +0200)]
oggparsetheora: print error when failing on unknown header

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Tue, 25 Sep 2012 14:11:34 +0000 (16:11 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  pthread: make sure AVFrame.extended_data is set properly.
  libfdk-aac: reindent after last commit
  libfdk-aac: Limit to supported sample rates.
  cbrt_tablegen: Include libm.h
  oggparsetheora: make it more robust
  ogg: prevent NULL pointer deference in theora gptopts

Conflicts:
libavformat/oggparsetheora.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agooggdec: add missing () for OGG_NOGRANULE_VALUE
Michael Niedermayer [Tue, 25 Sep 2012 14:03:55 +0000 (16:03 +0200)]
oggdec: add missing () for OGG_NOGRANULE_VALUE

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'd1f05dd18375f2f8e68372edee11436927e43ba8'
Michael Niedermayer [Tue, 25 Sep 2012 14:00:09 +0000 (16:00 +0200)]
Merge commit 'd1f05dd18375f2f8e68372edee11436927e43ba8'

* commit 'd1f05dd18375f2f8e68372edee11436927e43ba8':
  ogg: calculate the start position once all the headers are parsed

Conflicts:
libavformat/oggdec.c
libavformat/oggparseskeleton.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agooggdec: print a warning if the number of headers mismatch expectations.
Michael Niedermayer [Tue, 25 Sep 2012 13:34:58 +0000 (15:34 +0200)]
oggdec: print a warning if the number of headers mismatch expectations.

This is based on:
commit 7751e4693dd10ec98c20fbd9887233b575034272
Author: Luca Barbato <lu_zero@gentoo.org>

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agooggdec: print error when headers couldnt be parses successfully
Michael Niedermayer [Tue, 25 Sep 2012 13:22:05 +0000 (15:22 +0200)]
oggdec: print error when headers couldnt be parses successfully

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '7751e4693dd10ec98c20fbd9887233b575034272'
Michael Niedermayer [Tue, 25 Sep 2012 11:34:06 +0000 (13:34 +0200)]
Merge commit '7751e4693dd10ec98c20fbd9887233b575034272'

* commit '7751e4693dd10ec98c20fbd9887233b575034272':
  ogg: check that the expected number of headers had been parsed
  libx264: change default to closed gop to match x264cli
  Use avcodec_free_frame() to free AVFrames.
  lavf: use a malloced AVFrame in try_decode_frame().
  lavc: add avcodec_free_frame().
  lavc: ensure extended_data is set properly on decoding
  lavc: initialize AVFrame.extended_data in avcodec_get_frame_defaults()
  lavc: use av_mallocz to allocate AVFrames.
  lavc: rename the argument of avcodec_alloc_frame/get_frame_defaults

Conflicts:
doc/APIchanges
doc/examples/decoding_encoding.c
libavcodec/utils.c
libavcodec/version.h
libavfilter/src_movie.c
libavformat/oggdec.c
libavformat/oggdec.h
libavformat/oggparsetheora.c
libavformat/utils.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agopthread: make sure AVFrame.extended_data is set properly.
Anton Khirnov [Tue, 25 Sep 2012 06:08:28 +0000 (08:08 +0200)]
pthread: make sure AVFrame.extended_data is set properly.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years agoffprobe: drop pointless opaque parameter in writer init callback
Stefano Sabatini [Mon, 24 Sep 2012 14:42:09 +0000 (16:42 +0200)]
ffprobe: drop pointless opaque parameter in writer init callback

The parameter was never used.

11 years agoffprobe: reindent after previous commit
Stefano Sabatini [Mon, 24 Sep 2012 16:21:21 +0000 (18:21 +0200)]
ffprobe: reindent after previous commit

11 years agoffprobe: rework checking logic in writer_print_time() and writer_print_rational()
Stefano Sabatini [Mon, 24 Sep 2012 16:18:56 +0000 (18:18 +0200)]
ffprobe: rework checking logic in writer_print_time() and writer_print_rational()

Make writer_print_time() and writer_print_rational() always call
writer_print_int() or writer_print_string(). This way the checks for
determining if the value should be printed or not are consistently
performed in the low level functions.

writer_print_rational() is moved downward in order to avoid a forward
reference.

Simplify/amend the overall logic.

11 years agoFix two "skiping" typo.
Clément Bœsch [Tue, 25 Sep 2012 05:42:32 +0000 (07:42 +0200)]
Fix two "skiping" typo.

11 years agolibfdk-aac: reindent after last commit
Nathan Caldwell [Mon, 24 Sep 2012 23:03:22 +0000 (17:03 -0600)]
libfdk-aac: reindent after last commit

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agolibfdk-aac: Limit to supported sample rates.
Nathan Caldwell [Mon, 24 Sep 2012 23:02:44 +0000 (17:02 -0600)]
libfdk-aac: Limit to supported sample rates.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agocbrt_tablegen: Include libm.h
Derek Buitenhuis [Mon, 24 Sep 2012 23:22:15 +0000 (23:22 +0000)]
cbrt_tablegen: Include libm.h

Needed for cbrtf fallback on systems which lack it.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years agoffv1dec: change bitstream end check to a exact check instead of a +-1 check
Michael Niedermayer [Mon, 24 Sep 2012 02:58:24 +0000 (04:58 +0200)]
ffv1dec: change bitstream end check to a exact check instead of a +-1 check

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffv1: inject sentinels for RC->VLC transitions begining with 1.3
Michael Niedermayer [Mon, 24 Sep 2012 02:54:26 +0000 (04:54 +0200)]
ffv1: inject sentinels for RC->VLC transitions begining with 1.3

This breaks bitstream compatibility of 1.3 VLC streams
This fixes very rare errors in the RC stream at the transition point
to VLC.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffv1enc: fix RC slice sentinel
Michael Niedermayer [Mon, 24 Sep 2012 02:53:10 +0000 (04:53 +0200)]
ffv1enc: fix RC slice sentinel

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavf: dont add apic streams for demuxers that dont support it.
Michael Niedermayer [Tue, 25 Sep 2012 00:45:46 +0000 (02:45 +0200)]
lavf: dont add apic streams for demuxers that dont support it.

Fixes crash
Fixes ticket1730

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffprobe: Consider the chosen separator when doing CSV escaping
Alexander Strasser [Sun, 16 Sep 2012 23:51:53 +0000 (01:51 +0200)]
ffprobe: Consider the chosen separator when doing CSV escaping

Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
11 years agoffprobe: Rename variable in csv_escape_str()
Alexander Strasser [Sun, 16 Sep 2012 23:31:44 +0000 (01:31 +0200)]
ffprobe: Rename variable in csv_escape_str()

Sync to 3245be9 .

Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
11 years agoffprobe: Simplify CSV field quoting code
Alexander Strasser [Sun, 16 Sep 2012 23:26:11 +0000 (01:26 +0200)]
ffprobe: Simplify CSV field quoting code

Sync with bac1b31 .

Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
11 years agoARM: libswresample: NEON optimised generic fltp to s16 conversion
Mans Rullgard [Mon, 10 Sep 2012 14:47:00 +0000 (15:47 +0100)]
ARM: libswresample: NEON optimised generic fltp to s16 conversion

Adapted to swr by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoswr: make sure the last data element is NULL so we can use it to detect the number...
Michael Niedermayer [Mon, 24 Sep 2012 20:52:36 +0000 (22:52 +0200)]
swr: make sure the last data element is NULL so we can use it to detect the number of channels

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoARM: libswresample: NEON optimised stereo fltp to s16 conversion
Mans Rullgard [Mon, 10 Sep 2012 14:47:00 +0000 (15:47 +0100)]
ARM: libswresample: NEON optimised stereo fltp to s16 conversion

Adaption to swr by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoARM: libswresample: NEON optimised flat float to s16 conversion
Mans Rullgard [Sun, 9 Sep 2012 18:25:43 +0000 (19:25 +0100)]
ARM: libswresample: NEON optimised flat float to s16 conversion

Adapted to swr by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoogg: calculate the start position once all the headers are parsed
Luca Barbato [Wed, 19 Sep 2012 23:07:09 +0000 (01:07 +0200)]
ogg: calculate the start position once all the headers are parsed

The fisbone packets can be muxed in any order as long the last one
comes before the first data packet.

11 years agoogg: check that the expected number of headers had been parsed
Luca Barbato [Wed, 19 Sep 2012 23:01:43 +0000 (01:01 +0200)]
ogg: check that the expected number of headers had been parsed

Not having the header for a codec is a tell-tale of a broken file.

11 years agooggparsetheora: make it more robust
Luca Barbato [Wed, 19 Sep 2012 23:33:47 +0000 (01:33 +0200)]
oggparsetheora: make it more robust

11 years agoogg: prevent NULL pointer deference in theora gptopts
Michael Niedermayer [Fri, 23 Mar 2012 02:43:30 +0000 (03:43 +0100)]
ogg: prevent NULL pointer deference in theora gptopts

Additional safety in case a special ogg stream is crafted
with the proper number of

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavf/utils: remove loop on AVERROR(EAGAIN) in av_read_frame()
Stefano Sabatini [Mon, 24 Sep 2012 18:38:14 +0000 (20:38 +0200)]
lavf/utils: remove loop on AVERROR(EAGAIN) in av_read_frame()

The loop was introduced in 64d340c62ad5954c1a834df2d26057135e771774, and
was likely breaking non blocking reads as it busy loops.

11 years agolibx264: change default to closed gop to match x264cli
John Van Sickle [Sat, 22 Sep 2012 18:41:16 +0000 (14:41 -0400)]
libx264: change default to closed gop to match x264cli

open-gop can be enabled with "-flags -cgop"

Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years agofate: fix --disable-ffprobe
Michael Niedermayer [Mon, 24 Sep 2012 16:20:29 +0000 (18:20 +0200)]
fate: fix --disable-ffprobe

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavc/mmvideo: forward reget_buffer return value in mm_decode_frame()
Stefano Sabatini [Wed, 25 Jul 2012 06:43:56 +0000 (08:43 +0200)]
lavc/mmvideo: forward reget_buffer return value in mm_decode_frame()

11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Mon, 24 Sep 2012 11:53:32 +0000 (13:53 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  rtp: Packetization of JPEG (RFC 2435)
  smoothstreamingenc: Copy the SAR on the AVStreams as well

Conflicts:
Changelog
libavformat/rtpenc.c
libavformat/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoppc/cpu: make linux 32bit specific altivec detection depend on __linux__
Michael Niedermayer [Mon, 24 Sep 2012 11:24:00 +0000 (13:24 +0200)]
ppc/cpu: make linux 32bit specific altivec detection depend on __linux__

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoconfigure: enable runtime cpu detect by default.
Michael Niedermayer [Fri, 21 Sep 2012 16:01:33 +0000 (18:01 +0200)]
configure: enable runtime cpu detect by default.

with the exception of libpostproc runtime_cpudetect = no is not
supported thus having no as default really is quite odd, it results in
a libpostproc where HAVE_MMX* have very different meaning from the
rest of ffmpeg and it breaks any x86 cpu that doesnt support mmx2
because mmx2 is hardcoded as a result

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoUse avcodec_free_frame() to free AVFrames.
Anton Khirnov [Fri, 21 Sep 2012 07:10:23 +0000 (09:10 +0200)]
Use avcodec_free_frame() to free AVFrames.

11 years agolavf: use a malloced AVFrame in try_decode_frame().
Anton Khirnov [Fri, 21 Sep 2012 07:09:01 +0000 (09:09 +0200)]
lavf: use a malloced AVFrame in try_decode_frame().

This allows using avcodec_free_frame() to free it properly.

11 years agolavc: add avcodec_free_frame().
Anton Khirnov [Fri, 21 Sep 2012 07:07:02 +0000 (09:07 +0200)]
lavc: add avcodec_free_frame().

Since an AVFrame now has malloced members (extended_data), it must have
a destructor.

11 years agolavc: ensure extended_data is set properly on decoding
Anton Khirnov [Fri, 21 Sep 2012 07:04:12 +0000 (09:04 +0200)]
lavc: ensure extended_data is set properly on decoding

11 years agolavc: initialize AVFrame.extended_data in avcodec_get_frame_defaults()
Anton Khirnov [Fri, 21 Sep 2012 06:30:42 +0000 (08:30 +0200)]
lavc: initialize AVFrame.extended_data in avcodec_get_frame_defaults()

11 years agolavc: use av_mallocz to allocate AVFrames.
Anton Khirnov [Mon, 24 Sep 2012 05:17:13 +0000 (07:17 +0200)]
lavc: use av_mallocz to allocate AVFrames.

Otherwise the frame is uninitialized, so avcodec_get_frame_defaults()
cannot determine whether to free extended_data.

11 years agolavc: rename the argument of avcodec_alloc_frame/get_frame_defaults
Anton Khirnov [Fri, 21 Sep 2012 06:28:49 +0000 (08:28 +0200)]
lavc: rename the argument of avcodec_alloc_frame/get_frame_defaults

AVFrame is used for both audio and video, so calling the argument 'pic'
is misleading.

11 years agolavc/roqvideodec: fix error message
Stefano Sabatini [Sun, 9 Sep 2012 09:12:14 +0000 (11:12 +0200)]
lavc/roqvideodec: fix error message

Remove redundant reference to codec name, it is already mentioned in the
log header.

11 years agolavc/roqvideodec: propagate reget_buffer() error code
Stefano Sabatini [Sun, 9 Sep 2012 09:11:43 +0000 (11:11 +0200)]
lavc/roqvideodec: propagate reget_buffer() error code

11 years agolavc/roqvideodec: remove useless headers
Stefano Sabatini [Sun, 9 Sep 2012 09:10:05 +0000 (11:10 +0200)]
lavc/roqvideodec: remove useless headers

11 years agotests/fate-ffprobe: fix typo in metadata comment
Stefano Sabatini [Mon, 24 Sep 2012 08:32:52 +0000 (10:32 +0200)]
tests/fate-ffprobe: fix typo in metadata comment

11 years agotests/fate-ffprobe: use an ffmetadata file for the injected metadata
Stefano Sabatini [Sun, 23 Sep 2012 23:27:36 +0000 (01:27 +0200)]
tests/fate-ffprobe: use an ffmetadata file for the injected metadata

Workaround commandline msys issues, also allow more flexibility.
Should fix ffprobe tests on mingw+MSVC.

11 years agolavf/utils: add error check in av_read_frame()
Stefano Sabatini [Sun, 23 Sep 2012 22:33:15 +0000 (00:33 +0200)]
lavf/utils: add error check in av_read_frame()

In particular, fix crash when the input file contains no packets (e.g. an
ffmeta input).

11 years agora144: factor division out
Michael Niedermayer [Sun, 23 Sep 2012 16:30:41 +0000 (18:30 +0200)]
ra144: factor division out

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agocmdutils: sort codec lists.
Nicolas George [Sat, 22 Sep 2012 17:26:27 +0000 (19:26 +0200)]
cmdutils: sort codec lists.

The lists are sorted first by type (video first)
and then alphabetically by name.

Fix ticket #1669.

11 years agortp: Packetization of JPEG (RFC 2435)
Samuel Pitoiset [Sun, 23 Sep 2012 14:17:41 +0000 (16:17 +0200)]
rtp: Packetization of JPEG (RFC 2435)

11 years agosmoothstreamingenc: Copy the SAR on the AVStreams as well
Martin Storsjö [Sat, 22 Sep 2012 21:18:23 +0000 (00:18 +0300)]
smoothstreamingenc: Copy the SAR on the AVStreams as well

This is required in chained muxers, if the SAR happens to be set.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoconfigure: disable VDA on ppc, fix build
Sebastien Zwickert [Sun, 23 Sep 2012 15:25:36 +0000 (17:25 +0200)]
configure: disable VDA on ppc, fix build

Fixes Ticket1760

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoDocument why we always send a Range HTTP header.
Reimar Döffinger [Sun, 23 Sep 2012 13:26:56 +0000 (15:26 +0200)]
Document why we always send a Range HTTP header.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
11 years agoDocument that the MPEG12 "fast" functions can read out of bounds.
Reimar Döffinger [Sat, 15 Sep 2012 16:22:21 +0000 (18:22 +0200)]
Document that the MPEG12 "fast" functions can read out of bounds.

This is intentional (and a reason why fast usually should not be used),
but a few people sent patches to "fix" this recently so it would be
better to document this.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
11 years agoWebVTT demuxer and decoder.
Clément Bœsch [Sat, 1 Sep 2012 12:34:24 +0000 (14:34 +0200)]
WebVTT demuxer and decoder.

11 years agoIntroducing speex RTP demuxing (RFC 5574)
Dmitry Samonenko [Sat, 22 Sep 2012 10:39:03 +0000 (14:39 +0400)]
Introducing speex RTP demuxing (RFC 5574)

RTPDynamicProtocolHandler for speex is added. Initial support for
speex depacketization from RTP stream comes with it.
Currently, only codec audio rate can be applied based on sdp:
* Narrowband    ( 8K)
* Wideband      (16K)
* Ultrawideband (32K)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoAdd initial support for speex RTP packetization (RFC 5574)
Dmitry Samonenko [Sat, 22 Sep 2012 10:32:37 +0000 (14:32 +0400)]
Add initial support for speex RTP packetization (RFC 5574)

* libspeex audio codec is no longer considered unsupported
  when using rtp as output format.
* SDP rtpmap is added for speex payload, formatted according to RFC

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sun, 23 Sep 2012 11:55:43 +0000 (13:55 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  avcodec: fix memleak in avcodec_encode_audio2()

Conflicts:
libavcodec/utils.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoRevert "http: only send range header when necessary"
Michael Niedermayer [Sun, 23 Sep 2012 11:21:35 +0000 (13:21 +0200)]
Revert "http: only send range header when necessary"

This reverts commit 48cf0f1c18f2f91363601c94177c71bc3ac13b8e.
This can cause problems with seekability detection

11 years agolavf/find_stream_info: make sure we decode at least one frame for DTS
Michael Niedermayer [Sun, 23 Sep 2012 02:56:51 +0000 (04:56 +0200)]
lavf/find_stream_info: make sure we decode at least one frame for DTS

The channel layout at the demuxer layer is commonly wrong and would
otherwise be used.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavf: dont open a decoder at the top of find_stream_info before probing has finished
Michael Niedermayer [Sun, 23 Sep 2012 02:49:59 +0000 (04:49 +0200)]
lavf: dont open a decoder at the top of find_stream_info before probing has finished

It could open the wrong decoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agohttp: only send range header when necessary
Duncan Salerno [Sat, 22 Sep 2012 20:17:36 +0000 (21:17 +0100)]
http: only send range header when necessary

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agohttp: larger buffer for long URIs
Duncan Salerno [Sat, 22 Sep 2012 20:17:36 +0000 (21:17 +0100)]
http: larger buffer for long URIs

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agobitmap header lookup: add code comment
rogerdpack [Fri, 21 Sep 2012 19:26:02 +0000 (13:26 -0600)]
bitmap header lookup: add code comment

Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agowav: Fix DTS detection
Michael Niedermayer [Sat, 22 Sep 2012 23:16:57 +0000 (01:16 +0200)]
wav: Fix DTS detection

Fixes Ticket1474

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavf: document request_probe properly
Michael Niedermayer [Sat, 22 Sep 2012 23:07:15 +0000 (01:07 +0200)]
lavf: document request_probe properly

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavf: allow using request_probe as a score threshold to accept a codec
Michael Niedermayer [Sat, 22 Sep 2012 23:06:07 +0000 (01:06 +0200)]
lavf: allow using request_probe as a score threshold to accept a codec

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavfi: add asendcmd and sendcmd filters
Stefano Sabatini [Mon, 13 Aug 2012 18:13:26 +0000 (20:13 +0200)]
lavfi: add asendcmd and sendcmd filters

11 years agolavfi/hue: simplify/fix setting logic in set_options()
Stefano Sabatini [Sat, 22 Sep 2012 22:26:30 +0000 (00:26 +0200)]
lavfi/hue: simplify/fix setting logic in set_options()

Parse expression only when a new value is explicitly specified.

In particular, avoid double free in case an old expression value is
cached, it is set in the context, it is freed as the old value, and
finally the pointer stored in the context is freed again when the filter
is released.

11 years agoffmpeg: fix 10l (use of uninitilaized variable)
Michael Niedermayer [Sat, 22 Sep 2012 20:09:41 +0000 (22:09 +0200)]
ffmpeg: fix 10l (use of uninitilaized variable)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffmpeg: remove now unneeded old *_codec_name code
Michael Niedermayer [Sat, 22 Sep 2012 16:20:59 +0000 (18:20 +0200)]
ffmpeg: remove now unneeded old *_codec_name code

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffmpeg/opt_output_file: extract subtitle codec name through new API
Michael Niedermayer [Sat, 22 Sep 2012 16:57:47 +0000 (18:57 +0200)]
ffmpeg/opt_output_file: extract subtitle codec name through new API

This should fix specifying subtitle codecs with the new syntax in some cases.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffmpeg: dont match unspecified media types in MATCH_PER_TYPE_OPT
Michael Niedermayer [Sat, 22 Sep 2012 16:56:10 +0000 (18:56 +0200)]
ffmpeg: dont match unspecified media types in MATCH_PER_TYPE_OPT

This would change existing behavior, and should if done, done seperately.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffmpeg/opt_preset: update to new option API for reading codec names.
Michael Niedermayer [Sat, 22 Sep 2012 16:16:49 +0000 (18:16 +0200)]
ffmpeg/opt_preset: update to new option API for reading codec names.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffmpeg: fix overriding codecs with the new syntax
Michael Niedermayer [Sat, 22 Sep 2012 15:56:35 +0000 (17:56 +0200)]
ffmpeg: fix overriding codecs with the new syntax

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavcodec: fix memleak in avcodec_encode_audio2()
Justin Ruggles [Thu, 23 Aug 2012 17:47:25 +0000 (13:47 -0400)]
avcodec: fix memleak in avcodec_encode_audio2()

Ensure that padded_frame is freed before returning when needed.

11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sat, 22 Sep 2012 12:04:44 +0000 (14:04 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  sipr: fall back to setting mode based on bit_rate.

Conflicts:
libavcodec/sipr.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agorawdec: fix "warning: assignment from incompatible pointer type"
Michael Niedermayer [Sat, 22 Sep 2012 03:09:06 +0000 (05:09 +0200)]
rawdec: fix "warning: assignment from incompatible pointer type"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavfi/buffersink: fix check on pixel_fmts in the opaque parameter
Andrew Wason [Sat, 22 Sep 2012 08:59:40 +0000 (10:59 +0200)]
lavfi/buffersink: fix check on pixel_fmts in the opaque parameter

Fix programmatic selection of accepted pixel formats.

Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
11 years agotests: update fate-ffprobe test to make use of -bitexact flag
Stefano Sabatini [Sat, 22 Sep 2012 07:23:13 +0000 (09:23 +0200)]
tests: update fate-ffprobe test to make use of -bitexact flag

Should fix tests with --enable-small.

11 years agoffprobe: reindent after the previous commit
Stefano Sabatini [Sat, 22 Sep 2012 07:17:56 +0000 (09:17 +0200)]
ffprobe: reindent after the previous commit

11 years agoffprobe: add -bitexact boolean option
Stefano Sabatini [Fri, 21 Sep 2012 23:42:29 +0000 (01:42 +0200)]
ffprobe: add -bitexact boolean option

The option is mostly useful to make ffprobe output independent from the
build, and in particular to fix FATE --enable-small failures.

11 years agopnmdec: use explicit casts to remove const to avoid warning with clang
Michael Niedermayer [Sat, 22 Sep 2012 02:51:47 +0000 (04:51 +0200)]
pnmdec: use explicit casts to remove const to avoid warning with clang

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agortsp: fix "warning: ret may be used uninitialized in this function"
Michael Niedermayer [Sat, 22 Sep 2012 02:47:45 +0000 (04:47 +0200)]
rtsp: fix "warning: ret may be used uninitialized in this function"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>