]> git.sesse.net Git - ffmpeg/log
ffmpeg
11 years agoMerge commit 'ceb754d041f5f6327fd9195a5f43575af9516daa'
Michael Niedermayer [Wed, 24 Oct 2012 12:01:29 +0000 (14:01 +0200)]
Merge commit 'ceb754d041f5f6327fd9195a5f43575af9516daa'

* commit 'ceb754d041f5f6327fd9195a5f43575af9516daa':
  lzo: Use AV_COPY*U macros where appropriate
  prepare 9_beta2 release
  dsputil: Replace AV_WNxx(AV_RNxx()) combinations by AV_COPYxxU
  intreadwrite: Add AV_COPYxxU macros for copying to/from unaligned addresses
  dxtory: Replace AV_WN16A(AV_RN16A()) combination by AV_COPY16
  mp3: properly forward mp_decode_frame errors

Conflicts:
RELEASE
libavcodec/mpegaudiodec.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '0c03cc68386443f1e96ab6fb358220faf67cd5ff'
Michael Niedermayer [Wed, 24 Oct 2012 11:31:46 +0000 (13:31 +0200)]
Merge commit '0c03cc68386443f1e96ab6fb358220faf67cd5ff'

* commit '0c03cc68386443f1e96ab6fb358220faf67cd5ff':
  mp3: exit on parsing error in mp_decode_frame
  rtmppkt: Avoid unescaped backslash in Doxygen comment
  fate-lavfi: replace sed/grep/cut combos with awk
  build: Plan 9 support

Conflicts:
configure
tests/lavfi-regression.sh

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agobuild: fix detection of math functions with 2 parameters.
Michael Niedermayer [Wed, 24 Oct 2012 11:15:42 +0000 (13:15 +0200)]
build: fix detection of math functions with 2 parameters.

The code from libav seems to have been entirely untested.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '80521c1997a23e148edf89e11b939ab8646297ca'
Michael Niedermayer [Wed, 24 Oct 2012 10:53:26 +0000 (12:53 +0200)]
Merge commit '80521c1997a23e148edf89e11b939ab8646297ca'

* commit '80521c1997a23e148edf89e11b939ab8646297ca':
  build: allow targets to specify extra objects to link with executables
  swscale: avoid pointless use of compound literals
  libm: add fallbacks for various single-precision functions
  network: use getservbyport() only if available
  network: add fallbacks for INADDR_LOOPBACK and INET_ADDRSTRLEN
  Include sys/time.h before sys/resource.h

Conflicts:
Makefile
configure
libavutil/libm.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoyuv2rgb: fix integer overflow in fill_gv_table()
Michael Niedermayer [Tue, 23 Oct 2012 23:24:26 +0000 (01:24 +0200)]
yuv2rgb: fix integer overflow in fill_gv_table()

Fixes CID703747
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoyuv2rgb: fix integer overflow in fill_table
Michael Niedermayer [Tue, 23 Oct 2012 23:22:56 +0000 (01:22 +0200)]
yuv2rgb: fix integer overflow in fill_table

Fixes CID703748
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoswscale_unscaled: remove unused variables
Michael Niedermayer [Tue, 23 Oct 2012 23:09:14 +0000 (01:09 +0200)]
swscale_unscaled: remove unused variables

Fixes CID739472
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agompegvideo enc: choose VBV buffer size for mpeg4 when none is specified instead of...
Michael Niedermayer [Tue, 23 Oct 2012 22:38:56 +0000 (00:38 +0200)]
mpegvideo enc: choose VBV buffer size for mpeg4 when none is specified instead of failing

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agompegvideo enc: choose VBV buffer size for mpeg1/2 when none is specified instead...
Michael Niedermayer [Tue, 23 Oct 2012 22:03:06 +0000 (00:03 +0200)]
mpegvideo enc: choose VBV buffer size for mpeg1/2 when none is specified instead of failing

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoexamples/decoding_encoding: add and use the decode_write_frame function
Stefano Sabatini [Sat, 20 Oct 2012 09:26:05 +0000 (11:26 +0200)]
examples/decoding_encoding: add and use the decode_write_frame function

