8207c67a24
lavu: remove disabled FF_API_GET_BITS_PER_SAMPLE_FMT cruft
2012-10-23 07:33:05 +02:00
468ea9d5b1
Revert "avutil: make some tables visible again"
...
This reverts commit def8c94699
.
After the major bump this is no longer necessary.
2012-10-23 07:33:05 +02:00
c6b25d1d5e
Revert "avutil: Add a copy of ff_sqrt_tab back into avutil to restore ABI compatibility"
...
This reverts commit d15c21e5fa
.
After the major bump this is no longer necessary.
2012-10-23 07:33:05 +02:00
add3a6902e
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.
2012-10-23 07:33:05 +02:00
2b8dd371e4
lavu: postpone recent deprecations until the next major bump
2012-10-23 07:33:05 +02:00
9cac8a5199
APIchanges: update lavr bump date
2012-10-23 07:33:05 +02:00
4e61a38aa0
avconv: only apply presets when we have an encoder.
...
Fixes a crash when using a preset with stream copy.
CC: libav-stable@libav.org
2012-10-23 07:30:58 +02:00
a1f4cd371a
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.
2012-10-22 10:10:08 -04:00
808686fc1e
atrac3: remove unused ATRAC3Context field, sample_rate
2012-10-22 10:10:08 -04:00
89a6c32bc1
atrac3: use sizeof(variable) instead of sizeof(type)
2012-10-22 10:10:08 -04:00
327747de15
atrac3: simplify MDCT window calculation
2012-10-22 10:10:08 -04:00
5d1007f74d
atrac3: initialize static tables in AVCodec.init_static_data()
2012-10-22 10:10:08 -04:00
78edce3f19
atrac3: separate window initialization from IMDCT initialization
2012-10-22 10:10:08 -04:00
c51311b907
atrac3: move the 'frame_factor' field from ATRAC3Context to where it is used
2012-10-22 10:10:08 -04:00
7e76f27081
atrac3: remove unused ATRAC3Context field, bit_rate
2012-10-22 10:10:07 -04:00
a2664c91fb
atrac3: move the 'samples_per_frame' field from ATRAC3Context to where it is used
2012-10-22 10:10:07 -04:00
7c1f93afe6
atrac3: remove unused ATRAC3Context field, samples_per_channel
2012-10-22 10:10:07 -04:00
cdd0e0de81
atrac3: use AVCodecContext.block_align instead of keeping a private copy
2012-10-22 10:10:07 -04:00
64ebbb8f89
atrac3: move the 'delay' field from ATRAC3Context to where it is used
2012-10-22 10:10:07 -04:00
56a9d2b44e
atrac3: move the 'version' field from ATRAC3Context to where it is used
2012-10-22 10:10:06 -04:00
5ac673b553
atrac3: use AVCodecContext.channels instead of keeping a private copy
2012-10-22 10:10:06 -04:00
aefdb735c3
atrac3: simplify some loop indexing
2012-10-22 10:10:06 -04:00
e55d53905f
atrac3: cosmetics: pretty-printing and renaming
...
also does some minor refactoring.
2012-10-22 10:10:06 -04:00
abdee95224
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 >
2012-10-22 14:40:57 +01:00
5957aefc7c
libxvid: remove useless doxy comments.
2012-10-22 15:20:23 +02:00
b691135d0c
lavc: remove stats_out from the options table.
...
Since it is declared as a string AVOption, the generic freeing code
attempts to free it on codec close. Some codecs might have already freed
it elsewhere (or didn't even allocate it with av_malloc() in the first
place), so this might lead to an invalid free.
There is no point in having this field accessible as an AVOption, so
remove it from the options table.
Fixes Bug 380.
CC: libav-stable@libav.org
2012-10-22 14:44:07 +02:00
6173a8fe5d
riff: remove a write-only variable
2012-10-22 08:49:58 +02:00
d6f4fe68c8
lavc: extend frame_size doxy.
2012-10-22 08:49:58 +02:00
46a86c6194
alacdec: set bits_per_raw_sample
2012-10-21 23:54:51 -04:00
c3e15f7b39
rtpdec: Don't pass a non-AVClass pointer as log context
...
The log context is assumed to start with an AVClass pointer.
Signed-off-by: Martin Storsjö <martin@martin.st >
2012-10-22 01:46:33 +03:00
e0d5ac6ae3
rtsp: Update a comment to the current filename scheme
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2012-10-22 01:46:10 +03:00
c854102da7
avcodec: handle AVERROR_EXPERIMENTAL
...
Error out on init if a codec with CODEC_CAP_EXPERIMENTAL is requested
and strict_std_compliance is not FF_COMPLIANCE_EXPERIMENTAL.
Move the check from avconv to avcodec_open2() and return
AVERROR_EXPERIMENTAL accordingly.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2012-10-21 23:03:26 +02:00
a893655bda
avutil: Add AVERROR_EXPERIMENTAL
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2012-10-21 22:38:21 +02:00
a4aa20fbdb
avcodec: prefer decoders without CODEC_CAP_EXPERIMENTAL
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2012-10-21 22:27:58 +02:00
620345f930
fate: adpcm: cosmetics: Sort test entries
...
This also places tests of related formats together.
2012-10-20 21:10:21 +02:00
2e0c410485
fate: adpcm: Add dependencies
2012-10-20 21:10:21 +02:00
af1ede069c
svq3: cosmetics: Drop useless parentheses
2012-10-20 21:10:21 +02:00
a7d2861d36
svq3: K&R formatting cosmetics
2012-10-20 21:10:21 +02:00
8860878291
fate: Introduce ENCMUX macro for tests that require encoders and a muxer
2012-10-20 21:10:21 +02:00
6cfca5b6ae
ffv1: Add missing #includes to header file
2012-10-20 21:10:21 +02:00
2d09b36c03
doc/platform: Add info on shared builds with MSVC
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2012-10-20 12:55:59 -04:00
f2a7236d0c
doc/platform: Move a caveat down to the notes section
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2012-10-20 12:55:59 -04:00
ebe46b8063
ARM: reinstate optimised intmath.h
...
Use of the ARM optimised intmath.h was accidentally dropped in 9734b8b
.
Signed-off-by: Mans Rullgard <mans@mansr.com >
2012-10-20 17:26:37 +01:00
0f13cd3187
ffv1: update to ffv1 version 3
...
Based on code from Carl Eugen Hoyos, Michael Niedermayer and Paul B Mahol.
2012-10-20 18:14:52 +02:00
4a2a4524a3
ffv1: propagate errors
2012-10-20 18:14:51 +02:00
71f7b22dba
ffv1: split decoder and encoder
2012-10-20 18:14:43 +02:00
d15c21e5fa
avutil: Add a copy of ff_sqrt_tab back into avutil to restore ABI compatibility
...
Earlier versions of for instance of libavcodec expect this symbol to be
present in libavutil. This commit can be reverted after the next major
bump.
New shared builds of avcodec will link to the internal copy of the
table within that library, so those builds won't rely on this table
being present in avutil any longer either.
Signed-off-by: Martin Storsjö <martin@martin.st >
2012-10-20 14:31:55 +03:00
def8c94699
avutil: make some tables visible again
...
These tables are used for instance by older versions of libavcodec and
need to remain visible until the next SONAME bump.
Signed-off-by: Martin Storsjö <martin@martin.st >
2012-10-20 14:31:55 +03:00
8c0a3d5fe0
avutil: remove inline av_log2 from public API
...
This removes inline av_log2 and av_log2_16bit from the public API,
instead exporting them as regular functions. In-tree code still
gets the inline and otherwise optimised variants.
Signed-off-by: Mans Rullgard <mans@mansr.com >
2012-10-20 12:28:45 +01:00
f0c07be649
celp_math: rename ff_log2 to ff_log2_q15
...
This name is more descriptive as the function returns a fixed-point
value with 15 fraction bits.
Signed-off-by: Mans Rullgard <mans@mansr.com >
2012-10-20 12:28:45 +01:00