Carl Eugen Hoyos
32c49389bc
Make the palette in Quake II CIN files opaque and increase its dynamics.
13 years ago
Carl Eugen Hoyos
0d59ae32c2
Make mov palette opaque or load alpha if present.
13 years ago
Carl Eugen Hoyos
64cafe340b
Make the avi palette opaque.
13 years ago
Michael Niedermayer
ad9e0ed170
avio: fix handling of , in urls
...
Fixes Ticket805
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
8ff4fff774
flvdec: disable new midstream param change code not only for h264 but all cases.
...
It breaks some samples and iam not aware of one that it fixes.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
9f50dafe90
udp: support non blocking reads with fifo
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
bc900501e0
udp: Replace double select() by select+mutex+cond.
...
When no data was available both the buffer thread as well as
the main thread would block in select(), when data becomes
available both should move forward and as data is read in the
buffer thread the main thread would block in select() later
the read data was put in the fifo but the main thread still
would be blocked in select() until either the timeout or
another packet would come in.
This is solved in this commit by using a mutex and a condition
variable
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
3dcbafc777
udp: return circular buffer error if such error happened.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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
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
Paul B Mahol
a4209ad631
lavf: Add SMJPEG demuxer.
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
2a85358d4f
libavformat: increase LIBAVFORMAT_VERSION_MICRO to 100
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
8d960fbc70
ipmovie: fix FPE
...
Fixed Ticket807
Bug found by: Oana Stratulat
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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ö
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
Martin Storsjö
251f320f7d
flvdec: Export new AAC/H.264 extradata as side data on the next packet
...
Compared to just overwriting the old extradata, this has the
advantage of letting the decoder know exactly when the
extradata changed (otherwise it is changed immediately when the
new extradata packet is demuxed, even if there's old queued packets
awaiting to be decoded). This makes it easier for decoders to
actually react to the change, so they won't have to inspect
the extradata for each packet to see if it might have changed.
This works when sequentially playing a file with sample rate
changes, but if seeking past a new extradata packet in the
file, it obviously doesn't work properly. That case doesn't
work in flash player either, so it's probably ok not to handle
it.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Nicolas George
20af3af575
mov: replace AVERROR(EOF) with AVERROR_EOF.
13 years ago
Paul B Mahol
17c84f4ed2
flacdec: skip all track indices at once instead of looping.
...
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Tomas Härdin
c15da5941d
mxf: Add PictureEssenceCoding UL for V210.
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Tomas Härdin
6547fd9264
mxfdec: consider QuantizationBits between 17 and 24 to be pcm_s24*
...
This fixes playback of BRD38772509.mxf.
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Daniel Kristjansson
adff77f28c
mxfenc: Add support for MPEG-2 MP@HL-14 in mxf container.
...
Support Main Profile at High 1440 Level in MXF container,
using essence coding label from SMPTE RDD 9, table 6.
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Baptiste Coudurier
4ee04247f0
mxf: H.264/MPEG-4 AVC Intra support
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Tomas Härdin
cc1dda851b
mxfdec: Don't crash in mxf_packet_timestamps() if current_edit_unit overflows
13 years ago
Tomas Härdin
0cd21ddaed
mxfdec: Zero nb_ptses in mxf_compute_ptses_fake_index()
...
This fixes SIGSEGV on files with both CBR and VBR index segments (zzuf6.mxf).
13 years ago
Tomas Härdin
46d65fb8a5
mxfdec: Sanity check PreviousPartition
...
Without this certain files could get the demuxer stuck in a loop
13 years ago
Tomas Härdin
e7839602f4
mxfdec: Never seek back in local sets and KLVs
...
Specially crafted files can lead the parsing code to take too long.
We fix a lot of these problems by not allowing local tags to extend past the
end of the set and not allowing other KLVs to be read past the end of
themselves.
13 years ago
Tomas Härdin
184f479096
mxfdec: Move the current_partition check inside mxf_read_header()
...
This fixes SIGSEGV on files where this is actually the case, such as zzuf4.mxf
13 years ago
Tomas Härdin
4ae7d45170
mxfdec: Fix infinite loop in mxf_packet_timestamps()
...
This can happen if an index table segment has a very large IndexStartPosition.
zzuf3.mxf is an example of such a file.
13 years ago
Tomas Härdin
2116e4ba91
mxfdec: Check url_feof() in mxf_read_local_tags()
...
This fixes the infinite loop with zzuf2.mxf
13 years ago
Tomas Härdin
5e5e69d078
mxfdec: Check for NULL component
...
This fixes SIGSEGV with zzuf1.mxf
13 years ago
Michael Niedermayer
077b086dea
avio: remove ENOTSUP mention in doxy as its not available on all supported platforms
...
and thus cannot be used
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Sergey Radionov
139cef8e29
network: properly declare WSADATA in windows
...
Fixed "ISO C90 forbids mixed declarations and code" in ff_network_init
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Tomas Härdin
7feb7f16a8
mxfdec: Make sure mxf->nb_index_tables > 0 in mxf_packet_timestamps()
...
Only the OPAtom demuxing logic is guaranteed to have index tables, meaning OP1a
files that lack an index would cause SIGSEGV.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Luca Barbato
432f0e5b7d
nut: support 10bit YUV
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Diego Biurrun
a55eb1586c
oma: make header compile standalone
13 years ago
Nicolas George
b0aaf304a7
Replace PATCHWELCOME by relevant error codes.
...
This supersedes commit 154c0a8
.
The bug was also reported by Rafaël Carré.
13 years ago
Alex Converse
41bdd4adc4
mpegts: Suppress invalid timebase warnings on DMB streams.
...
timestamp_len and timestamp_res intialize to zero.
13 years ago
Alex Converse
d9b89b23df
mpegts: Fix typo in handling sections in the PMT.
...
This was an error rebasing 4682a1dc3a
for
commit. The "pes" variable guaranteed to be NULL in that block.
13 years ago
Michael Niedermayer
154c0a8c98
replace ENOTSUP by AVERROR_PATCHWELCOME
...
This unbreaks compilation
Found by: jb
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
c1acd58198
roq: fix excessive memory alloc
...
Fixes Ticket802
Bug found by: Oana Stratulat
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
3c7f75bd84
avidec: move eof check before continue.
...
Fixes a infinite loop
Fixes half of Ticket800
Bug found by Oana Stratulat
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Tomas Härdin
5b718009b2
mxfdec: Sanity-check SampleRate
...
This avoids a SIGFPE if SampleRate is missing or set to naughty values.
13 years ago
Tomas Härdin
1888bd1b6d
mxfdec: Make sure mxf->nb_index_tables > 0 in mxf_packet_timestamps()
...
Only the OPAtom demuxing logic is guaranteed to have index tables, meaning OP1a
files that lack an index would cause SIGSEGV.
13 years ago
Tomas Härdin
54cbbdd25a
mxfdec: Remove unused variables
13 years ago
Tomas Härdin
6e9081f4d8
mxfdec: Make sure x < index_table->nb_ptses
...
Without this the demuxer will SIGSEGV on files with IndexEntryCount < IndexDuration
13 years ago
Tomas Härdin
085249a379
mxfdec: Ignore the last entry in Avid's index table segments
...
The last entry is the total size of the essence container.
Previously a TemporalOffset error would be logged, even though segments like
these are expected.
13 years ago