Nicolas George
a0a0199da3
examples/filtering_audio: do not stop on decode error.
...
Decode errors can happen with concatenated MP3s
with different formats.
13 years ago
Nicolas George
8f19483d06
examples/filtering_audio: fix a memory leak.
13 years ago
Nicolas George
2ae5af8094
lavfi: rename vsrc_buffer.c into src_buffer.c.
13 years ago
Nicolas George
7ad0d9864e
lavfi: merge asrc_abuffer into vsrc_buffer.
13 years ago
Luca Barbato
3b52e9da10
segment: reorder seg_write_header allocation
...
As pointed by Paul B Mahol <onemda@gmail.com> the previous code could
lead to null pointer dereference.
13 years ago
Luca Barbato
e1e146a2d1
avio: make avio_close(NULL) a no-op
...
Its behaviour in line with ffurl_close(NULL).
13 years ago
Michael Niedermayer
28c5775183
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
mpegts: Make sure we don't return uninitialized packets
gitignore: replace library catch-all pattern by more specific patterns
Conflicts:
.gitignore
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
18c6bd098b
lavfi/tinterlace: remove unnecessary NULL check in start_frame()
13 years ago
Stefano Sabatini
cf9f7e40cc
lavfi/tinterlace: use avfilter_unref_bufferp()
13 years ago
Stefano Sabatini
a853e88af2
lavfi/tinterlace: fix doxy in copy_picture_field()
13 years ago
Yusuke Nakamura
546adc1fee
mov: Parse EC3SpecificBox (dec3 atom).
...
Skip to parse fields for additional independent substreams and its
associated dependent substreams since libavcodec's E-AC-3 decoder does not
support them yet.
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Matthieu Bouron
73c1e3baad
asrc_abuffer: return EAGAIN if no frame is available
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
6b55aab01a
lavfi: create buffer reference in filters which need to access the ref later
...
Also add internal function ff_null_start_frame_keep_ref().
Fix crash when a following filter (e.g. settb) will unref the reference
passed by start_frame(), and then the reference is accessed in
end_frame() through inlink->cur_buf.
13 years ago
Stefano Sabatini
6f3b1d7f86
lavfi/bbox: add missing space between pts and x1 values in the log
13 years ago
Clément Bœsch
423b827668
lavc: add MicroDVD decoder.
...
Based on my MicroDVD->ASS conversion code from MPlayer
(sub/subassconvert.c).
13 years ago
Clément Bœsch
e40981b8c4
lavf/microdvd: set packet duration.
13 years ago
Martin Storsjö
df8aa4598c
mpegts: Make sure we don't return uninitialized packets
...
This fixes crashes, where the demuxer could return 0 even
if the returned AVPacket isn't initialized at all. This
could happen if running into EOF or running out of probesize
with non-seekable sources.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Nicolas George
3e1d3ebf5e
parseutils: replace setenv() by putenv().
...
putenv() seems to be more portable.
13 years ago
Diego Biurrun
1b4f085772
gitignore: replace library catch-all pattern by more specific patterns
...
Ignoring all files that start with the name of a library matches some
files that are not generated. So replace libfoo/libfoo* with patterns
for static and shared libraries, pkg-config and version files.
13 years ago
Michael Niedermayer
dcfc12e86a
swr-test: simplify prng code
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nicolas George
e5474f5c48
doc: fix syntax for durations and timestamps.
...
Omitting the seconds has not worked for a long time, if ever.
Omitting the minutes too is just nonsensical for a duration
(it is indistinguishable from just seconds).
13 years ago
Michael Niedermayer
bbd3dc49ff
swr: unroll audioconvert core C function
...
36k->32k decicycles
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
4119fa7023
swr: audioconvert, mark some constants as floats.
...
idea from avr
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
76d376d99b
swr-test: fix declaration statement ordering.
...
swr-test is now warning free.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
f75169b251
swr-test: fix pointer type warnings
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
7b2ce50701
swr-test: fix unused var warnings
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
a0dd81dd95
swr-test:indent
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
e890b68962
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
dsputil: fix invalid array indexing
configure: add libavresample to rpath
build: icc: silence some warnings
fft-test: add option to set cpuflag mask
cpu: recognise only cpu flag names pertinent to the architecture
avutil: add av_parse_cpu_flags() function
vp8: armv6: fix non-armv6t2 build
vp8: armv6 optimisations
vp8: arm: separate ARMv6 functions from NEON
ARM: add some compatibility macros
mov: support eac3 audio
avf: fix faulty check in has_duration
Conflicts:
configure
doc/APIchanges
ffmpeg.c
libavcodec/arm/Makefile
libavcodec/arm/asm.S
libavcodec/arm/vp8dsp_armv6.S
libavcodec/arm/vp8dsp_init_arm.c
libavutil/avutil.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
f1f5b39866
swr-test: support fabrices audiogen like avr
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
73be22f526
swr-test: fix u8 zero point.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
56f89bae52
swr-test: improve rounding in set()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Matthieu Bouron
5473a98e45
af_amerge: return errors from subfilters when requesting a frame
13 years ago
Mans Rullgard
0a07f2b346
dsputil: fix invalid array indexing
...
Indexing outside an array is invalid and causes errors with
gcc 4.8.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Michael Niedermayer
27de7a8eb3
swr-test: remove unneeded hack to test planar formats.
...
planar formats are now chosen like any other parameter.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
08809e3085
swr-test: improve output
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
5347b9da98
swr-test: print channel layout, instead of just channel counts
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
e6c460e3ea
swr-test: Use randomized collision free hypercube corner enumeration to select tests.
...
This way the user can specify how many or few tests should run while
still providing good coverage over the whole parameter set.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
7461e9ae45
swr-test: use formats array
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
69f3af9590
swr-test: remove 0 terminator in layouts for consistency
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
b1519102f1
swr-test: add rates tables containing a new set of sample rates.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
030d6b65ae
swr-test: indent
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
dd63e27574
swr-test: add sorted formats table from avr
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Sean McGovern
3510a13307
configure: add libavresample to rpath
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Michael Niedermayer
a4b58fd9e8
ffv1: add examples of supported slices counts
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
da9587952a
swr: pass resample parameters from the user to the resampler.
...
doxy and names stolen from avr
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
a522e03754
swr: Add longer more descriptive alternative AVOptions.
...
They match avresample where it supports the same fields.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
20fc610439
swr: Capitalize help texts for AVOptions
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
36a9dd2f4d
swr: align options a little
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
23282c2222
swr: set AV_OPT_FLAG_AUDIO_PARAM for the AVOptions
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mans Rullgard
88de5b0a73
build: icc: silence some warnings
...
This disables the warning "external declaration in primary source file"
which is issued when a prototype for an extern function is found in a
.c file rather than a header file. We have such prototypes for asm
functions where a separate header file would be pointless.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago