Diego Biurrun
9e5bd6cc94
fate: split off mpc FATE tests into their own file
13 years ago
Diego Biurrun
913b6b4b98
fate: split off libavcodec FATE tests into their own file
13 years ago
Diego Biurrun
4e616d0915
fate: split off Microsoft codec FATE tests into their own file
13 years ago
Diego Biurrun
bebf9f923e
fate: group all VP* codec FATE tests together in one file
13 years ago
Janne Grunau
6e9bb5aa3e
swscale: prevent invalid writes in packed_16bpc_bswap
...
Writes past the end of the destination buffer were occuring when its
stride was smaller than the stride of the source. Fixes Bug #183 .
13 years ago
Anton Khirnov
80dc7c0160
avs: call release_buffer() at the end.
...
Fixes a memleak.
13 years ago
Anton Khirnov
06e8d38f2b
Add minor bumps and APIchanges entries for lavc/lavfi changes.
13 years ago
Konstantin Todorov
c65dfac466
mpegvideo.c: K&R formatting and cosmetics.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Anton Khirnov
04a14d4d25
avconv: avoid memcpy in vsrc_buffer when possible.
...
Decoding Sintel.2010.1080p.mkv with 4 threads on an i7 2600K goes from
260s to 244s.
13 years ago
Anton Khirnov
64dca32cdf
avconv: implement get_buffer()/release_buffer().
...
This will allow memcpy-free passing frames to lavfi.
13 years ago
Anton Khirnov
e1d9dbf2d4
lavfi: add a new function av_buffersrc_buffer().
...
It can be used to directly pass a AVFilterBufferRef to lavfi, avoiding a
memcpy.
13 years ago
Stefano Sabatini
1c9e340d35
lavfi: add avfilter_copy_frame_props()
...
avfilter_copy_frame_props() avoids code duplication and increases
robustness.
13 years ago
Stefano Sabatini
8a4a5f6ff7
lavc: add format field to AVFrame
...
The format is a per-frame property, having it in AVFrame simplify the
operation of extraction of that information, since avoids the need to
access the codec/stream context.
13 years ago
Stefano Sabatini
3a2ddf7c2c
lavc: add width and height fields to AVFrame
...
width and height are per-frame properties, setting these values in
AVFrame simplify the operation of extraction of that information,
since avoids the need to check the codec/stream context.
13 years ago
Stefano Sabatini
b58dbb5b03
lavc: add a sample_aspect_ratio field to AVFrame
...
The sample aspect ratio is a per-frame property, so it makes sense to
define it in AVFrame rather than in the codec/stream context.
Simplify application-level sample aspect ratio information extraction,
and allow further simplifications.
13 years ago
Gautam Gupta
671005558a
doxy: add website-alike style to the html output
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Anton Khirnov
2bbb472016
FAQ: add an entry for common error when using -profile
13 years ago
Reinhard Tartler
8b94df0f20
vp3dec: Check coefficient index in vp3_dequant()
...
Based on a patch by Michael Niedermayer <michaelni@gmx.at>
Fixes NGS00145, CVE-2011-4352
Found-by: Phillip Langlois
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
13 years ago
Michael Niedermayer
6e24b9488e
svq1dec: call avcodec_set_dimensions() after dimensions changed.
...
Fixes NGS00148, CVE-2011-4579
Found-by: Phillip Langlois
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Reinhard Tartler
be00d2e174
Prepare for 0.8_beta1 snapshot release
13 years ago
Janne Grunau
7052618c7e
threads: check defines before using them in automatic thread detection
13 years ago
Janne Grunau
846dca1aa3
pthread: include sys/types.h before sys/sysctl.h
...
Fixes compilation on FreeBSD with clang 3.
13 years ago
Anton Khirnov
d09298f0d6
4xm: remove unused variables.
13 years ago
Alexander Strange
bc6a3bd4a5
h264: Fix a possible overread in decode_nal_units()
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Anton Khirnov
82d05e78a6
allfilters: fix type of avfilter_vsrc_buffer.
13 years ago
Sergey Radionov
01eb9805f3
w32thread: call ResetEvent() in pthread_cond_broadcast().
...
Also add "volatile" to broadcast flag (since it is used from
multiple threads).
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Diego Biurrun
4e8d6218c3
build: fix standalone compilation of OMA muxer
...
The muxer depends on the id3v2 writing code, so link against it.
13 years ago
Diego Biurrun
e2c97aee39
build: fix standalone compilation of Microsoft XMV demuxer
...
The demuxer depends on the RIFF codec tags code, so link against it.
13 years ago
Diego Biurrun
408dbbd0a7
build: fix standalone compilation of Core Audio Format demuxer
...
The demuxer depends on code from mov.c, which in turn depends on
code from mov_chan.c, so link against it.
13 years ago
Gaurav Narula
ad3161ec1d
kvmc: fix invalid reads
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Shitiz Garg
355d917c0b
4xm: Add a check in decode_i_frame to prevent buffer overreads
...
Fixes bugzilla #135
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Paul B Mahol
01a01bf8bd
adpcm: fix IMA SMJPEG decoding
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Janne Grunau
c32e4029d9
options: set minimum for "threads" to zero
...
A negative number of threads does not make sense and 0 is used for
autodetection. Adds a symbolic name for autodetection.
13 years ago
Janne Grunau
b9e2226972
bsd: use number of logical CPUs as automatic thread count
13 years ago
Janne Grunau
ad29ecbff0
windows: use number of CPUs as automatic thread count
13 years ago
Janne Grunau
ea4d5f4837
linux: use number of CPUs as automatic thread count
...
Use sched_getaffinity to determine the number of logical CPUs.
Limits the number of threads to 16 since slice threading of H.264
seems to be buggy with more than 16 threads.
13 years ago
Janne Grunau
f77f640b30
pthreads: reset active_thread_type when slice thread_init returrns early
13 years ago
Paul B. Mahol
fede015468
v410dec: include correct headers
...
This file does not use anything from get_bits.h but needs
intreadwrite.h.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Diego Biurrun
aaf47bcde7
Drop ALT_ prefix from BITSTREAM_READER_LE name.
...
The prefix is a historic remnant that probably meant "alternative".
Now that the A32 bitstream reader has been dropped it makes no sense anymore.
13 years ago
Anton Khirnov
196c9e5c8c
lavfi: always build vsrc_buffer.
...
It's a part of public API.
13 years ago
Justin Ruggles
9a3f10695a
ra144enc: zero the reflection coeffs if the filter is unstable
...
fixes use of uninitialized values if the filter is still unstable after using
the previous frame lpc coefficients.
13 years ago
Anton Khirnov
131609dc2a
sws: readd PAL8 to isPacked()
...
Fixes PAL8 to YUV conversion.
13 years ago
Alex Converse
4bf3c8f226
mov: Don't stick the QuickTime field ordering atom in extradata.
...
The 'fiel' atoms can be found in H.264 tracks clobbering the extradata.
MJPEG supports non field based extradata, and this data should be
preserved when copying.
13 years ago
Justin Ruggles
f264d336fe
truespeech: fix invalid reads in truespeech_apply_twopoint_filter()
...
fixes Bug 171
13 years ago
Justin Ruggles
e9dc920127
asfdec: add side data to ASFStream packet instead of output packet.
...
fixes memleak of side data
13 years ago
Justin Ruggles
3f9257c5a5
idroqdec: set AVFMTCTX_NOHEADER and create streams as they occur.
...
This fixes demuxing of file where the first packet is not audio. Such files
are generated by our idroq muxer. It also fixes demuxing of audio only
idroq files.
13 years ago
Martin Storsjö
ce94948198
nellymoserdec: Indicate that the decoder can handle changed parameters
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
f13db94d0a
libavcodec: Apply parameter change side data when decoding audio
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
2215c39e94
flvdec: Add param change side data if the sample rate or channels have changed
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
3e79c2adb1
libavformat: Add a utility function for adding parameter change side data
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago