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
Janne Grunau
7709ce029a
lavf: avoid integer overflow in ff_compute_frame_duration()
...
Scaling the denominator instead of the numerator if it is too large
loses precision. Fixes an assert caused by a negative frame duration in
the fuzzed sample nasa-8s2.ts_s202310.
CC: libav-stable@libav.org
12 years ago
Paul B Mahol
b491da18d1
yop: fix typo
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
12 years ago
Diego Biurrun
ddb009425c
riff: Make ff_riff_tags static and move under appropriate #ifdef
...
The table is not used outside the file.
12 years ago
Anton Khirnov
9ae80e6a9c
id3v2: fix reading unsynchronized frames.
...
Current code would incorrectly process e.g. 'ff 00 ff 00 ff' to
'ff ff ff', while it should be 'ff ff 00 ff'.
Fixes Bug 395.
CC: libav-stable@libav.org
12 years ago
Xi Wang
b655cfefaf
apetag: fix error handling in ff_ape_parse_tag()
...
The following error handling is broken due to signedness.
int file_size;
uint32_t tag_bytes;
int64_t tag_start;
...
tag_start = file_size - tag_bytes - APE_TAG_FOOTER_BYTES;
if (tag_start < 0) { ... }
Note that tag_bytes is unsigned, which makes the right-hand side of
`tag_start = ...' unsigned, too. The 32-bit unsigned value is then
zero-extended to 64 bits. Therefore, tag_start must be non-negative,
and the check (tag_start < 0) is always false, which breaks the error
handling. This patch fixes the check.
Signed-off-by: Xi Wang <xi.wang@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Janne Grunau
c84cce5a99
mxfdec: fix typo in mxf_read_seek()
...
Check the number of index tables before using byte offset based seeking
instead of the index_tables pointer.
Found by Måns Rullgård <mans@mansr.com>.
12 years ago
Luca Barbato
8034130e06
rtp: set the payload type as stream id
...
Support multiple video/audio streams with different format in the
same session.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years ago
Luca Barbato
3b4296f414
avformat: clarify stream id for muxing
12 years ago
Xi Wang
e8769b37fe
segment: fix NULL pointer dereference in seg_write_header()
...
Since the pointer `oc' is NULL, oc->oformat->name will cause a null
pointer dereference. This patch changes it to seg->oformat->name.
Signed-off-by: Xi Wang <xi.wang@gmail.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Luca Barbato
22a0827dff
hlsenc: stand alone hls segmenter
...
Simplifies usage but has higher latency.
12 years ago
Justin Ruggles
b9629acb6b
yop: set channel layout
12 years ago
Justin Ruggles
935fbb66ef
wtv: set channel layout for mpeg audio
12 years ago
Justin Ruggles
7b48d93e8a
westwood_aud: set channel layout
12 years ago
Justin Ruggles
2ce7f820d4
wc3movie: set channel layout
12 years ago
Justin Ruggles
a94b0267f2
tmv: set channel layout
12 years ago
Justin Ruggles
7f348bd764
tiertexseq: set channel layout
12 years ago
Justin Ruggles
a3949fe11f
swfdec: set channel layout
12 years ago
Justin Ruggles
1c7587728c
sol: set channel layout
12 years ago
Justin Ruggles
bfccd76adb
smacker: set channel layout
12 years ago
Justin Ruggles
57e590e4b8
siff: set channel layout
12 years ago
Justin Ruggles
a634896cf8
sierravmd: set channel layout
12 years ago
Justin Ruggles
c1ac602d53
rtpdec_amr: set channel layout
12 years ago
Justin Ruggles
ce842029ce
rsodec: set channel layout
12 years ago
Justin Ruggles
60a585304c
rmdec: set channel layout for RA version 3
12 years ago
Justin Ruggles
444b79c18a
qcp: set channel layout
12 years ago
Justin Ruggles
b5e3e77711
psxstr: set channel layout
12 years ago
Justin Ruggles
c9759eb426
omadec: set channel layout
12 years ago
Justin Ruggles
d4088efbe2
oggparsespeex: validate channel count and set channel layout
12 years ago
Justin Ruggles
232e9c4c4b
nuv: set channel layout
12 years ago
Justin Ruggles
cc57228e31
mxg: set channel layout
12 years ago
Justin Ruggles
66d7ceb4aa
mvi: set channel layout
12 years ago
Justin Ruggles
f6c6e5aac1
mpc7: set channel layout
12 years ago
Justin Ruggles
f24b0b1b6c
mmf: set channel layout
12 years ago
Justin Ruggles
87199d34db
mm: set channel layout
12 years ago
Justin Ruggles
ef1b23ad21
jvdec: set channel layout
12 years ago
Justin Ruggles
4371131283
iss: set channel layout
12 years ago
Justin Ruggles
41a2d9590d
ipmovie: set channel layout
12 years ago
Justin Ruggles
024e03701c
iff: set channel layout
12 years ago
Justin Ruggles
73e2007f3d
idroqdec: set channel layout
12 years ago
Justin Ruggles
f6c3adde41
gxfdec: set channel layout when applicable
12 years ago
Justin Ruggles
d4a105ae5c
gsmdec: set channel layout
12 years ago
Justin Ruggles
644d8d2e5a
flvdec: set channel layout
12 years ago
Justin Ruggles
d5ca70b103
dv: set channel layout
12 years ago
Justin Ruggles
49e7af06f2
dsicin: set channel layout
12 years ago
Justin Ruggles
a05a63785c
daud: set channel layout
...
Update FATE reference due to WAVE channel mask now being set correctly.
12 years ago
Justin Ruggles
0d09a5848f
cdxl: set channel layout
12 years ago
Justin Ruggles
e8088d6e4b
bmv: set channel layout
12 years ago