Justin Ruggles
eed691f7d1
oggdec: calculate correct timestamps in Ogg/FLAC
...
We need to parse the individual packet durations when there is more than one
packet in a page.
13 years ago
Paul B Mahol
55abaa58e5
westwood_vqa: fix SND0 chunk handling
...
Version from vqa header does not dictate which sound chunks may
appear in file.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Paul B Mahol
f0a343f399
westwood_vqa: set video stream duration
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Ronald S. Bultje
98df2e2414
raw: forward avpicture_fill() error code in raw_decode().
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
13 years ago
Diego Biurrun
8e0b7e2f14
build: Do not explicitly add the doc directory to the OBJDIRS list.
...
Now that a documentation generator is built in the doc directory,
this is no longer necessary. Fixes the Make warning:
Makefile:188: target `doc' given more than once in the same rule.
13 years ago
Diego Biurrun
d724fe665b
dv: Split off DV video decoder into its own file.
13 years ago
Diego Biurrun
9f43fdda3e
build: fix RALF decoder standalone compilation, which depends on Golomb code
13 years ago
Diego Biurrun
d7ce1a48a5
configure: Drop stray duplicate entry for --disable-fft from help output.
13 years ago
Jindrich Makovicka
904100e5fc
make av_interleaved_write_frame() flush packets when pkt is NULL
...
This patch allows the user to force flushing of all queued packets
by calling av_interleaved_write_frame() with pkt set to NULL.
Signed-off-by: Jindrich Makovicka <jindrich.makovicka@nangu.tv>
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Alex Converse
c9024a9fd7
mpegts: Fix dead error checks
13 years ago
Mashiat Sarker Shakkhar
95b192de5d
vc1: Do not read from array if index is invalid.
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Ronald S. Bultje
2ad405548b
targa: convert to bytestream2.
...
Also remove some write-only variables or write-only variable
assignments, remove internal colorspace conversion to native
endianness (that can be done by swscale much more efficiently),
and some cosmetics.
13 years ago
Ronald S. Bultje
5484170ac7
rv34: set mb_num_left to 0 after finishing a frame
...
Prevents running error resilience on a previous frame which will write
to the pic->mb_type[] array of the previous image. The array might
already be re-used for a new image in a subsequent thread, thus cause
two threads to write to the same pic->mb_type[] array, causing a race
condition which can crash in rv34_decode_cbp(), called by
rv34_decode_inter_mb_header() (which accesses mb_type[] twice,
assuming values are maintained, which the race condition breaks).
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
13 years ago
Diego Biurrun
72ccfb3cb7
build: ppc: drop stray leftover backslash
13 years ago
Diego Biurrun
e7e19b15c7
build: Only clean the architecture subdirectory we build for.
...
This allows simplifying the Makefiles; it is no longer necessary to register
arch subdirectory Makefiles, just putting them in place is enough.
13 years ago
Diego Biurrun
6a7c5312d8
build: drop some unnecessary dependencies from the H.264 parser
13 years ago
Diego Biurrun
ad0e31f134
build: prettyprinting cosmetics
13 years ago
Diego Biurrun
80391552c9
libavutil: Remove pointless rational test program.
13 years ago
Diego Biurrun
193d7eea95
libavutil: Remove broken and pointless lzo test program.
13 years ago
Anton Khirnov
967923abd1
lavf doxy: expand AVStream.codec doxy.
13 years ago
Anton Khirnov
e44ada129c
lavf doxy: improve AVStream.time_base doxy.
...
Remove confusing sentence that implied the user should set the timebase.
Elaborate on how the timebase is set for muxing.
13 years ago
Anton Khirnov
f58b8cc3e3
lavf doxy: add some basic documentation about reading from the demuxer.
13 years ago
Anton Khirnov
10fa4ff7bc
lavf doxy: document passing options to demuxers.
13 years ago
Anton Khirnov
dca9c81d82
lavf doxy: clarify that an AVPacket contains encoded data.
13 years ago
Jindrich Makovicka
3fadb29baf
mpegtsenc: allow user triggered PES packet flushing
...
Signed-off-by: Jindrich Makovicka <jindrich.makovicka@nangu.tv>
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Anton Khirnov
9c47f2b294
APIchanges: mark the place where 0.7 was cut.
13 years ago
Anton Khirnov
75bdd55e77
APIchanges: mark the place where 0.8 was cut.
13 years ago
Anton Khirnov
5d20e7b7ea
APIchanges: fill in missing dates and hashes.
13 years ago
Ronald S. Bultje
b2af057a36
smacker: convert palette and header reading to bytestream2.
13 years ago
Ronald S. Bultje
c3bbd0b53b
alac: convert extradata reading to bytestream2.
13 years ago
Diego Biurrun
62ce9defb8
x86: dsputil: prettyprint gcc inline asm
13 years ago
Diego Biurrun
3b54912113
x86: K&R prettyprinting cosmetics for dsputil_mmx.c
13 years ago
Diego Biurrun
915a2a0a65
x86: conditionally compile H.264 QPEL optimizations
13 years ago
Diego Biurrun
3816642eab
dsputil_mmx: Surround QPEL macros by "do { } while (0);" blocks.
...
This makes them safe to use in non-fully braced if-blocks and similar.
13 years ago
Diego Biurrun
5d115c1da7
Ignore generated files below doc/.
13 years ago
Ronald S. Bultje
3a3f06b05e
dpcm: convert to bytestream2.
13 years ago
Ronald S. Bultje
f31a68e78c
interplayvideo: convert to bytestream2.
13 years ago
Martin Storsjö
68893afe1d
movenc: Merge if statements
...
This isn't exactly equivalent with the earlier code for codecs
other than H264 and VC1, but those are two only codecs supported
by this codepath anyway, and it simplifies it a bit.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Alexander Strange
cb34867780
h264: fix memleak in error path.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Alexander Strange
147ee4cf06
pthread: Immediately release all frames in ff_thread_flush()
...
Before this, they were only added to the delayed release queue and not
freed until later. This could lead to unnecessary memory use or buffer
exhaustion.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Alexander Strange
6ef4063957
h264: Add check for invalid chroma_format_idc
...
Fixes a crash when FF_DEBUG_PICT_INFO is used.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Ronald S. Bultje
ec0ed97b04
utvideo: port header reading to bytestream2.
...
Fixes crash during slice size reading if slice_end goes negative.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
13 years ago
Martin Storsjö
d5ed5e7d0c
avc: Add a function for converting mp4 style extradata to annex b
...
Make movenc use this function instead of the current custom
conversion function.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Ronald S. Bultje
2ee01fbded
pthread: free progress if buffer allocation failed.
...
Else we run out of progress variables after a few failed buffer
allocations.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Ronald S. Bultje
bc1ef85520
lavc/avconv: support changing frame sizes in codecs with frame mt.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Martin Storsjö
e20ad71ebb
libavformat: Document who sets the AVStream.id field
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Kostya Shishkov
72dadaa957
utvideo: mark output picture as keyframe.
...
Spotted by Антон.
13 years ago
Aneesh Dogra
cc965300cb
sunrast: Add support for negative linesize.
...
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Janne Salonen
14ba7472dc
vp8: fix update_lf_deltas in libavcodec/vp8.c
...
lf_delta.ref[i] and lf_delta.mode[i] were incorrectly reset to 0 if
specific delta value was not updated. Fixed to keep the previous value
if flag indicates that element in question is not updated.
Signed-off-by: Janne Salonen <jsalonen@google.com>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Kostya Shishkov
494bce6224
ralf: read Huffman code lengths without GetBitContext
...
Those descriptions are stored in nibbles, so they are easy to extract.
And this way we don't need to pad tables for possible bit reader overreads.
13 years ago