Michael Niedermayer
7efee140d7
get_bits: rename get_bits_longlong to get_bits64
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
b2b12a1022
mpegts: rename get_bits64 to get_ts64
...
Renaming because of name conflict
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Reimar Döffinger
8ee14aa5c7
lavf: improve avoid_negative_ts help text
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
41540b36a1
bitstream: add get_bits64() to support reading more than 32 bits at once
...
Also remove a duplicate function in the MPEG-TS demuxer.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
12 years ago
Clément Bœsch
710c4baf52
lavf: VobSub demuxer.
12 years ago
Paul B Mahol
fe63d41302
brstm: do not return partial packets
...
Such packets are useless.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
8ca8b43d71
lavf/pcm: check size, do not produce invalid packets
...
Inspired by 92b8c9d89e
.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Janne Grunau
8cc2fa1e5d
mov: validate number of DataReferenceBox entries against box size
...
Avoids a 2G memory allocation and parsing of random data in
mov_read_dref(). The fuzzed sample sample.mp4_s224424 triggers this.
12 years ago
Janne Grunau
80b6b31417
mov: compute avg_frame_rate only if duration is known
...
Fixes an assert in fuzzed sample sample.mp4_s265930.
12 years ago
Michael Niedermayer
892750b07b
fix tipo
...
Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
656500c503
lavf: improve help text for avoid_negative_ts
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Paul B Mahol
547b8aeed4
smacker: use meaningful error codes
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
29c3ebf56e
siff: return meaningful error codes
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
7510a9a466
lavf/apedec: return meaningful error codes
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Nicolas George
32aedebdc5
lavf: add a concat demuxer.
12 years ago
Paul B Mahol
3bb3cddd96
mmfdec: fix seeking
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
9ef29af2e8
cafenc: do not include riff.h
...
ff_codec_get_tag() was moved to internal.h
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
0aabd35b62
lavf/dxa: return meaningful error codes
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
c5008135c2
dxa: signal EOF
...
Fixes #1948 .
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
4727611d48
ircamenc: 10l do not use avio_skip()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
4c18562d02
Ensoniq Paris Audio File demuxer
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
880191637f
IRCAM demuxer & muxer
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
8ecf22ffb0
rsodec: use ff_pcm_read_packet()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
acac16b5c7
soxdec: use ff_pcm_read_packet()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
c090b5427d
audec: use ff_pcm_read_packet()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
a647eb5a87
pvfdec: use ff_pcm_read_packet()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
15ab0393fd
avr: use ff_pcm_read_packet()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
93dc8ed0a1
pcmdec: move read_packet function to pcm.c so it can be shared with other demuxers
...
While here remove pts/dts code, it is apparently not needed and cause
problems for demuxers that will use such function.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Michael Niedermayer
9db3fb6ed8
oggdec: prevent codec from changing through ogg_replace_stream()
...
This prevents inconsistencies leading to out of array accesses.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Carl Eugen Hoyos
4e6f9db493
Set some audio stream properties in the vivo demuxer.
...
This allows playback with MPlayer and the binary decoder.
Reviewed-by: Paul B Mahol
12 years ago
Janne Grunau
54c7fe6d68
raw demuxer: initialize end of partial packets
12 years ago
Anton Khirnov
cb45553f57
Remove pointless #undefs of previously forbidden functions.
12 years ago
Nicolas George
03847eb825
lavf: compute probe buffer size more reliably.
...
The previous code computes the offset by reversing the growth
of the allocated buffer size: it is complex and did lead to
inconsistencies when the size limit is reached.
Fix trac ticket #1991 .
12 years ago
Michael Niedermayer
83ddedbbf2
lavf: the core rfps code needs 2 durations to estimate rfps
...
This fixes a regression where this count became 1 with
HPM-GC\ EXPORT\ FCP-1A-AVCI100-1080i25-001.mxf
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Paul B Mahol
a3bb59b163
av_register_protocol is gone :(
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
481c843a47
rawvideodec: set bit rate
...
Fixes #1989 .
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
18aaed6475
gifdec: do not handle timestamps
...
It is broken, and results will be messed up when seeking.
This also fix duration displayed for streams when using -c copy.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Carl Eugen Hoyos
0877f64fea
Add debug output when skipping unknown swf tags.
...
Reviewed-by: Clément Bœsch
12 years ago
Paul B Mahol
765debf51f
auenc: remove pointless assigment
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
266e88a47c
mmf: return meaningful error codes
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
James Almer
b70251c0ad
AST Muxer
...
Signed-off-by: James Almer <jamrial@gmail.com>
12 years ago
James Almer
7f0e7fc9e2
ast: Rename ast.c -> astdec.c
...
Signed-off-by: James Almer <jamrial@gmail.com>
12 years ago
Peter Ross
1696c72af4
iff demuxer: include DEEP TVDC lookup table in extradata buffer
...
Signed-off-by: Peter Ross <pross@xvid.org>
12 years ago
Michael Niedermayer
5e1bacf2d4
matroskadec: reset size when freeing data.
...
Fixes null pointer dereference
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Diego Biurrun
62641dce71
build: cosmetics: Move CONFIG_RTPDEC entry to a more suitable place
12 years ago
Michael Niedermayer
03290ffb57
mpegts: check that codec is not open in mpegts_find_stream_type
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
8897b5aa4c
mpegts_set_stream_info: remove unneeded codec id check
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
4c160b68cc
ff_mp4_read_dec_config_descr: check that the codec is not open
...
Fixes out of array accesses
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Diego Biurrun
31f16dc1a1
build: Make the ISMV muxer select the MOV muxer
...
They share the same code, so building one w/o the other makes no sense.
12 years ago
Michael Niedermayer
ec79b1fc88
wtvdec: fix null pointer dereference
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago