James Almer and Michael Niedermayer
c485c835fe
avutil/crc: Dont limit CRC32 standard tables
...
Currently, standard tables like AV_CRC_32_IEEE and such are being generated (or
provided in case the user compiles with hardcoded tables) with only 257 elements.
We're missing a considerable boost in performance by not making them with a size
of 1024 elements instead.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-06-01 10:53:39 +02:00
James Almer and Paul B Mahol
6510686c16
lavf/tta: check header and seek table checksum
...
Since we don't check for seek table integrity in the decoder anymore,
check it in the demuxer instead (Only tta files are guaranteed to have
one, and it should be valid there).
Check also for header integrity, since the check done in the decoder
is ignored because matroska doesn't store the header at all.
Signed-off-by: James Almer <jamrial@gmail.com >
2013-05-31 21:10:57 +00:00
James Almer and Michael Niedermayer
54372848f3
tools/ffhash: Use O_BINARY when available
...
This fixes reading files in Windows
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-17 00:38:07 +02:00
James Almer and Michael Niedermayer
b22f96b736
Rename ffadler to ffhash and expand it using the generic hash API
...
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-16 17:58:56 +02:00
James Almer and Michael Niedermayer
35188e91ef
lavu/hash: Fix CRC32 calculation
...
Initialize it with UINT32_MAX and xor the result with UINT32_MAX
as well.
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-15 23:53:40 +02:00
James Almer and Michael Niedermayer
c55c715c81
lavu/hash: Fix adler32 calculation
...
Adler must be initialized with a non zero value.
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-15 23:53:40 +02:00
James Almer and Michael Niedermayer
dc7656279a
lavu/hash: Fix name of SHA224
...
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-05-14 19:43:51 +02:00
James Almer
67fad0d221
ADPCM IMA Radical decoder
...
Signed-off-by: James Almer <jamrial@gmail.com >
2013-05-10 16:53:50 -03:00
James Almer
e5e86db178
RedSpark demuxer
...
Signed-off-by: James Almer <jamrial@gmail.com >
2013-05-10 16:53:02 -03:00
James Almer
d3710c51d9
RSD demuxer
...
Signed-off-by: James Almer <jamrial@gmail.com >
2013-05-10 16:52:10 -03:00
James Almer
22c7784f60
adpcm_thp: Allow the use of extradata for the adpcm table
...
There are several containers that support adpcm_thp (Also known as Gamecube DSP)
streams, but only thp files contain the coeff table and previous sample inside
each frame.
Some don't even contain previous sample information at all.
This change will make it easier to implement demuxers for said containers
without having to create a new decoder.
Signed-off-by: James Almer <jamrial@gmail.com >
2013-05-10 16:10:53 -03:00
James Almer
b4866f717c
ADP demuxer
...
Signed-off-by: James Almer <jamrial@gmail.com >
2013-05-10 16:10:52 -03:00
James Almer
e7814ed839
ADPCM DTK decoder
...
Signed-off-by: James Almer <jamrial@gmail.com >
2013-05-10 16:10:51 -03:00
James Almer and Michael Niedermayer
572e38a513
log: Remove redundant va_list creation from missing_feature_sample()
...
avpriv_request_sample() and avpriv_report_missing_feature() were printing bogus values for the extra arguments.
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-13 21:14:34 +02:00
James Almer and Michael Niedermayer
94d13df34c
Fix compilation with --disable-everything --enable-filter=deshake
...
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-04-11 16:33:02 +02:00
James Almer and Clément Bœsch
89388a953a
Replace all occurrences of PRI in sscanf() calls with SCN
...
Signed-off-by: James Almer <jamrial@gmail.com >
2013-04-10 09:56:48 +02:00
James Almer and Michael Niedermayer
45013b365e
lavc/flacdec: Propagate and return meaningful error codes
...
Signed-off-by: James Almer <jamrial@gmail.com >
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-03-25 13:16:33 +01:00
James Almer and Paul B Mahol
1d5b35cc07
lavc/flacdec: Add frame CRC calculation
...
Fixes ticket #2266
Signed-off-by: James Almer <jamrial@gmail.com >
2013-03-02 17:22:18 +00:00
James Almer and Michael Niedermayer
67b3fcf655
configure: Use libiconv on systems that lack built-in iconv
...
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-02-21 22:41:19 +01:00
James Almer and Michael Niedermayer
b8bb661dab
Changelog: Add entry for encrypted TTA stream decoding
...
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-02-17 00:37:12 +01:00
James Almer and Michael Niedermayer
2e988fd689
lavc/tta: Use a safer check for encrypted streams
...
The user can provide a password even when the stream
is not encrypted, so check the value of s->format
instead of s->pass in ttafilter_init().
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-02-17 00:34:38 +01:00
James Almer and Michael Niedermayer
a56fd9edab
lavu: Fix checkheaders for x86/emms.h
...
internal.h doesn't need to include cpu.h anymore since
the relevant code was moved to x86/emms.h
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-02-17 00:18:16 +01:00
James Almer and Michael Niedermayer
8c95d177df
fate: Add encrypted tta stream test
...
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-02-14 17:48:08 +01:00
James Almer and Michael Niedermayer
0957041221
lavc/tta: Add support for encrypted streams
...
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-02-12 15:36:12 +01:00
James Almer and Michael Niedermayer
53b2083f44
sparc: Revert some parameter name changes in dsputil_vis.c
...
They were renamed by mistake in 25841df .
This should fix compilation failures on sparc.
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-02-09 02:59:15 +01:00
James Almer and Michael Niedermayer
89946c8403
dxva2: Prevent redefinition of _WIN32_WINNT
...
Don't redefine _WIN32_WINNT when targeting Win7/8
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-02-08 14:10:19 +01:00
James Almer and Paul B Mahol
8ab2173ed1
lavc/bink: Chech for malloc failure
...
Signed-off-by: James Almer <jamrial@gmail.com >
2013-02-06 12:35:33 +00:00
James Almer and Michael Niedermayer
13eb9fcf56
build: Remove superfluous MAKE variable for the build suffix
...
Use BUILDSUF instead.
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-02-03 13:08:36 +01:00
James Almer and Michael Niedermayer
d1511c02f4
proresdsp: Fix checkheaders
...
It's been broken since commit ac89875
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-02-03 13:08:36 +01:00
James Almer and Michael Niedermayer
e65d8509f0
libm: Add fallback definition for cbrt() using pow()
...
The function is known to be missing in at least one target (MSVC).
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-01-22 16:02:31 +01:00
James Almer and Michael Niedermayer
b6576dca99
configure: Fix Barcelona and Bulldozer compiler options with suncc
...
Barcelona/amdfam10 does not support SSE4 instructions.
Also, Bulldozer supports AVX instructions, so use them instead.
Signed-off-by: James Almer <jamrial@gmail.com >
Reviewed-by: Carl Eugen Hoyos <cehoyos@ag.or.at >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-01-19 14:38:39 +01:00
James Almer and Michael Niedermayer
4f8b73129b
doc/Makefile: Fix make docclean
...
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-01-19 14:32:29 +01:00
James Almer and Michael Niedermayer
b454c64e03
latmenc: Check for LOAS sync word
...
Write the packet unaltered if found.
Fixes ticket #1917
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-01-17 04:55:14 +01:00
James Almer and Michael Niedermayer
6717d1a96f
MAINTAINERS: add myself as maintainer of lavf/astenc.c
...
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-01-05 17:07:50 +01:00
James Almer and Michael Niedermayer
b7d77f8e64
astenc: Enable the loop flag only when needed
...
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2013-01-05 17:07:42 +01:00
James Almer and Paul B Mahol
d59d39e164
wavdec: fix duration calculation for files with invalid data size
...
Some wav files report a data size that is bigger than the actual file size.
Fall back to estimation from bitrate in such cases.
Fixes ticket #2065 .
Signed-off-by: James Almer <jamrial@gmail.com >
2012-12-29 17:46:01 +00:00
James Almer and Michael Niedermayer
974ac57e83
astenc: Remove two AVRationals with denominator 1
...
They are completely superfluous when using av_rescale_q_rnd().
Call av_rescale_rnd() using what used to be the numerators instead.
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-12-20 05:05:55 +01:00
James Almer and Paul B Mahol
7959c26fb0
brstm: fix number of samples for the last block
...
Signed-off-by: James Almer <jamrial@gmail.com >
2012-12-16 10:34:33 +00:00
James Almer and Paul B Mahol
b70251c0ad
AST Muxer
...
Signed-off-by: James Almer <jamrial@gmail.com >
2012-12-04 11:25:46 +00:00
James Almer and Paul B Mahol
7f0e7fc9e2
ast: Rename ast.c -> astdec.c
...
Signed-off-by: James Almer <jamrial@gmail.com >
2012-12-04 10:51:38 +00:00
jamal and Michael Niedermayer
9434ead2f3
fate: Handle lavf-fate tests in a makefile
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-10-19 14:20:11 +02:00
jamal and Michael Niedermayer
ffc1d959a0
tests/Makefile: fix ffprobe-test.nut with target-exec
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-10-07 03:20:36 +02:00
jamal and Michael Niedermayer
062cd9acc1
fate: Fix --disable-zlib
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-09-29 16:09:05 +02:00
jamal and Michael Niedermayer
a70b4935f1
Add missing version macros to libraries
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-09-28 15:10:18 +02:00
jamal and Michael Niedermayer
b75c3d2b8b
swresample: Create version.h header
...
Reviewed-by: Stefano Sabatini <stefasab@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-09-28 15:10:36 +02:00
jamal and Michael Niedermayer
ec87389183
postproc: Create version.h header
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-09-28 15:06:26 +02:00
jamal and Michael Niedermayer
35e09036c4
avcodec: Add missing include to version.h
...
Reviewed-by: Stefano Sabatini <stefasab@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-09-28 15:06:08 +02:00
jamal and Michael Niedermayer
33f92a3ea2
configure: fix git domain check with out of tree build
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-09-20 12:54:09 +02:00
jamal and Michael Niedermayer
c112b6b68f
configure: Treat warnings as errors in check_yasm()
...
yasm generates a warning instead of an error when "CPU amdnop" is not supported, so the check always succeeds.
HAVE_CPUNOP as true when the available yasm version doesn't support amdnop doesn't make sense.
Check http://fate.ffmpeg.org/log.cgi?time=20120901143315&log=compile&slot=x86_64-archlinux-gcc-oldyasm to see the amount of warnings it generates.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-09-01 23:45:32 +02:00
jamal and Michael Niedermayer
95d1af1188
build: Fix compilation when configuring with a prog suffix
...
Fixes ticket #1676
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-08-27 01:32:13 +02:00
jamal and Michael Niedermayer
732dfc7660
lavf/ape: Fix stream duration calculation
...
Fixes ticket #1662
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-08-23 15:51:51 +02:00
jamal and Michael Niedermayer
5d8e54fe1d
checkheaders: Rename HEADEROBJS to HOBJS
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-08-09 05:02:45 +02:00
jamal and Carl Eugen Hoyos
82e5c5d45b
lavc/old_codec_ids: Fix make checkheaders.
2012-08-08 08:02:56 +02:00
jamal and Alexander Strasser
49440853d0
build: Fix some paths in uninstall-libs
...
Folder and file names weren't being separated with a slash.
This resulted in .dll.a, .lib and .def files not being removed on uninstall.
Signed-off-by: Alexander Strasser <eclipse7@gmx.net >
2012-08-07 22:34:10 +02:00
jamal and Alexander Strasser
7c5466d4fc
checkheaders: Fix directory creation in out-of-tree builds.
...
checkheaders wasn't creating folders as needed, so if it was run
immediately after the configure script it would fail as soon as
it tried to compile headers inside the ARCH folders.
Signed-off-by: Alexander Strasser <eclipse7@gmx.net >
2012-08-07 22:34:10 +02:00
jamal and Michael Niedermayer
753a1b0988
samplefmt: Fix warning about discarded qualifier
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-07-30 03:50:43 +02:00
jamal and Michael Niedermayer
938e4470ae
options: Fix warning about incompatible pointer type
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-07-30 03:48:46 +02:00
jamal and Michael Niedermayer
64c53fa16a
dxva2: Fix some warnings about incompatible pointer type
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-07-28 03:28:46 +02:00
jamal and Michael Niedermayer
94c3e11a6f
imgutils: Fix warnings about incompatible pointer type and discarded qualifiers
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-07-27 22:10:10 +02:00
jamal and Michael Niedermayer
52a62f9085
dwt: Fix several warnings about incompatible pointer type
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-07-27 19:36:17 +02:00
jamal and Michael Niedermayer
c49e0d2cdd
aviobuf: Fix warning about discarded qualifier
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-07-27 12:46:51 +02:00
jamal and Michael Niedermayer
cb40d36074
ffv1: Fix warnings about incompatible pointer type and discarded qualifiers
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-07-27 12:27:21 +02:00
jamal and Stefano Sabatini
2090e40410
configure: Check that texi2html supports --init-file
...
Fixes ticket #1515
2012-07-14 11:47:15 +02:00
jamal and Stefano Sabatini
d48f014ff1
doc/Makefile: Add missing $(HOSTEXESUF) to print_options
2012-07-14 11:47:09 +02:00
jamal and Stefano Sabatini
3e03f8d8b2
build: Fix documentation dependencies and rules
2012-07-14 11:47:01 +02:00
jamal and Michael Niedermayer
0f03563d7e
lavc/w32pthreads: Fix make checkheaders.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-07-14 03:02:03 +02:00