Luca Barbato
0826d8513d
segment: drop global headers setting
...
avconv provides an option to set it externally and there isn't a way for
the outer demuxer to report the inner demuxer flag.
Solves a bad interaction between mpegts and x264, but requires
additional setting for the user.
12 years ago
Anton Khirnov
8728b958ff
lavu: fix typo in Makefile
12 years ago
Anton Khirnov
716d413c13
Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat
12 years ago
Anton Khirnov
78071a1420
pixfmt: add AV_ prefixes to PIX_FMT_*
12 years ago
Justin Ruggles
7b556be673
af_resample: avoid conversion of identical sample formats for 1 channel
...
When there is only 1 channel, the planar and interleaved formats of the same
data type should be treated as identical.
12 years ago
Justin Ruggles
37f701f1c3
avcodec: allow either planar or interleaved sample format when encoding mono
...
When there is only 1 channel, the planar and interleaved formats of the same
data type should be treated as identical.
12 years ago
Justin Ruggles
5364327186
adpcmenc: ensure calls to adpcm_ima_compress_sample() are in the right order
...
Should fix fate-acodec-adpcm-ima_wav with several compilers.
12 years ago
Diego Biurrun
62ae37decd
timefilter: De-doxygenize normal code comments and drop silly ones
12 years ago
Martin Storsjö
e67b0f9952
gxf: Include the right header for the avpriv_frame_rate_tab declaration
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Justin Ruggles
31b2262dca
wmaenc: use float planar sample format
12 years ago
Justin Ruggles
b1540fc884
(e)ac3enc: use planar sample format
12 years ago
Justin Ruggles
f3e2d68df6
aacenc: use planar sample format
12 years ago
Justin Ruggles
095be4fbf6
adpcmenc: use planar sample format for adpcm_ima_wav and adpcm_ima_qt
12 years ago
Justin Ruggles
d9a13c2f56
adpcmenc: move 'ch' variable to higher scope
...
It is used for multiple codecs.
12 years ago
Justin Ruggles
9606f19b4e
adpcmenc: fix 3 instances of variable shadowing
12 years ago
Justin Ruggles
1e35574bad
adpcm_ima_wav: simplify encoding
12 years ago
Justin Ruggles
cfc0a80a1d
libvorbis: use planar sample format
12 years ago
Justin Ruggles
473b297f26
libmp3lame: use planar sample formats
12 years ago
Justin Ruggles
233783e2c1
vorbisenc: use float planar sample format
12 years ago
Justin Ruggles
11dcddb97b
ffm: do not write or read the audio sample format
12 years ago
Mans Rullgard
6221e2478c
parseutils: fix parsing of invalid alpha values
...
An alpha specifier outside the valid range results in a conversion from
double to long with undefined result. Range-checking the double and
only converting it after it passes avoids this.
Fixes fate-parseutils errors on some systems.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Anton Khirnov
37ac11d92e
doc/RELEASE_NOTES: update for the 9 release.
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years ago
Martin Storsjö
cde26748ae
smoothstreamingenc: Add a more verbose error message
...
This helps tracking down the cause if this happens to be an issue.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
fadd3a6821
smoothstreamingenc: Ignore the return value from mkdir
...
We don't need to return an error if the directory already existed.
We make sure that the directory actually is properly writeable later
within ism_write_header by writing a manifest anyway.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
8e2763786d
smoothstreamingenc: Try writing a manifest when opening the muxer
...
This allows failing cleaner and earlier if unable to write to
the output directory.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
3ea06ac59e
smoothstreamingenc: Move the output_chunk_list and write_manifest functions up
...
This allows calling write_manifest from ism_write_header without
a forward declaration.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
5fa43f76aa
smoothstreamingenc: Properly return errors from ism_flush to the caller
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
eb2f391018
smoothstreamingenc: Check the output UrlContext before accessing it
...
This code can be called with a NULL UrlContext if writing of the
trailer involves seeking.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Anton Khirnov
d3a72becc6
yuv4mpeg: return proper error codes.
...
Fixes Bug 373.
CC:libav-stable@libav.org
12 years ago
Diego Biurrun
e4cbf7529b
Give all anonymously typedeffed structs in headers a name
...
Anonymous structs cannot be forward declared and have no benefit.
12 years ago
Diego Biurrun
76f644d9f7
fate: Add parseutils test
12 years ago
Diego Biurrun
c010fce6c9
parseutils-test: Drop random colors from parsing test
...
This guarantees stable output for comparing test results.
12 years ago
Anton Khirnov
ba04177eeb
vf_pad/scale: use double precision for aspect ratios.
...
Fixes Bug 203.
CC:libav-stable@libav.org
12 years ago
Mans Rullgard
c07d56a684
build: error on variable-length arrays
...
With all the VLAs gone, make sure they never come back.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
07eb7e20af
ppc: swscale: rework yuv2planeX_altivec()
...
This gets rid of the variable-length scratch buffer by filtering 16
pixels at a time and writing directly to the destination. The extra
loads this requires to load the source values are compensated by not
doing a round-trip to memory before shifting.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
642b4efaf7
ppc: fmtconvert: kill VLA in float_to_int16_interleave_altivec()
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
bcf07a15a0
x86: dsputil: kill VLA in gmc_mmx()
...
Instead of using an evil VLA, fall back to C version when edge
emulation is needed. MPEG4 GMC is a rarely used fringe feature
so the speed loss is an acceptable cost for safer code.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Dmitry Samonenko
f1c6a740fc
libspeexenc: Updated commentary to reflect recent changes
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Dmitry Samonenko
978d5bd2a7
libspeexenc: Add an option for enabling DTX
...
Discontinuous transmission is an addition to VAD/VBR operation, that
allows to greatly reduce bitrate for silent chunks or stationary
noises.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Anton Khirnov
2f49e3da33
doc/APIchanges: fill in missing dates and hashes.
12 years ago
Anton Khirnov
006afc7a0b
lavr: bump major to 1 and declare it stable.
12 years ago
Anton Khirnov
e7ba5b1de0
lavr: change the type of the data buffers to uint8_t**.
...
This is more consistent with what the rest of Libav does.
This breaks API.
12 years ago
Anton Khirnov
30223b3bf2
lavc: deprecate the audio resampling API.
...
It has been superseded by lavr.
12 years ago
Ronald S. Bultje
f6f7d15041
h264: don't touch H264Context->ref_count[] during MB decoding
...
The variable is copied to subsequent threads at the same time, so this
may cause wrong ref_count[] values to be copied to subsequent threads.
This bug was found using TSAN.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years ago
Diego Biurrun
a7329e5fc2
x86: get_cpu_flags: add necessary ifdefs around function body
...
ff_get_cpu_flags_x86() requires cpuid(), which is conditionally defined
elsewhere in the file. Surrounding the function body with ifdefs allows
building even when cpuid is not defined. An empty cpuflags mask is
returned in this case.
12 years ago
Diego Biurrun
f6fbce761e
x86: Drop CPU detection intrinsics
...
Now that there is CPU detection in YASM, there will always be one of
inline or external assembly enabled, which obviates the need to fall
back on CPU detection through compiler intrinsics.
12 years ago
Diego Biurrun
1f6d86991f
x86: Add YASM implementations of cpuid and xgetbv from x264
...
This allows detecting CPU features with builds that have neither
gcc inline assembly nor the right compiler intrinsics enabled.
12 years ago
Mans Rullgard
65d1290043
configure: add --enable-lto option
...
This works with gcc. Other compilers might need to have a flag
mapping added.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Diego Biurrun
54b243141e
x86: cpu: Break out test for cpuid capabilities into separate function
12 years ago
Diego Biurrun
cc5e9e5ff0
x86: ff_get_cpu_flags_x86(): Avoid a pointless variable indirection
12 years ago