Allow to factorize code in video_decode_example(), simplify.

11 years agolavc/utils: fix a few grammar/style nits in log messages
Stefano Sabatini [Tue, 23 Oct 2012 21:34:38 +0000 (23:34 +0200)]
lavc/utils: fix a few grammar/style nits in log messages

In avcodec_open2(), apply consistent casing and avoid "or" conjunction at
the beginning of a sentence, in the messages issued in case of
experimental codec usage.

11 years agolavc/utils: propagate or return meaningful error codes in avcodec_open2()
Stefano Sabatini [Tue, 16 Oct 2012 11:30:52 +0000 (13:30 +0200)]
lavc/utils: propagate or return meaningful error codes in avcodec_open2()

11 years agoDo not detect mov with maximum score if the atom size is too small.
Carl Eugen Hoyos [Tue, 23 Oct 2012 20:41:15 +0000 (22:41 +0200)]
Do not detect mov with maximum score if the atom size is too small.

Fixes mpegts-in-mov, ticket #987 / issue 2223.

11 years agolavd/lavfi: add graph_file option
Stefano Sabatini [Mon, 22 Oct 2012 23:13:23 +0000 (01:13 +0200)]
lavd/lavfi: add graph_file option

Allow to specify a filename where to put the filtergraph description.

This is useful to override limitations or glitches of particular shell
environments, and allows a level of indirection for specifying
filtergraphs.

11 years agolavfi/sendcmd: move buf init() variable to internal scope where it is used
Stefano Sabatini [Tue, 23 Oct 2012 19:42:14 +0000 (21:42 +0200)]
lavfi/sendcmd: move buf init() variable to internal scope where it is used

11 years agolavfi/sendcmd: release file in case of failed allocation
Stefano Sabatini [Mon, 22 Oct 2012 23:42:24 +0000 (01:42 +0200)]
lavfi/sendcmd: release file in case of failed allocation

Avoid hanging file.

11 years agox11: Fix x11grab BadCursor
Isaac Dooley [Tue, 23 Oct 2012 19:39:56 +0000 (21:39 +0200)]
x11: Fix x11grab BadCursor

Fixes Ticket1738

