Diego Biurrun
9d46eaec7a
build: The FLAC encoder also depends on the flacdsp code
...
Fixes linking with only the FLAC encoder enabled.
12 years ago
Diego Biurrun
cc7d5cfeec
img2: K&R formatting cosmetics
...
Also introduce local img_ namespace to simplify debugging.
12 years ago
Janne Grunau
c1fcf563b1
h264: check context state before decoding slice data partitions
...
Fixes mov_h264_aac__Demo_FlagOfOurFathers.mov.SIGSEGV.4e9.656.
Found-by: Mateusz "j00ru" Jurczyk
CC: libav-stable@libav.org
12 years ago
Janne Grunau
3ae69b9166
flashsv: make sure data for zlib priming is available
...
Fixes a segfault in the fuzzed sample resolutionchange.flv_s314809.
CC: libav-stable@libav.org
12 years ago
Anton Khirnov
e2718e7a70
avplay: Do not use removed av_get_int()
...
Fixes build with lavfi disabled.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years ago
Justin Ruggles
95682d8cd2
avconv: fix variable shadowing in configure_input_audio_filter()
12 years ago
Diego Biurrun
e4d349b401
fate: h264: Add dependencies
12 years ago
Diego Biurrun
d2f576bd49
fate: ea: Add dependencies
12 years ago
Diego Biurrun
47e7fb8815
fate: Do not unconditionally run libavutil tests
...
Now that libavutil can be disabled, this should be conditional.
12 years ago
Diego Biurrun
2c4593dd13
rtpenc_chain: Remove unused variable
12 years ago
Justin Ruggles
ab87d9b667
nuv: check for malloc failure when allocating extradata
...
Also make sure extradata is freed in the case where multiple
NUV_EXTRADATA frame types are found. This may not happen in practice,
but it could happen in a malformed stream, which would lead to a memleak
if not handled.
12 years ago
Justin Ruggles
838ed296df
nuv: use the stream indices generated by avformat_new_stream()
12 years ago
Justin Ruggles
c74f81786d
nuv: cosmetics: pretty-printing
12 years ago
Justin Ruggles
5c7bf2ddde
lavf: move nuv fourcc audio tags from riff to nuv
12 years ago
Justin Ruggles
261e9348ef
lavf: add a common function for selecting a pcm codec from parameters
12 years ago
Justin Ruggles
bfe5454cd2
lavf: move ff_codec_get_tag() and ff_codec_get_id() definitions to internal.h
12 years ago
Justin Ruggles
cdaa1f84fb
lavf: move "MP3 " fourcc from riff to nut
...
Original commit, 7b24f9b
, says it was added because it is used in libnut.
12 years ago
Diego Biurrun
db9dbfb72a
fate: vpx: Add dependencies
12 years ago
Diego Biurrun
a1d1fc9b4a
fate: Fix wavpack-matroskamode test dependencies
12 years ago
Diego Biurrun
9b15c0a9b3
x86: dsputilenc: port to cpuflags
12 years ago
Diego Biurrun
1f3f896564
fate: Add dependencies for Vorbis, ProRes, QTRLE, utvideo tests
12 years ago
Diego Biurrun
5116ac7774
fate: real: Add dependencies
12 years ago
Diego Biurrun
9534e0f552
fate: lossless-audio: Add dependencies
12 years ago
Diego Biurrun
89145fbbfe
x86: h264dsp: Fix linking with yasm and optimizations disabled
...
Some optimized functions reference optimized symbols, so the functions
must be explicitly disabled when those symbols are unavailable.
12 years ago
Anton Khirnov
4c973de9a5
vf_fieldorder: require write permissions
...
This filter modifies the input frame.
12 years ago
Anton Khirnov
49dd71a6f1
vf_fieldorder: reindent
12 years ago
Anton Khirnov
565e4993c6
lavfi: merge start_frame/draw_slice/end_frame
...
Any alleged performance benefits gained from the split are purely
mythological and do not justify added code complexity.
12 years ago
Anton Khirnov
bb6c67bb36
lavfi: remove vf_slicify
...
The following commit will make it useless.
The crop_scale_vflip FATE test changes because of off-by-one differences
in output when vflipped slices are passed to sws.
12 years ago
Anton Khirnov
af7d13ee4a
asink_nullsink: plug a memory leak.
12 years ago
Diego Biurrun
2e89aeed65
x86: h264_idct: port to cpuflags
12 years ago
Diego Biurrun
490df522c7
x86: cpu: Drop unused HAVE_RWEFLAGS condition
...
The test for rweflags was dropped in a previous commit.
12 years ago
Piotr Bandurski
f5fa03660d
vble: Do not abort decoding when version is not 1
...
Some combinations of OS, VirtualDub, and VBLE can accidentally
set the version to a value other than 1. Since no other version
of VBLE was ever released, simply warn about it.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
12 years ago
Justin Ruggles
1d86aa8b0f
lavr: do not pass consumed samples as a parameter to ff_audio_resample()
...
Since the resampler handles buffering of unconsumed samples internally, the
caller does not need this information.
12 years ago
Justin Ruggles
d2f9f8e094
lavr: correct the documentation for the ff_audio_resample() return value
12 years ago
Justin Ruggles
7f534d11ed
lavr: do not pass sample count as a parameter to ff_audio_convert()
...
It will always be the number of samples in the input buffer, so just use that
directly instead of passing it as a separate parameter.
12 years ago
Diego Biurrun
28e1cf19aa
x86: h264_weight: port to cpuflags
12 years ago
Martin Storsjö
54fd593a0e
configure: Enable avconv filter dependencies automatically
...
This makes sure minimal configurations such as
"--disable-everything --enable-avconv" will enable the filters
necessary for running avconv, instead of just keeping avconv
disabled (even if the user specified "--enable-avconv").
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Janne Grunau
d5e83122bd
h264: set Picture.owner2 to the current thread
...
This does not seem to have an effect currently. Fate-h264 passes with
THREADS=1..16 and both threading types as before. It fixes however a
segfault during error resilience with my adaptive-frame-mt patchset.
A picture in use during error resilience gets realloced in another
thread in the fuzzed sample sample_varPAR.avi_s226019.
12 years ago
Janne Grunau
6e5cdf2628
h264: check ref_count validity for num_ref_idx_active_override_flag
...
Fixes segfault in the fuzzed sample bipbop234.ts_s226407.
CC: libav-stable@libav.org
12 years ago
Janne Grunau
150b2361ca
h264: add missing new line to log message
12 years ago
Michael Niedermayer
5d47850bbd
dcadec: skip QMF on unused channels
...
When the extra rear channel is present but unused, the
s->channel_order_tab[] value for that channel is -1. The QMF can be
skipped for the extra channel, and doing so avoids an out-of-array read
on s->samples_chanptr[].
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
12 years ago
Michael Niedermayer
2fe0094e0b
wavenc: write fact chunk sample count at the correct file position
...
Fixes curruption of metadata in the INFO chunk.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
12 years ago
Justin Ruggles
259d8c5647
riff: do not add empty metadata tags in INFO chunk
12 years ago
Justin Ruggles
3c370f5abc
riff: only warn on a bad INFO chunk code size instead of failing
...
fixes Bug 392
12 years ago
Diego Biurrun
d89f2fa970
configure: Add separate list for libraries and use where appropriate
12 years ago
Justin Ruggles
947f933687
x86: float_dsp: add SSE version of vector_fmul_scalar()
12 years ago
Justin Ruggles
284ea790d8
dsputil: move vector_fmul_scalar() to AVFloatDSPContext in libavutil
12 years ago
Michael Niedermayer
1e27655388
aacenc: use the correct output buffer
...
This fixes segfault caused by 3d3cf6745e
when SingleChannelElement.ret was renamed to SingleChannelElement.ret_buf.
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
12 years ago
Mans Rullgard
edd80ec7e3
aacdec: fix signed overflows in lcg_random()
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
dd3b73f390
base64: fix signed overflow in shift
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago