]> git.sesse.net Git - ffmpeg/log
ffmpeg
10 years agoMerge commit '62572435d4106098c090fb8f129a9090e41ff1eb'
Michael Niedermayer [Wed, 7 Aug 2013 10:04:59 +0000 (12:04 +0200)]
Merge commit '62572435d4106098c090fb8f129a9090e41ff1eb'

* commit '62572435d4106098c090fb8f129a9090e41ff1eb':
  rtpenc_chain: Check for errors from ffio_fdopen and ffio_open_dyn_packet_buf

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit 'f542dedf72091af8e6f32a12bd64289c58857c21'
Michael Niedermayer [Wed, 7 Aug 2013 09:51:45 +0000 (11:51 +0200)]
Merge commit 'f542dedf72091af8e6f32a12bd64289c58857c21'

* commit 'f542dedf72091af8e6f32a12bd64289c58857c21':
  rtspenc: Check the return value from ffio_open_dyn_packet_buf

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoconfigure: Add -lstdc++ to the requirements for linking with libgme.
Stephen Hutchinson [Wed, 7 Aug 2013 00:56:25 +0000 (20:56 -0400)]
configure: Add -lstdc++ to the requirements for linking with libgme.

Needed for cross-compiling with MinGW-w64

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavisynth: Exit gracefully when trying to serve video from v2.5.8.
Stephen Hutchinson [Wed, 7 Aug 2013 00:57:17 +0000 (20:57 -0400)]
avisynth: Exit gracefully when trying to serve video from v2.5.8.

'Fixes' ticket #2526 insofar as it stops 2.5.8 from crashing and
tells the user to upgrade to 2.6 if they want to make video input
work. A real solution to #2526 would be to get video input from
2.5.8 to work right.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavisynth: Cosmetics
Stephen Hutchinson [Wed, 7 Aug 2013 00:57:16 +0000 (20:57 -0400)]
avisynth: Cosmetics

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agortpenc_chain: Check for errors from ffio_fdopen and ffio_open_dyn_packet_buf
Martin Storsjö [Wed, 7 Aug 2013 07:20:07 +0000 (10:20 +0300)]
rtpenc_chain: Check for errors from ffio_fdopen and ffio_open_dyn_packet_buf

Signed-off-by: Martin Storsjö <martin@martin.st>
10 years agortspenc: Check the return value from ffio_open_dyn_packet_buf
Martin Storsjö [Wed, 7 Aug 2013 07:07:48 +0000 (10:07 +0300)]
rtspenc: Check the return value from ffio_open_dyn_packet_buf

Also clear the AVIOContext handle after freeing, to avoid
possible dangling pointers if the later call fails.

Signed-off-by: Martin Storsjö <martin@martin.st>
10 years agoMAINTAINERS: alphabetical sort
Michael Niedermayer [Wed, 7 Aug 2013 00:58:16 +0000 (02:58 +0200)]
MAINTAINERS: alphabetical sort

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMAINTAINERS: Add some maintainers for parts of libavutil
Michael Niedermayer [Sun, 4 Aug 2013 09:43:22 +0000 (11:43 +0200)]
MAINTAINERS: Add some maintainers for parts of libavutil

Developers added are active and in the copyright of the specified files,

If anyone wants to maintain anything else, send a patch that adds you to
MAINTAINERS.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavformat/utils: fix memleak with nobuffer
Michael Niedermayer [Tue, 6 Aug 2013 23:14:45 +0000 (01:14 +0200)]
avformat/utils: fix memleak with nobuffer

Fixes Ticket2802

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavutil/hmac: make const tables static const
Michael Niedermayer [Tue, 6 Aug 2013 18:30:55 +0000 (20:30 +0200)]
avutil/hmac: make const tables static const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavformat/spdifenc make const tables static const
Michael Niedermayer [Tue, 6 Aug 2013 18:30:36 +0000 (20:30 +0200)]
avformat/spdifenc make const tables static const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavformat/smoothstreamingenc: Make const tables static const
Michael Niedermayer [Tue, 6 Aug 2013 18:30:12 +0000 (20:30 +0200)]
avformat/smoothstreamingenc: Make const tables static const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agompegts: remove usage of MOD_UNLIKELY()
Michael Niedermayer [Tue, 6 Aug 2013 17:56:20 +0000 (19:56 +0200)]
mpegts: remove usage of MOD_UNLIKELY()

Its not needed and doing nothing is faster than doing a optimized MOD

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Tue, 6 Aug 2013 17:40:50 +0000 (19:40 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  pcm_bluray: Return AVERROR_INVALIDDATA instead of -1 on header errors

Conflicts:
libavcodec/pcm-mpeg.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '6fb65973c9501d3fe94a5a9195c01cd20083066e'
Michael Niedermayer [Tue, 6 Aug 2013 17:33:46 +0000 (19:33 +0200)]
Merge commit '6fb65973c9501d3fe94a5a9195c01cd20083066e'

* commit '6fb65973c9501d3fe94a5a9195c01cd20083066e':
  configure: Properly split dv1394 indev dependencies

Conflicts:
configure

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '61c31e4ee7ea79a9e74c0476b81244febf17e6d7'
Michael Niedermayer [Tue, 6 Aug 2013 17:29:02 +0000 (19:29 +0200)]
Merge commit '61c31e4ee7ea79a9e74c0476b81244febf17e6d7'

* commit '61c31e4ee7ea79a9e74c0476b81244febf17e6d7':
  configure: Properly set zlib dependencies for all components

Conflicts:
configure

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit 'a7d45e06e9757f49ea4e105cbefc3462a7324e9a'
Michael Niedermayer [Tue, 6 Aug 2013 17:21:29 +0000 (19:21 +0200)]
Merge commit 'a7d45e06e9757f49ea4e105cbefc3462a7324e9a'

* commit 'a7d45e06e9757f49ea4e105cbefc3462a7324e9a':
  configure: The W64 demuxer should select the WAV demuxer, not depend on it

Conflicts:
configure

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '406e6c0ba5393fa302080202fe77bd09187889a1'
Michael Niedermayer [Tue, 6 Aug 2013 17:03:33 +0000 (19:03 +0200)]
Merge commit '406e6c0ba5393fa302080202fe77bd09187889a1'

* commit '406e6c0ba5393fa302080202fe77bd09187889a1':
  configure: Properly split avserver component and system dependencies

Conflicts:
configure

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '255d9c570e117f0fcb8e51fa2c5996f3c4b2052b'
Michael Niedermayer [Tue, 6 Aug 2013 16:30:26 +0000 (18:30 +0200)]
Merge commit '255d9c570e117f0fcb8e51fa2c5996f3c4b2052b'

* commit '255d9c570e117f0fcb8e51fa2c5996f3c4b2052b':
  riff: Move demuxing code to a separate file.

Conflicts:
configure
libavformat/riff.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '3dd5c95deef51d7fbf6f4458ba42d1335d2f1472'
Michael Niedermayer [Tue, 6 Aug 2013 16:07:59 +0000 (18:07 +0200)]
Merge commit '3dd5c95deef51d7fbf6f4458ba42d1335d2f1472'

* commit '3dd5c95deef51d7fbf6f4458ba42d1335d2f1472':
  riff: Move muxing code to a separate file

Conflicts:
configure
libavformat/riff.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit 'fcc455ff2e11ed04603aead1984a92ac3a4be226'
Michael Niedermayer [Tue, 6 Aug 2013 16:01:03 +0000 (18:01 +0200)]
Merge commit 'fcc455ff2e11ed04603aead1984a92ac3a4be226'

* commit 'fcc455ff2e11ed04603aead1984a92ac3a4be226':
  avformat/dv: K&R formatting cosmetics

Conflicts:
libavformat/dv.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit 'abe5268c3328bf0e8fcfb7dc6e231b8920177c3a'
Michael Niedermayer [Tue, 6 Aug 2013 15:53:01 +0000 (17:53 +0200)]
Merge commit 'abe5268c3328bf0e8fcfb7dc6e231b8920177c3a'

* commit 'abe5268c3328bf0e8fcfb7dc6e231b8920177c3a':
  tcp: Use a different log message and level if there's more addresses to try

Conflicts:
libavformat/tcp.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '2a0ec47bd70ebb79e8b2d2f956feeb3a813df798'
Michael Niedermayer [Tue, 6 Aug 2013 15:20:47 +0000 (17:20 +0200)]
Merge commit '2a0ec47bd70ebb79e8b2d2f956feeb3a813df798'

* commit '2a0ec47bd70ebb79e8b2d2f956feeb3a813df798':
  unix: Convert from AVERROR to errno range before comparing error codes

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Tue, 6 Aug 2013 14:48:16 +0000 (16:48 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  avcodec/options: Drop deprecation warning suppression macros

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '971cce7ebb48a58e72e4dc57b3008e2682bcf4e7'
Michael Niedermayer [Tue, 6 Aug 2013 14:41:38 +0000 (16:41 +0200)]
Merge commit '971cce7ebb48a58e72e4dc57b3008e2682bcf4e7'

* commit '971cce7ebb48a58e72e4dc57b3008e2682bcf4e7':
  riff.h: Remove stray extern declaration for non-existing symbol

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '86f4c59bd676672040b89d8fea4c9e3b59bfe7ab'
Michael Niedermayer [Tue, 6 Aug 2013 14:36:25 +0000 (16:36 +0200)]
Merge commit '86f4c59bd676672040b89d8fea4c9e3b59bfe7ab'

* commit '86f4c59bd676672040b89d8fea4c9e3b59bfe7ab':
  twinvq: Split VQF-specific part from common TwinVQ decoder core

Conflicts:
libavcodec/Makefile
libavcodec/twinvq.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '4d8d16b596c63de85e52488734338fbb41238058'
Michael Niedermayer [Tue, 6 Aug 2013 14:29:28 +0000 (16:29 +0200)]
Merge commit '4d8d16b596c63de85e52488734338fbb41238058'

* commit '4d8d16b596c63de85e52488734338fbb41238058':
  twinvq: Prefix enums and defines shared with VoxWare MetaSound

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit 'bc909626b0a3c107625f2cb4c85479d18de422a8'
Michael Niedermayer [Tue, 6 Aug 2013 14:24:02 +0000 (16:24 +0200)]
Merge commit 'bc909626b0a3c107625f2cb4c85479d18de422a8'

* commit 'bc909626b0a3c107625f2cb4c85479d18de422a8':
  twinvq: move all bitstream reading into single place

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit 'a22ae9f0c579793f411e2bd7a8db557091a3a4ae'
Michael Niedermayer [Tue, 6 Aug 2013 14:14:33 +0000 (16:14 +0200)]
Merge commit 'a22ae9f0c579793f411e2bd7a8db557091a3a4ae'

* commit 'a22ae9f0c579793f411e2bd7a8db557091a3a4ae':
  mpegts: Remove one 64-bit integer modulus operation per packet

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '43bacd5b7d3d265a77cd29d8abb131057796aecc'
Michael Niedermayer [Tue, 6 Aug 2013 14:02:33 +0000 (16:02 +0200)]
Merge commit '43bacd5b7d3d265a77cd29d8abb131057796aecc'

* commit '43bacd5b7d3d265a77cd29d8abb131057796aecc':
  vc1: check mb_height validity.

See: b5f4836f8cb374f1a5ae45db48b61a1dfba0daad
Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '090cd0631140ac1a3a795d2adfac5dbf5e381aa2'
Michael Niedermayer [Tue, 6 Aug 2013 13:56:01 +0000 (15:56 +0200)]
Merge commit '090cd0631140ac1a3a795d2adfac5dbf5e381aa2'

* commit '090cd0631140ac1a3a795d2adfac5dbf5e381aa2':
  vc1: check the source buffer in vc1_mc functions

Conflicts:
libavcodec/vc1dec.c

See: 3a04c18d899d278eea551c216e5117974063062b
Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '9991298f2c4d9022ad56057f15d037e18d454157'
Michael Niedermayer [Tue, 6 Aug 2013 13:45:03 +0000 (15:45 +0200)]
Merge commit '9991298f2c4d9022ad56057f15d037e18d454157'

* commit '9991298f2c4d9022ad56057f15d037e18d454157':
  bink: Bound check the quantization matrix.

See: e70144cba13db208877e3b64802fc8835c72e82d
Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit 'bb9378251a167ef0116f263912e57f715c1e02ac'
Michael Niedermayer [Tue, 6 Aug 2013 13:39:59 +0000 (15:39 +0200)]
Merge commit 'bb9378251a167ef0116f263912e57f715c1e02ac'

* commit 'bb9378251a167ef0116f263912e57f715c1e02ac':
  network: Use SOCK_CLOEXEC when available

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '605387582bd35920b83a26dabbe1c0601f425621'
Michael Niedermayer [Tue, 6 Aug 2013 13:32:12 +0000 (15:32 +0200)]
Merge commit '605387582bd35920b83a26dabbe1c0601f425621'

* commit '605387582bd35920b83a26dabbe1c0601f425621':
  lavf: Support unix sockets

Conflicts:
configure

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit 'bc54c2ae3ca6abd225dc331eafc12108513158de'
Michael Niedermayer [Tue, 6 Aug 2013 13:26:04 +0000 (15:26 +0200)]
Merge commit 'bc54c2ae3ca6abd225dc331eafc12108513158de'

* commit 'bc54c2ae3ca6abd225dc331eafc12108513158de':
  libx264: add shortcut for the bluray compatibility option

Conflicts:
doc/encoders.texi

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit 'c84ea750cf765c9d8845fca5546eb0ae25b9c855'
Michael Niedermayer [Tue, 6 Aug 2013 13:16:26 +0000 (15:16 +0200)]
Merge commit 'c84ea750cf765c9d8845fca5546eb0ae25b9c855'

* commit 'c84ea750cf765c9d8845fca5546eb0ae25b9c855':
  mpegts: Make discard_pid() faster for single-program streams

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit 'cabb1681697555e2c319c37c1f30f149207e9434'
Michael Niedermayer [Tue, 6 Aug 2013 13:11:55 +0000 (15:11 +0200)]
Merge commit 'cabb1681697555e2c319c37c1f30f149207e9434'

* commit 'cabb1681697555e2c319c37c1f30f149207e9434':
  mpegts: Remove one memcpy per packet

Conflicts:
libavformat/mpegts.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit 'daf1e0d3de03bd424016e2a7520e4e94ece5c0ac'
Michael Niedermayer [Tue, 6 Aug 2013 13:02:23 +0000 (15:02 +0200)]
Merge commit 'daf1e0d3de03bd424016e2a7520e4e94ece5c0ac'

* commit 'daf1e0d3de03bd424016e2a7520e4e94ece5c0ac':
  avio: Add an internal function for reading without copying

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '22a154e4363b351dd9f321003de01dffebd2fa18'
Michael Niedermayer [Tue, 6 Aug 2013 12:56:14 +0000 (14:56 +0200)]
Merge commit '22a154e4363b351dd9f321003de01dffebd2fa18'

* commit '22a154e4363b351dd9f321003de01dffebd2fa18':
  build: Add missing img2.o dependency to apetag.o

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit 'bea3d6f4363ff1bbbd99c1717f7498b9fdb12cfc'
Michael Niedermayer [Tue, 6 Aug 2013 12:50:21 +0000 (14:50 +0200)]
Merge commit 'bea3d6f4363ff1bbbd99c1717f7498b9fdb12cfc'

* commit 'bea3d6f4363ff1bbbd99c1717f7498b9fdb12cfc':
  ismindex: Replace mkdir ifdeffery by os_support.h #include

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/vdpau: include attributes.h, needed for attribute_deprecated
Michael Niedermayer [Tue, 6 Aug 2013 12:49:03 +0000 (14:49 +0200)]
avcodec/vdpau: include attributes.h, needed for attribute_deprecated

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/vdpau.h: define FF_API_BUFS_VDPAU if its not defined
Michael Niedermayer [Tue, 6 Aug 2013 12:36:14 +0000 (14:36 +0200)]
avcodec/vdpau.h: define FF_API_BUFS_VDPAU if its not defined

Similar to 50fb8c1114b9c2b7d299cbc17a18a457d12069a8

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit 'f824535a4a79c260b59d3178b8d958217caffd78'
Michael Niedermayer [Tue, 6 Aug 2013 12:30:49 +0000 (14:30 +0200)]
Merge commit 'f824535a4a79c260b59d3178b8d958217caffd78'

* commit 'f824535a4a79c260b59d3178b8d958217caffd78':
  vdpau: deprecate bitstream buffers within the hardware context

Conflicts:
libavcodec/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '2852740e23f91d6775714d7cc29b9a73e1111ce0'
Michael Niedermayer [Tue, 6 Aug 2013 12:25:08 +0000 (14:25 +0200)]
Merge commit '2852740e23f91d6775714d7cc29b9a73e1111ce0'

* commit '2852740e23f91d6775714d7cc29b9a73e1111ce0':
  vdpau: store picture data in picture's rather than codec's context

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/vdpau.h: define FF_API_CAP_VDPAU if its not defined
Michael Niedermayer [Tue, 6 Aug 2013 12:03:40 +0000 (14:03 +0200)]
avcodec/vdpau.h: define FF_API_CAP_VDPAU if its not defined

Prevent build failure for applicatins using the old API
This could be replaced be a include of version.h but some applications
would then need extern C wrapers

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '549294fbbe1c00fee37dc4d3f291b98945e11094'
Michael Niedermayer [Tue, 6 Aug 2013 11:54:05 +0000 (13:54 +0200)]
Merge commit '549294fbbe1c00fee37dc4d3f291b98945e11094'

* commit '549294fbbe1c00fee37dc4d3f291b98945e11094':
  vdpau: deprecate VDPAU codec capability

Conflicts:
libavcodec/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit 'a0ad5d011318f951ecd4c9ffe1829518c9533909'
Michael Niedermayer [Tue, 6 Aug 2013 11:45:21 +0000 (13:45 +0200)]
Merge commit 'a0ad5d011318f951ecd4c9ffe1829518c9533909'

* commit 'a0ad5d011318f951ecd4c9ffe1829518c9533909':
  vdpau: deprecate old codec-specific pixel formats

Conflicts:
libavutil/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '578ea75a9e4ac56e0bbbbe668700be756aa699f8'
Michael Niedermayer [Tue, 6 Aug 2013 11:24:22 +0000 (13:24 +0200)]
Merge commit '578ea75a9e4ac56e0bbbbe668700be756aa699f8'

* commit '578ea75a9e4ac56e0bbbbe668700be756aa699f8':
  vdpau: remove old-style decoders

Conflicts:
libavcodec/allcodecs.c
libavcodec/h263dec.c
libavcodec/h264.c
libavcodec/mpeg12dec.c
libavcodec/mpeg4videodec.c
libavcodec/vc1dec.c
libavcodec/vdpau.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agopcm_bluray: Return AVERROR_INVALIDDATA instead of -1 on header errors
Christian Schmidt [Tue, 6 Aug 2013 08:21:42 +0000 (10:21 +0200)]
pcm_bluray: Return AVERROR_INVALIDDATA instead of -1 on header errors

Signed-off-by: Diego Biurrun <diego@biurrun.de>
10 years agoMerge commit '488a0fa68973d48e264d54f1722f7afb18afbea7'
Michael Niedermayer [Tue, 6 Aug 2013 10:35:48 +0000 (12:35 +0200)]
Merge commit '488a0fa68973d48e264d54f1722f7afb18afbea7'

* commit '488a0fa68973d48e264d54f1722f7afb18afbea7':
  avconv: support -t as an input option.

Conflicts:
Changelog
ffmpeg.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoffmpeg_opt: Remove support for specifying -t anywhere to set the duration
Michael Niedermayer [Tue, 6 Aug 2013 09:58:40 +0000 (11:58 +0200)]
ffmpeg_opt: Remove support for specifying -t anywhere to set the duration

This would otherwise conflict with the semantics of using -t for the input

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '811bd0784679dfcb4ed02043a37c92f9df10500e'
Michael Niedermayer [Tue, 6 Aug 2013 08:57:04 +0000 (10:57 +0200)]
Merge commit '811bd0784679dfcb4ed02043a37c92f9df10500e'

* commit '811bd0784679dfcb4ed02043a37c92f9df10500e':
  avconv: make input -ss accurate when transcoding

Conflicts:
Changelog
doc/ffmpeg.texi
ffmpeg.h
ffmpeg_filter.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoconfigure: Properly split dv1394 indev dependencies
Diego Biurrun [Tue, 6 Aug 2013 00:36:17 +0000 (02:36 +0200)]
configure: Properly split dv1394 indev dependencies

10 years agoconfigure: Properly set zlib dependencies for all components
Diego Biurrun [Tue, 6 Aug 2013 00:31:33 +0000 (02:31 +0200)]
configure: Properly set zlib dependencies for all components

10 years agoconfigure: The W64 demuxer should select the WAV demuxer, not depend on it
Diego Biurrun [Mon, 5 Aug 2013 21:05:30 +0000 (23:05 +0200)]
configure: The W64 demuxer should select the WAV demuxer, not depend on it

10 years agoconfigure: Properly split avserver component and system dependencies
Diego Biurrun [Tue, 27 Nov 2012 20:48:34 +0000 (21:48 +0100)]
configure: Properly split avserver component and system dependencies

10 years agoriff: Move demuxing code to a separate file.
Diego Biurrun [Sun, 4 Aug 2013 12:33:36 +0000 (14:33 +0200)]
riff: Move demuxing code to a separate file.

10 years agoriff: Move muxing code to a separate file
Diego Biurrun [Sun, 4 Aug 2013 12:10:54 +0000 (14:10 +0200)]
riff: Move muxing code to a separate file

10 years agoavformat/dv: K&R formatting cosmetics
Diego Biurrun [Tue, 6 Aug 2013 00:55:02 +0000 (02:55 +0200)]
avformat/dv: K&R formatting cosmetics

10 years agoMerge commit '56ee3f9de7b9f6090d599a27d33a392890a2f7b8'
Michael Niedermayer [Tue, 6 Aug 2013 08:25:32 +0000 (10:25 +0200)]
Merge commit '56ee3f9de7b9f6090d599a27d33a392890a2f7b8'

* commit '56ee3f9de7b9f6090d599a27d33a392890a2f7b8':
  avconv: distinguish between -ss 0 and -ss not being used

Conflicts:
ffmpeg.c
ffmpeg_opt.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '2e661f26f8b12195f75ae3b07d9591e395135bc7'
Michael Niedermayer [Tue, 6 Aug 2013 08:08:17 +0000 (10:08 +0200)]
Merge commit '2e661f26f8b12195f75ae3b07d9591e395135bc7'

* commit '2e661f26f8b12195f75ae3b07d9591e395135bc7':
  avconv: insert extra filters in the same way for both graph inputs and outputs

Conflicts:
ffmpeg_filter.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agotcp: Use a different log message and level if there's more addresses to try
Martin Storsjö [Mon, 5 Aug 2013 16:44:20 +0000 (19:44 +0300)]
tcp: Use a different log message and level if there's more addresses to try

This lowers the level of warnings printed if trying to connect
to a host name that provides both v6 and v4 addresses but the
service only is available on the v4 address (often occurring for
'localhost', with servers that aren't v6-aware).

Signed-off-by: Martin Storsjö <martin@martin.st>
10 years agounix: Convert from AVERROR to errno range before comparing error codes
Martin Storsjö [Mon, 5 Aug 2013 16:39:08 +0000 (19:39 +0300)]
unix: Convert from AVERROR to errno range before comparing error codes

Signed-off-by: Martin Storsjö <martin@martin.st>
10 years agoMerge commit '3799376dd3373ee255651ed542c75b15665801a8'
Michael Niedermayer [Tue, 6 Aug 2013 07:35:03 +0000 (09:35 +0200)]
Merge commit '3799376dd3373ee255651ed542c75b15665801a8'

* commit '3799376dd3373ee255651ed542c75b15665801a8':
  lavfi/fifo: fix flushing when using request_samples

Conflicts:
libavfilter/fifo.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '06cd4c5a68e23f5be199c0d2d563da80989f839f'
Michael Niedermayer [Tue, 6 Aug 2013 07:20:05 +0000 (09:20 +0200)]
Merge commit '06cd4c5a68e23f5be199c0d2d563da80989f839f'

* commit '06cd4c5a68e23f5be199c0d2d563da80989f839f':
  avconv: fix usage of deprecated lavfi API

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '612a5049d9b4ac1c2a293daf75fe814b7a94fdc7'
Michael Niedermayer [Tue, 6 Aug 2013 07:05:13 +0000 (09:05 +0200)]
Merge commit '612a5049d9b4ac1c2a293daf75fe814b7a94fdc7'

* commit '612a5049d9b4ac1c2a293daf75fe814b7a94fdc7':
  avserver: do not use a static string as a default for a string option

See: 19c41c6d8ef6cc34cfde6bf877e059689e763bb7
Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/options: Drop deprecation warning suppression macros
Diego Biurrun [Mon, 5 Aug 2013 20:28:26 +0000 (22:28 +0200)]
avcodec/options: Drop deprecation warning suppression macros

The options table is used in tools built by the host compiler and the
deprecation macros pull in bits that are not safe to use if host and
target compiler differ.

10 years agompegts: add fix_teletext_pts mpegts demuxer option
Marton Balint [Sun, 4 Aug 2013 02:17:22 +0000 (04:17 +0200)]
mpegts: add fix_teletext_pts mpegts demuxer option

Changes since v1 of the patch:
- enable option by default
- add documentation
- move up PTS override code after PES header parsing, to ensure we use the
  last PCR before the first packet of the teletext PES packet.

The option overrides teletext packet PTS and DTS values with the timestamps
calculated from the PCR of the first program which the teletext stream is part
of and is not discarded.

Using the same teletext PID for multiple programs is possible, therefore we
need some kind of heuristics to know which program PCR we should synchronize
to. Using the first non-discarded PCR pid among the programs of the teletext
stream seemed like a good choice.

The patch does not do PCR interpolation to estimate the PCR of the teltetext
packet, it just uses the last PCR of the program, which may cause a slight
error (0.1 sec) in the teletext packet pts-es.

Based on a patch by Reimar Döffinger.
http://lists.ffmpeg.org/pipermail/ffmpeg-devel/2012-September/131610.html

Signed-off-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoSet bits_per_raw_sample when decoding pnm.
Carl Eugen Hoyos [Mon, 5 Aug 2013 22:26:21 +0000 (00:26 +0200)]
Set bits_per_raw_sample when decoding pnm.

10 years agoriff.h: Remove stray extern declaration for non-existing symbol
Diego Biurrun [Sun, 4 Aug 2013 12:08:47 +0000 (14:08 +0200)]
riff.h: Remove stray extern declaration for non-existing symbol

10 years agortp: Make ff_rtp_codec_id() case insensitive
Wei-Cheng Pan [Mon, 5 Aug 2013 11:06:53 +0000 (19:06 +0800)]
rtp: Make ff_rtp_codec_id() case insensitive

Fixes handling of lower case pcmu

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agotwinvq: Split VQF-specific part from common TwinVQ decoder core
Kostya Shishkov [Sun, 4 Aug 2013 15:18:34 +0000 (17:18 +0200)]
twinvq: Split VQF-specific part from common TwinVQ decoder core

Signed-off-by: Diego Biurrun <diego@biurrun.de>
10 years agotwinvq: Prefix enums and defines shared with VoxWare MetaSound
Diego Biurrun [Mon, 5 Aug 2013 10:37:01 +0000 (12:37 +0200)]
twinvq: Prefix enums and defines shared with VoxWare MetaSound

10 years agotwinvq: move all bitstream reading into single place
Kostya Shishkov [Sun, 4 Aug 2013 15:17:25 +0000 (17:17 +0200)]
twinvq: move all bitstream reading into single place

This is required for the future addition of VoxWare MetaSound decoder, for its
functions are mostly the same but bitstream reader is completely different
and bitstream format is slightly different too.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
10 years agompegts: Remove one 64-bit integer modulus operation per packet
Ben Avison [Mon, 5 Aug 2013 12:12:49 +0000 (13:12 +0100)]
mpegts: Remove one 64-bit integer modulus operation per packet

The common case of the pointer having increased by one packet (which results
in no change to the modulus) can be detected with a 64-bit subtraction,
which is far cheaper than a division on many platforms.

           Before          After
           Mean   StdDev   Mean   StdDev  Change
Divisions   248.3  8.8      51.5   7.4    +381.7%
Overall    2773.2 25.6     2372.5 43.1     +16.9%

Signed-off-by: Martin Storsjö <martin@martin.st>
10 years agovc1: check mb_height validity.
Luca Barbato [Mon, 5 Aug 2013 04:30:24 +0000 (06:30 +0200)]
vc1: check mb_height validity.

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
10 years agovc1: check the source buffer in vc1_mc functions
Luca Barbato [Mon, 5 Aug 2013 04:27:12 +0000 (06:27 +0200)]
vc1: check the source buffer in vc1_mc functions

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
10 years agobink: Bound check the quantization matrix.
Luca Barbato [Sun, 4 Aug 2013 16:48:20 +0000 (18:48 +0200)]
bink: Bound check the quantization matrix.

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
10 years agonetwork: Use SOCK_CLOEXEC when available
Luca Barbato [Sat, 3 Aug 2013 13:00:11 +0000 (15:00 +0200)]
network: Use SOCK_CLOEXEC when available

10 years agolavf: Support unix sockets
Luca Barbato [Mon, 29 Jul 2013 23:34:56 +0000 (01:34 +0200)]
lavf: Support unix sockets

10 years agolibx264: add shortcut for the bluray compatibility option
Luca Barbato [Mon, 5 Aug 2013 11:23:52 +0000 (13:23 +0200)]
libx264: add shortcut for the bluray compatibility option

As for intra-refresh it is just a commodity.

10 years agolibxvid: Reduce the size of an array
Timothy Gu [Wed, 31 Jul 2013 02:42:32 +0000 (19:42 -0700)]
libxvid: Reduce the size of an array

It is not possible to have a plugin[] array with 5 or more elements.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/libxvid: Partially check plugins array size with assert
Michael Niedermayer [Mon, 5 Aug 2013 13:01:20 +0000 (15:01 +0200)]
avcodec/libxvid: Partially check plugins array size with assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/libxvid: set lumi_aq for lumimasking
Michael Niedermayer [Mon, 5 Aug 2013 13:00:14 +0000 (15:00 +0200)]
avcodec/libxvid: set lumi_aq for lumimasking

Simplifies check and should fix lumi+vari warning

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agompegts: Make discard_pid() faster for single-program streams
Ben Avison [Mon, 5 Aug 2013 12:12:51 +0000 (13:12 +0100)]
mpegts: Make discard_pid() faster for single-program streams

When a stream contains a single program, there's no point in doing a
PID -> program lookup. Normally the one and only program isn't disabled,
so no packets should be discarded.

              Before          After
              Mean   StdDev   Mean   StdDev  Change
discard_pid()   73.8  9.4       20.2  1.5    +264.8%
Overall       2300.8 28.0     2253.1 20.6      +2.1%

Signed-off-by: Martin Storsjö <martin@martin.st>
10 years agompegts: Remove one memcpy per packet
Ben Avison [Wed, 31 Jul 2013 22:46:08 +0000 (23:46 +0100)]
mpegts: Remove one memcpy per packet

This was being performed to ensure that a complete packet was held in
contiguous memory, prior to parsing the packet. However, the source buffer
is typically large enough that the packet was already contiguous, so it is
beneficial to return the packet by reference in most cases.

         Before          After
         Mean   StdDev   Mean   StdDev  Change
memcpy    720.7  32.7     649.8  25.1   +10.9%
Overall  2372.7  46.1    2291.7  21.8    +3.5%

Signed-off-by: Martin Storsjö <martin@martin.st>
10 years agoavio: Add an internal function for reading without copying
Ben Avison [Wed, 31 Jul 2013 22:46:08 +0000 (23:46 +0100)]
avio: Add an internal function for reading without copying

As long as there is enough contiguous data in the avio buffer,
just return a pointer to it instead of copying it to the caller
provided buffer.

Signed-off-by: Martin Storsjö <martin@martin.st>
10 years agobuild: Add missing img2.o dependency to apetag.o
Diego Biurrun [Sun, 4 Aug 2013 23:43:13 +0000 (01:43 +0200)]
build: Add missing img2.o dependency to apetag.o

10 years agoismindex: Replace mkdir ifdeffery by os_support.h #include
Diego Biurrun [Sun, 4 Aug 2013 22:06:06 +0000 (00:06 +0200)]
ismindex: Replace mkdir ifdeffery by os_support.h #include

os_support.h contains more precise workarounds for non-POSIX mkdir().

10 years agovdpau: deprecate bitstream buffers within the hardware context
Rémi Denis-Courmont [Thu, 25 Jul 2013 19:30:21 +0000 (22:30 +0300)]
vdpau: deprecate bitstream buffers within the hardware context

The bitstream buffers are now private and freed by libavcodec. For
backward compatibility, the hold bitstream buffer pointer is left NULL
(applications were supposed to av_freep() it).

Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years agovdpau: store picture data in picture's rather than codec's context
Rémi Denis-Courmont [Thu, 25 Jul 2013 19:30:20 +0000 (22:30 +0300)]
vdpau: store picture data in picture's rather than codec's context

Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years agovdpau: deprecate VDPAU codec capability
Rémi Denis-Courmont [Thu, 25 Jul 2013 19:30:19 +0000 (22:30 +0300)]
vdpau: deprecate VDPAU codec capability

Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years agovdpau: deprecate old codec-specific pixel formats
Rémi Denis-Courmont [Thu, 25 Jul 2013 19:30:18 +0000 (22:30 +0300)]
vdpau: deprecate old codec-specific pixel formats

Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years agovdpau: remove old-style decoders
Rémi Denis-Courmont [Thu, 25 Jul 2013 19:30:17 +0000 (22:30 +0300)]
vdpau: remove old-style decoders

Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years agoavconv: support -t as an input option.
Anton Khirnov [Tue, 18 Jun 2013 09:12:09 +0000 (11:12 +0200)]
avconv: support -t as an input option.

It limits the duration of the data read from a given input.

10 years agoavconv: make input -ss accurate when transcoding
Anton Khirnov [Sat, 15 Jun 2013 07:59:40 +0000 (09:59 +0200)]
avconv: make input -ss accurate when transcoding

Insert (a)trim filters on the corresponding inputs, so the extra frames
are decoded and discarded.

10 years agoavconv: distinguish between -ss 0 and -ss not being used
Anton Khirnov [Sat, 15 Jun 2013 07:35:10 +0000 (09:35 +0200)]
avconv: distinguish between -ss 0 and -ss not being used

Using -ss 0 to drop frames with negative timestamps is a perfectly valid
use case.

10 years agoavconv: insert extra filters in the same way for both graph inputs and outputs
Anton Khirnov [Fri, 14 Jun 2013 16:25:30 +0000 (18:25 +0200)]
avconv: insert extra filters in the same way for both graph inputs and outputs

This will allow using the same code when one filter can be inserted both
on input and output.

10 years agolavfi/fifo: fix flushing when using request_samples
Anton Khirnov [Sun, 4 Aug 2013 10:10:23 +0000 (12:10 +0200)]
lavfi/fifo: fix flushing when using request_samples

If any samples are still buffered when request_frame returns EOF, they
won't be returned currently.