45e5d0c3ac
libspeexdec: properly handle DTX for multiple frames-per-packet
2012-10-03 16:03:32 -04:00
908e22b93a
libspeexdec: move the SpeexHeader from LibSpeexContext to where it is used
2012-10-03 16:03:32 -04:00
892695c851
libspeexdec: simplify setting of frame_size
2012-10-03 16:03:32 -04:00
27c3f9c03e
libspeexdec: set channel_layout
2012-10-03 16:03:32 -04:00
29abb04e73
libspeexdec: If the channel count is not valid, decode as stereo.
...
When initialized as stereo, libspeex can decode either mono or stereo packets
and will output stereo.
2012-10-03 16:03:32 -04:00
3b061c5e10
libspeexdec: improve setting of Speex mode and sample rate
...
If there is no extradata and the sample rate given by the user is not valid,
decode as ultra-wideband.
2012-10-03 16:03:31 -04:00
ad11681acd
libspeex: Add a private option for enabling VAD
...
Speex detects non-speech periods and encodes them with just enough bits
to reproduce the background noise, aka ``comfort noise generation''.
Signed-off-by: Martin Storsjö <martin@martin.st >
2012-10-03 19:23:39 +03:00
f0fce9f33e
xtea: Test inplace decryption
...
Based on test code by: Giorgio Vazzana <mywing81@gmail.com >
Signed-off-by: Martin Storsjö <martin@martin.st >
2012-10-03 19:19:53 +03:00
b434500431
xtea: Fix CBC decryption when src==dst
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2012-10-03 19:19:49 +03:00
ca074cc313
xtea: Factorize testing into a separate function
...
Based on a patch by Michael Niedermayer.
Signed-off-by: Martin Storsjö <martin@martin.st >
2012-10-03 19:19:37 +03:00
fd712a5584
configure: Refactor HAVE_ options available on the command line
2012-10-03 18:08:25 +02:00
8be5b0d6d5
avconv/avprobe: Add missing 'void' to exit_program() definition
2012-10-03 18:07:49 +02:00
05e209c04c
Allow use of strncpy()
...
There are cases where strncpy() does exactly what is required.
A blanket ban forces more convoluted solutions to be used in those
cases and has been a cause of bugs.
Signed-off-by: Mans Rullgard <mans@mansr.com >
2012-10-03 14:36:51 +01:00
75366a504d
blowfish: Add more tests
...
Test inplace ECB, normal CBC and inplace CBC encryption/decryption.
Signed-off-by: Martin Storsjö <martin@martin.st >
2012-10-03 16:05:54 +03:00
87f023f2c0
blowfish: Fix CBC decryption with dst==src
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2012-10-03 16:05:23 +03:00
0cc9a64b92
blowfish: Factorize testing into a separate function
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2012-10-03 16:05:05 +03:00
51a15ed740
ARM: use numeric ID for Tag_ABI_align_preserved
...
Some old assemblers still in use do not support named tags.
Signed-off-by: Mans Rullgard <mans@mansr.com >
2012-10-03 11:49:55 +01:00
4edb34f6cc
segment: Pass the interrupt callback on to the chained AVFormatContext, too
...
This might not be needed at the moment, but it's good practice to
pass it to all chained AVFormatContexts, if it would happen to be
used there at a later point.
Signed-off-by: Martin Storsjö <martin@martin.st >
2012-10-02 22:14:07 +02:00
1ca3b62b10
ARM: bswap: drop armcc version of av_bswap16()
...
This function causes several versions of armcc to miscompile code,
and the performance impact is small.
Signed-off-by: Mans Rullgard <mans@mansr.com >
2012-10-02 19:47:56 +01:00
5e826fd65e
ARM: set Tag_ABI_align_preserved in all asm files
...
All our ARM asm preserves alignment so setting this attribute
in a common location is simpler. This removes numerous warnings
when linking with armcc.
Signed-off-by: Mans Rullgard <mans@mansr.com >
2012-10-02 19:47:56 +01:00
7bda4ed780
ARM: fix Thumb PIC on Apple
...
LDR with register offset and PC as base register is not available in
the Thumb instruction set so the addition must be done separately.
Signed-off-by: Mans Rullgard <mans@mansr.com >
2012-10-02 13:12:33 +01:00
72d30b2792
nut: add do {} while (0) to GET_V
...
Make it consistent with the other function-like macros.
2012-10-02 12:16:47 +02:00
b92dfb56d4
tiffenc: Check av_malloc() results.
2012-10-01 17:46:44 -07:00
9bc055e358
tiffenc: Simplify pixel format setup using AVPixFmtDescriptor.
2012-10-01 17:46:44 -07:00
5e3f9979fa
Use atexit() instead of defining a custom exit_program() interface.
2012-10-01 17:17:42 -04:00
bd680c7b49
msvc: Fix detection of VFW & Avisynth required libs
...
It should be vfw32.lib with MSVC.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2012-10-01 16:39:40 -04:00
1e46c63eb7
avformat: refactor avformat_write_header
...
Split away option settings, sanity checks and general setup.
2012-10-01 19:57:57 +02:00
86bbdf865e
avformat: refactor avformat_write_header
...
Mostly cosmetic changes adding some intermediate to shorten the lines.
2012-10-01 19:57:57 +02:00
55f9037f38
avformat: split muxing functions from util.c
2012-10-01 19:57:57 +02:00
bfcd4b6a16
adpcmdec: set AVCodec.sample_fmts
2012-10-01 13:42:44 -04:00
1478a3601e
twinvq: use planar sample format
2012-10-01 13:42:44 -04:00
a34be78546
ralf: use planar sample format
2012-10-01 13:42:44 -04:00
1a3459033d
mpc7/8: use planar sample format
2012-10-01 13:42:44 -04:00
3fca0d7210
iac/imc: use planar sample format
2012-10-01 13:42:43 -04:00
64c312aa29
dcadec: use float planar sample format
2012-10-01 13:42:43 -04:00
cbf6ee7823
cook: use planar sample format
2012-10-01 13:42:43 -04:00
9af4eaa8ea
atrac3: use float planar sample format
2012-10-01 13:42:43 -04:00
461ba7e97a
apedec: output in planar sample format
2012-10-01 13:42:43 -04:00
cf8c93ada4
8svx: use planar sample format
2012-10-01 13:42:43 -04:00
fd41cb4370
avconv: improve sample format negotiation for decoder request
...
This takes into account planar vs. packed when comparing to find the closest
sample format match.
2012-10-01 13:42:43 -04:00
6cb8c85409
Opus encoder using libopus
...
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2012-10-01 14:42:40 +02:00
15d35bee83
mpegts: Drop pointless casting of hex_dump_debug arguments
2012-10-01 13:18:28 +02:00
d3c40a7d1d
avformat: const correctness for av_hex_dump / av_hex_dump_log
2012-10-01 13:18:28 +02:00
d25fe4cc65
wmadec: Adjust debug printf argument length modifier
2012-10-01 12:46:41 +02:00
1218777ffd
avcodec: Convert some commented-out printf/av_log instances to av_dlog
2012-10-01 10:24:28 +02:00
9c6cf7f2c9
avcodec: Drop silly and/or broken printf debug output
2012-10-01 10:24:28 +02:00
6f6b0311a3
avcodec: Drop some silly commented-out av_log() invocations
2012-10-01 10:24:28 +02:00
72eaba5e4f
avformat: Convert some commented-out printf/av_log instances to av_dlog
2012-10-01 10:24:28 +02:00
11d4e92ed9
avformat: Remove non-compiling and/or silly commented-out printf/av_log statements
2012-10-01 10:24:28 +02:00
14d3e7ad11
Remove some silly disabled code.
2012-10-01 10:24:28 +02:00