Based-on: A fix found in a perl module (http://ffmpeg.org/pipermail/ffmpeg-user/2012-August/008804.html)
Reviewed-by: Clemens Fruhwirth <clemens@endorphin.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agopnmdec: use more meaningful error codes
Paul B Mahol [Mon, 22 Oct 2012 22:00:41 +0000 (22:00 +0000)]
pnmdec: use more meaningful error codes

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agolzo: Use AV_COPY*U macros where appropriate
Diego Biurrun [Mon, 22 Oct 2012 17:02:20 +0000 (19:02 +0200)]
lzo: Use AV_COPY*U macros where appropriate

11 years agoprepare 9_beta2 release
Reinhard Tartler [Tue, 23 Oct 2012 16:30:36 +0000 (18:30 +0200)]
prepare 9_beta2 release

11 years agolavf: fix duration estimation for multi program TS
Michael Niedermayer [Tue, 23 Oct 2012 16:11:26 +0000 (18:11 +0200)]
lavf: fix duration estimation for multi program TS

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavf: increase retries to guess duration from pts by 1
Michael Niedermayer [Tue, 23 Oct 2012 14:53:48 +0000 (16:53 +0200)]
lavf: increase retries to guess duration from pts by 1

This fixes finding the duration for one TS file

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agodsputil: Replace AV_WNxx(AV_RNxx()) combinations by AV_COPYxxU
Diego Biurrun [Tue, 23 Oct 2012 12:37:16 +0000 (14:37 +0200)]
dsputil: Replace AV_WNxx(AV_RNxx()) combinations by AV_COPYxxU

11 years agointreadwrite: Add AV_COPYxxU macros for copying to/from unaligned addresses
Diego Biurrun [Tue, 23 Oct 2012 11:27:05 +0000 (13:27 +0200)]
intreadwrite: Add AV_COPYxxU macros for copying to/from unaligned addresses

11 years agodxtory: Replace AV_WN16A(AV_RN16A()) combination by AV_COPY16
Diego Biurrun [Tue, 23 Oct 2012 11:03:10 +0000 (13:03 +0200)]
dxtory: Replace AV_WN16A(AV_RN16A()) combination by AV_COPY16

11 years agoasfdec: ignore stored duration for truncated files
Michael Niedermayer [Tue, 23 Oct 2012 14:11:38 +0000 (16:11 +0200)]
asfdec: ignore stored duration for truncated files

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agowtvdec: display warning for encrypted wtv files (instead of 'unsupported chunk' messages)
Peter Ross [Tue, 23 Oct 2012 10:06:28 +0000 (21:06 +1100)]
wtvdec: display warning for encrypted wtv files (instead of 'unsupported chunk' messages)

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

* qatar/master:
  fate: check that dependencies actually exist
  fate: fix ENCMUX macro

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'ec444c84cfd30ef34a4e7b4ec7ee77d7e5250d25'
Michael Niedermayer [Tue, 23 Oct 2012 13:08:55 +0000 (15:08 +0200)]
Merge commit 'ec444c84cfd30ef34a4e7b4ec7ee77d7e5250d25'

* commit 'ec444c84cfd30ef34a4e7b4ec7ee77d7e5250d25':
  mpegaudiodec: Fix buffer handling on random access
  mpegaudio: Refactor mp3on4 flush function
  fate: Add dependencies for audio tests
  fate: cosmetics: Group idct8x8 test together with all other libavcodec tests
  fate: More fine-grained dependencies for libavcodec test programs

Conflicts:
tests/fate/audio.mak

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '8b8899ac3233b4f7af83ded0dc032fad8902d714'
Michael Niedermayer [Tue, 23 Oct 2012 13:00:27 +0000 (15:00 +0200)]
Merge commit '8b8899ac3233b4f7af83ded0dc032fad8902d714'

* commit '8b8899ac3233b4f7af83ded0dc032fad8902d714':
  fate: Declare avcodec/avformat deps in the respective Makefile snippets
  fate: Add dependencies for WMA and WavPack tests
  Improve wording and spelling of av_log_missing_feature messages.
  lavu: remove disabled FF_API_AV_FIFO_PEEK cruft

Conflicts:
libavcodec/aacsbr.c
libavutil/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'c692957c4edd119920cd7f2121628dd183589e6a'
Michael Niedermayer [Tue, 23 Oct 2012 12:50:31 +0000 (14:50 +0200)]
Merge commit 'c692957c4edd119920cd7f2121628dd183589e6a'

* commit 'c692957c4edd119920cd7f2121628dd183589e6a':
  lavu: remove disabled avoptions cruft
  lavu: remove disabled FF_API_GET_BITS_PER_SAMPLE_FMT cruft

Conflicts:
libavutil/opt.c
libavutil/opt.h
libavutil/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agomp3: exit on parsing error in mp_decode_frame
Luca Barbato [Mon, 22 Oct 2012 16:50:32 +0000 (18:50 +0200)]
mp3: exit on parsing error in mp_decode_frame

Properly forward mp_decode_layer3 errors, mp_decode_layer1 and
mp_decode_layer2 do not return errors.

Based on a patch by Michael Niedermayer.

11 years agomp3: properly forward mp_decode_frame errors
Luca Barbato [Mon, 22 Oct 2012 17:11:05 +0000 (19:11 +0200)]
mp3: properly forward mp_decode_frame errors

The function can return either a parsing error or a memory management
error.

11 years agortmppkt: Avoid unescaped backslash in Doxygen comment
Diego Biurrun [Mon, 22 Oct 2012 13:57:55 +0000 (15:57 +0200)]
rtmppkt: Avoid unescaped backslash in Doxygen comment

11 years agoMerge commit '468ea9d5b14f92fe61f47f034e67066f65163f5f'
Michael Niedermayer [Tue, 23 Oct 2012 11:34:42 +0000 (13:34 +0200)]
Merge commit '468ea9d5b14f92fe61f47f034e67066f65163f5f'

* commit '468ea9d5b14f92fe61f47f034e67066f65163f5f':
  Revert "avutil: make some tables visible again"
  Revert "avutil: Add a copy of ff_sqrt_tab back into avutil to restore ABI compatibility"

Conflicts:
libavcodec/sqrt_tab.c
libavutil/libavutil.v

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'add3a6902ea4d459f36655656a1f8daa409118a7'
Michael Niedermayer [Tue, 23 Oct 2012 11:13:18 +0000 (13:13 +0200)]
Merge commit 'add3a6902ea4d459f36655656a1f8daa409118a7'

* commit 'add3a6902ea4d459f36655656a1f8daa409118a7':
  lavu: bump major to 52

Conflicts:
libavutil/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '2b8dd371e4d276ca0d342e82b8b4cc281be0630a'
Michael Niedermayer [Tue, 23 Oct 2012 11:05:52 +0000 (13:05 +0200)]
Merge commit '2b8dd371e4d276ca0d342e82b8b4cc281be0630a'

* commit '2b8dd371e4d276ca0d342e82b8b4cc281be0630a':
  lavu: postpone recent deprecations until the next major bump
  APIchanges: update lavr bump date
  avconv: only apply presets when we have an encoder.
  atrac3: replace a calculation with FFALIGN()
  atrac3: remove unused ATRAC3Context field, sample_rate
  atrac3: use sizeof(variable) instead of sizeof(type)
  atrac3: simplify MDCT window calculation

Conflicts:
doc/APIchanges

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agofate-lavfi: replace sed/grep/cut combos with awk
Mans Rullgard [Wed, 17 Oct 2012 02:22:51 +0000 (03:22 +0100)]
fate-lavfi: replace sed/grep/cut combos with awk

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agobuild: Plan 9 support
Mans Rullgard [Mon, 15 Oct 2012 01:38:17 +0000 (02:38 +0100)]
build: Plan 9 support

This adds support for building on Plan 9 x86-32.  The compat/plan9
directory contains these items:

- replacements for the 'head' and 'printf' shell commands
- wrapper for main() to disable FPU exceptions

Larger required changes to the system are described in the
documentation.

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agobuild: allow targets to specify extra objects to link with executables
Mans Rullgard [Mon, 15 Oct 2012 03:05:03 +0000 (04:05 +0100)]
build: allow targets to specify extra objects to link with executables

This allows targets to include special objects when linking
executables without including them in (shared) libraries.

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agoswscale: avoid pointless use of compound literals
Mans Rullgard [Sat, 13 Oct 2012 23:26:15 +0000 (00:26 +0100)]
swscale: avoid pointless use of compound literals

Some compilers (e.g. old gcc) have trouble with these.

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agolibm: add fallbacks for various single-precision functions
Mans Rullgard [Sat, 13 Oct 2012 21:54:53 +0000 (22:54 +0100)]
libm: add fallbacks for various single-precision functions

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agonetwork: use getservbyport() only if available
Mans Rullgard [Sun, 14 Oct 2012 19:24:51 +0000 (20:24 +0100)]
network: use getservbyport() only if available

The absence of this function will only give a less informative
string back from our fallback implementation of getnameinfo().

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agonetwork: add fallbacks for INADDR_LOOPBACK and INET_ADDRSTRLEN
Mans Rullgard [Sun, 14 Oct 2012 17:00:05 +0000 (18:00 +0100)]
network: add fallbacks for INADDR_LOOPBACK and INET_ADDRSTRLEN

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agoInclude sys/time.h before sys/resource.h
Mans Rullgard [Sat, 13 Oct 2012 23:27:26 +0000 (00:27 +0100)]
Include sys/time.h before sys/resource.h

Some systems require sys/time.h being explicitly included before
sys/resource.h.  The configure check already does this.

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agoMerge commit '5d1007f74dd496d54b932242004382f44e3b22b4'
Michael Niedermayer [Tue, 23 Oct 2012 10:51:13 +0000 (12:51 +0200)]
Merge commit '5d1007f74dd496d54b932242004382f44e3b22b4'

* commit '5d1007f74dd496d54b932242004382f44e3b22b4':
  atrac3: initialize static tables in AVCodec.init_static_data()
  atrac3: separate window initialization from IMDCT initialization
  atrac3: move the 'frame_factor' field from ATRAC3Context to where it is used
  atrac3: remove unused ATRAC3Context field, bit_rate

Conflicts:
libavcodec/atrac3.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'a2664c91fba15a1307f676ffad511f8f86fb3a27'
Michael Niedermayer [Tue, 23 Oct 2012 10:41:02 +0000 (12:41 +0200)]
Merge commit 'a2664c91fba15a1307f676ffad511f8f86fb3a27'

* commit 'a2664c91fba15a1307f676ffad511f8f86fb3a27':
  atrac3: move the 'samples_per_frame' field from ATRAC3Context to where it is used
  atrac3: remove unused ATRAC3Context field, samples_per_channel
  atrac3: use AVCodecContext.block_align instead of keeping a private copy
  atrac3: move the 'delay' field from ATRAC3Context to where it is used
  atrac3: move the 'version' field from ATRAC3Context to where it is used

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '5ac673b5531d846b79a3d77e3e932e0cb1234c45'
Michael Niedermayer [Tue, 23 Oct 2012 10:36:16 +0000 (12:36 +0200)]
Merge commit '5ac673b5531d846b79a3d77e3e932e0cb1234c45'

* commit '5ac673b5531d846b79a3d77e3e932e0cb1234c45':
  atrac3: use AVCodecContext.channels instead of keeping a private copy
  atrac3: simplify some loop indexing
  atrac3: cosmetics: pretty-printing and renaming
  pcm: define AVCodec instances only for enabled codecs
  libxvid: remove useless doxy comments.
  lavc: remove stats_out from the options table.

Conflicts:
libavcodec/atrac3.c
libavcodec/pcm.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agofate: check that dependencies actually exist
Mans Rullgard [Tue, 23 Oct 2012 02:28:08 +0000 (03:28 +0100)]
fate: check that dependencies actually exist

This causes make to exit with an error message if a nonexistent
dependency is specified rather than silently dropping the test.

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agofate: fix ENCMUX macro
Mans Rullgard [Tue, 23 Oct 2012 02:23:43 +0000 (03:23 +0100)]
fate: fix ENCMUX macro

This matches how it is actually being called.

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agompegaudiodec: Fix buffer handling on random access
Michael Niedermayer [Sun, 21 Oct 2012 18:48:21 +0000 (20:48 +0200)]
mpegaudiodec: Fix buffer handling on random access

11 years agompegaudio: Refactor mp3on4 flush function
Diego Biurrun [Mon, 22 Oct 2012 14:55:23 +0000 (16:55 +0200)]
mpegaudio: Refactor mp3on4 flush function

11 years agofate: Add dependencies for audio tests
Diego Biurrun [Fri, 19 Oct 2012 23:14:11 +0000 (01:14 +0200)]
fate: Add dependencies for audio tests

11 years agofate: cosmetics: Group idct8x8 test together with all other libavcodec tests
Diego Biurrun [Sat, 20 Oct 2012 14:12:30 +0000 (16:12 +0200)]
fate: cosmetics: Group idct8x8 test together with all other libavcodec tests

11 years agofate: Declare avcodec/avformat deps in the respective Makefile snippets
Diego Biurrun [Sat, 20 Oct 2012 19:58:43 +0000 (21:58 +0200)]
fate: Declare avcodec/avformat deps in the respective Makefile snippets

11 years agofate: More fine-grained dependencies for libavcodec test programs
Diego Biurrun [Fri, 19 Oct 2012 17:59:20 +0000 (19:59 +0200)]
fate: More fine-grained dependencies for libavcodec test programs

11 years agofate: Add dependencies for WMA and WavPack tests
Diego Biurrun [Fri, 19 Oct 2012 14:26:15 +0000 (16:26 +0200)]
fate: Add dependencies for WMA and WavPack tests

11 years agoImprove wording and spelling of av_log_missing_feature messages.
Diego Biurrun [Mon, 22 Oct 2012 12:35:13 +0000 (14:35 +0200)]
Improve wording and spelling of av_log_missing_feature messages.

11 years agolavu: remove disabled avoptions cruft
Anton Khirnov [Mon, 22 Oct 2012 12:39:43 +0000 (14:39 +0200)]
lavu: remove disabled avoptions cruft

11 years agoRevert "avutil: make some tables visible again"
Anton Khirnov [Mon, 22 Oct 2012 07:15:11 +0000 (09:15 +0200)]
Revert "avutil: make some tables visible again"

This reverts commit def8c94699877d015154a03d43e2b8f479cd89a0.

After the major bump this is no longer necessary.

11 years agolavu: bump major to 52
Anton Khirnov [Mon, 22 Oct 2012 07:12:03 +0000 (09:12 +0200)]
lavu: bump major to 52

In addition to the recent tables mess, the AVOption defaults behavior
changed, so an old lavc used with a new lavu will get completely messed
up defaults.

11 years agolavu: postpone recent deprecations until the next major bump
Anton Khirnov [Mon, 22 Oct 2012 07:11:41 +0000 (09:11 +0200)]
lavu: postpone recent deprecations until the next major bump

11 years agolavu: remove disabled FF_API_AV_FIFO_PEEK cruft
Anton Khirnov [Mon, 22 Oct 2012 12:40:32 +0000 (14:40 +0200)]
lavu: remove disabled FF_API_AV_FIFO_PEEK cruft

11 years agolavu: remove disabled FF_API_GET_BITS_PER_SAMPLE_FMT cruft
Anton Khirnov [Mon, 22 Oct 2012 12:36:14 +0000 (14:36 +0200)]
lavu: remove disabled FF_API_GET_BITS_PER_SAMPLE_FMT cruft

11 years agoRevert "avutil: Add a copy of ff_sqrt_tab back into avutil to restore ABI compatibility"
Anton Khirnov [Mon, 22 Oct 2012 07:14:43 +0000 (09:14 +0200)]
Revert "avutil: Add a copy of ff_sqrt_tab back into avutil to restore ABI compatibility"

This reverts commit d15c21e5fa3961f10026da1a3080a3aa3cf4cec9.

After the major bump this is no longer necessary.

11 years agoAPIchanges: update lavr bump date
Anton Khirnov [Mon, 22 Oct 2012 07:02:28 +0000 (09:02 +0200)]
APIchanges: update lavr bump date

11 years agoavconv: only apply presets when we have an encoder.
Anton Khirnov [Mon, 22 Oct 2012 20:40:22 +0000 (22:40 +0200)]
avconv: only apply presets when we have an encoder.

Fixes a crash when using a preset with stream copy.

CC: libav-stable@libav.org
11 years agog723_1: remove unneeded cliping
Michael Niedermayer [Mon, 22 Oct 2012 23:41:40 +0000 (01:41 +0200)]
g723_1: remove unneeded cliping

Fixes CID703731
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agog722dec: s/Libav/FFmpeg/ The copyright years predate the existence of Libav
Michael Niedermayer [Mon, 22 Oct 2012 22:33:23 +0000 (00:33 +0200)]
g722dec: s/Libav/FFmpeg/ The copyright years predate the existence of Libav

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agofate/mapchan: add bitexact flag
Michael Niedermayer [Tue, 23 Oct 2012 00:18:36 +0000 (02:18 +0200)]
fate/mapchan: add bitexact flag

fixes fate breakage

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoLVF demuxer
Paul B Mahol [Thu, 18 Oct 2012 12:34:46 +0000 (12:34 +0000)]
LVF demuxer

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoffmpeg: check avpicture_get_size() retuen value
Michael Niedermayer [Mon, 22 Oct 2012 22:22:23 +0000 (00:22 +0200)]
ffmpeg: check avpicture_get_size() retuen value

Fixes CID205018
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoj2k: reorder multiplications to avoid interger overflows related to precincts
Michael Niedermayer [Mon, 22 Oct 2012 21:56:14 +0000 (23:56 +0200)]
j2k: reorder multiplications to avoid interger overflows related to precincts

Fixes CID703778, CID703777
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoj2k: reorder multiplications to avoid interger overflows related to code blocks
Michael Niedermayer [Mon, 22 Oct 2012 21:56:14 +0000 (23:56 +0200)]
j2k: reorder multiplications to avoid interger overflows related to code blocks

Fixes CID703776, CID703775
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agofate: quote file paths in movie/amovie filtergraphs.
Clément Bœsch [Mon, 22 Oct 2012 21:01:08 +0000 (23:01 +0200)]
fate: quote file paths in movie/amovie filtergraphs.

This should avoid some nasty ':' escaping.

11 years agofate: improve metadata filter deps readability.
Clément Bœsch [Mon, 22 Oct 2012 20:12:19 +0000 (22:12 +0200)]
fate: improve metadata filter deps readability.

11 years agofate: add scale filter to the scene detect dependencies.
Clément Bœsch [Mon, 22 Oct 2012 05:58:46 +0000 (07:58 +0200)]
fate: add scale filter to the scene detect dependencies.

The select filter requires some conversion to rgb24 for the scene
detection.

11 years agofate: fix SAMPLES dependency for ffprobe.
Clément Bœsch [Mon, 22 Oct 2012 05:56:00 +0000 (07:56 +0200)]
fate: fix SAMPLES dependency for ffprobe.

FATE_SAMPLES_FFPROBE is a different list than FATE_FFPROBE, the same way
FATE_SAMPLES_FFMPEG is a different list than FATE_FFMPEG; these
FATE_SAMPLES_<tool> lists are in the FATE_EXTERN list, which is only
used when SAMPLES is set.

11 years agoqt-faststart: check fseeko() return codes
Michael Niedermayer [Mon, 22 Oct 2012 20:42:51 +0000 (22:42 +0200)]
qt-faststart: check fseeko() return codes

Fixes CID733725

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agocmdutils: apply option to codec and format contexts if possible.
Michael Niedermayer [Wed, 17 Oct 2012 23:56:48 +0000 (01:56 +0200)]
cmdutils: apply option to codec and format contexts if possible.

This is needed for setting both contexts -err_detect at once.

Reviewed-by: Clément Bœsch <ubitux@gmail.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavf/aiffdec: don't stop parsing after SSND chunk
Matthieu Bouron [Sat, 30 Jun 2012 15:53:38 +0000 (17:53 +0200)]
lavf/aiffdec: don't stop parsing after SSND chunk

Some file has ID3 chunk placed after SSND.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agodv: fix a check on dv_extract_timecode return value
Matthieu Bouron [Mon, 22 Oct 2012 17:08:26 +0000 (19:08 +0200)]
dv: fix a check on dv_extract_timecode return value

Fixes CID733808

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffmpeg/lavc: move experimental warnings to libavcodec.
Michael Niedermayer [Mon, 22 Oct 2012 15:58:33 +0000 (17:58 +0200)]
ffmpeg/lavc: move experimental warnings to libavcodec.

This way they are available to all applications and not just ffmpeg

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoatrac3: initialize static tables in AVCodec.init_static_data()
Justin Ruggles [Fri, 19 Oct 2012 03:04:03 +0000 (23:04 -0400)]
atrac3: initialize static tables in AVCodec.init_static_data()

11 years agoatrac3: replace a calculation with FFALIGN()
Justin Ruggles [Fri, 19 Oct 2012 03:51:37 +0000 (23:51 -0400)]
atrac3: replace a calculation with FFALIGN()

This allocates 4 bytes less than the previous code if avctx->block_align is
a multiple of 4, but the extra 4 bytes is not really needed.

11 years agoatrac3: separate window initialization from IMDCT initialization
Justin Ruggles [Fri, 19 Oct 2012 02:56:10 +0000 (22:56 -0400)]
atrac3: separate window initialization from IMDCT initialization

11 years agoatrac3: remove unused ATRAC3Context field, sample_rate
Justin Ruggles [Fri, 19 Oct 2012 03:34:40 +0000 (23:34 -0400)]
atrac3: remove unused ATRAC3Context field, sample_rate

11 years agoatrac3: move the 'frame_factor' field from ATRAC3Context to where it is used
Justin Ruggles [Fri, 19 Oct 2012 02:53:13 +0000 (22:53 -0400)]
atrac3: move the 'frame_factor' field from ATRAC3Context to where it is used

11 years agoatrac3: use sizeof(variable) instead of sizeof(type)
Justin Ruggles [Fri, 19 Oct 2012 03:25:44 +0000 (23:25 -0400)]
atrac3: use sizeof(variable) instead of sizeof(type)

11 years agoatrac3: simplify MDCT window calculation
Justin Ruggles [Fri, 19 Oct 2012 03:11:20 +0000 (23:11 -0400)]
atrac3: simplify MDCT window calculation

11 years agoatrac3: move the 'samples_per_frame' field from ATRAC3Context to where it is used
Justin Ruggles [Fri, 19 Oct 2012 02:50:40 +0000 (22:50 -0400)]
atrac3: move the 'samples_per_frame' field from ATRAC3Context to where it is used

11 years agoatrac3: remove unused ATRAC3Context field, bit_rate
Justin Ruggles [Fri, 19 Oct 2012 02:51:41 +0000 (22:51 -0400)]
atrac3: remove unused ATRAC3Context field, bit_rate

11 years agoatrac3: remove unused ATRAC3Context field, samples_per_channel
Justin Ruggles [Fri, 19 Oct 2012 02:48:45 +0000 (22:48 -0400)]
atrac3: remove unused ATRAC3Context field, samples_per_channel

11 years agoatrac3: use AVCodecContext.block_align instead of keeping a private copy
Justin Ruggles [Fri, 19 Oct 2012 02:45:48 +0000 (22:45 -0400)]
atrac3: use AVCodecContext.block_align instead of keeping a private copy

11 years agoatrac3: move the 'delay' field from ATRAC3Context to where it is used
Justin Ruggles [Fri, 19 Oct 2012 02:42:21 +0000 (22:42 -0400)]
atrac3: move the 'delay' field from ATRAC3Context to where it is used

11 years agoatrac3: use AVCodecContext.channels instead of keeping a private copy
Justin Ruggles [Thu, 18 Oct 2012 21:13:22 +0000 (17:13 -0400)]
atrac3: use AVCodecContext.channels instead of keeping a private copy

11 years agoatrac3: move the 'version' field from ATRAC3Context to where it is used
Justin Ruggles [Thu, 18 Oct 2012 21:14:59 +0000 (17:14 -0400)]
atrac3: move the 'version' field from ATRAC3Context to where it is used

11 years agoatrac3: simplify some loop indexing
Justin Ruggles [Thu, 18 Oct 2012 21:07:04 +0000 (17:07 -0400)]
atrac3: simplify some loop indexing

11 years agoatrac3: cosmetics: pretty-printing and renaming
Justin Ruggles [Wed, 17 Oct 2012 15:59:40 +0000 (11:59 -0400)]
atrac3: cosmetics: pretty-printing and renaming

also does some minor refactoring.

11 years agopcm: define AVCodec instances only for enabled codecs
Mans Rullgard [Wed, 17 Oct 2012 21:26:55 +0000 (22:26 +0100)]
pcm: define AVCodec instances only for enabled codecs

This defines an AVCodec only if the corresponding CONFIG option is
enabled instead of using the broad CONFIG_ENCODERS/DECODERS.

Signed-off-by: Mans Rullgard <mans@mansr.com>