Clément Bœsch
2a7f885fe1
lavf: add libquvi demuxer.
12 years ago
James Almer
89388a953a
Replace all occurrences of PRI in sscanf() calls with SCN
...
Signed-off-by: James Almer <jamrial@gmail.com>
12 years ago
d s
685617ac29
avformat/avisynth: Cosmetics
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
d s
ca3cef719e
avformat/avisynth: Fix off-by-one error in avisynth demuxer.
...
Fixes ticket #2412 .
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Martin Storsjö
fc792308c5
srtp: Include rtpdec.h for RTP_MAX_PACKET_LENGTH
...
This was missed from 350ad50b
- this fixes building the fate-srtp
test.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Andrew Van Til
0e729b2290
rtpdec: Increase max rtp packet size to 8192
...
This fixes connecting to "Ceton InfiniTV4 PCIe & USB".
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Andrew Van Til
350ad50bf4
lavf: Use RTP_MAX_PACKET_LENGTH instead of 1500
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Matthieu Bouron
1f2ce32825
lavf/wavdec: skip padding byte
...
WAV chunks must be even aligned. This patch skip the extra padding byte
if chunk size is odd.
Fixes ticket #2417 .
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
0678c388ba
rtsp: add option to set the socket timeout of the lower protocol.
...
Fixes Ticket2294
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
c6ae7f64a0
avio.h: fix indention
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
7cfaf727a1
flvenc: dont call avio_flush() unconditional
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
a286940da1
mux: also call avio_flush() when flushing the muxer
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
ad6a50c0ed
avformat: add writeout_count statistic
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Matthieu Bouron
25b143aa7b
lavf/mxfdec: handle identification metadata
12 years ago
Michael Niedermayer
38665efcc7
asfenc: convert asserts to av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
1fabd95035
lavf/http: use a more compatible default user agent.
...
Fixes Ticket 2265.
12 years ago
Paul B Mahol
9a8f1e7295
img2dec: make use of AV_OPT_TYPE_IMAGE_SIZE
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
1d5b4f9fe9
img2dec: make use of AV_OPT_TYPE_VIDEO_RATE
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
d343848de2
rawvideodec: make use of AV_OPT_TYPE_IMAGE_SIZE
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
9f5bb44021
rawvideodec: make use of AV_OPT_TYPE_VIDEO_RATE
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
4c76600a8c
rawdec: make use of AV_OPT_TYPE_VIDEO_RATE
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
3d9a789b0d
bintext: make use of AV_OPT_TYPE_IMAGE_SIZE
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
33b6d215fa
bintext: make use of AV_OPT_TYPE_VIDEO_RATE
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
8c43fd8654
tty: make use of AV_OPT_TYPE_IMAGE_SIZE
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
20343219d2
tty: make use of AV_OPT_TYPE_VIDEO_RATE
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Andrew Van Til
8df46c65cf
rtpdec: Increase max rtp packet size to 8192
...
Fixes Ticket2314
Fixes connecting to "Ceton InfiniTV4 PCIe & USB"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Andrew Van Til
5ed9eebc24
rtsp/rtp_read_header: Use RTP_MAX_PACKET_LENGTH instead of 1500
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Nicolas Bertrand
5e46f6b5b7
img2: Add j2k file extension for JPEG 2000
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years ago
Michael Niedermayer
3b93bea9e3
matroskadec: Check EBML lace sizes.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
115c3bc41f
matroskadec: Check for overflows in xiph lace decoding
...
This also detects errors earlier
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
14de77d677
matroskadec: fix return code for too long xiph laces
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Anton Khirnov
f8080bd13b
xmv: do not leak memory in the error paths in xmv_read_header()
...
CC: libav-stable@libav.org
12 years ago
Anton Khirnov
d1016dccdc
xmv: check audio track parameters validity.
...
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
12 years ago
Anton Khirnov
8d617b11cf
id3v2: pad the APIC packets as required by lavc.
...
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
12 years ago
Anton Khirnov
dbb1425811
lavf: make sure stream probe data gets freed.
...
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
12 years ago
Michael Niedermayer
e278500181
oggdec: Support byte based seeking
...
Fixed Ticket2317
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
e10f5bd05c
avformat: Add a mechanism to allow demuxers to detect byte based seeking.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
f51ce34e5e
matroskadec: fix display_width/height = 0 handling
...
Fixes Ticket2424
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Carl Eugen Hoyos
db2d3a9082
Skip padding in an id3 tag in aiff files.
...
Fixes ticket #2430 .
Reviewed-by: Matthieu Bouron
12 years ago
Paul B Mahol
e3cc92a623
smacker: fix off by one error
...
Regression since a93b572ae4
.
Fixes #2426 .
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Luca Barbato
25a80a931a
matroska: pass the lace size to the matroska_parse_rm_audio
...
Each lace must be independent according to the specification.
Fix heap-buffer-overflow in matroska_parse_block for
corrupted real media in mkv files.
Stricter check than fc43c19a56
CC: libav-stable@libav.org
12 years ago
Luca Barbato
8a96df7b70
matroska: fix a corner case in ebml-lace parsing
...
Make sure we notice when the lace_size[n] is a negative value.
CC: libav-stable@libav.org
12 years ago
Dale Curtis
fc43c19a56
matroska: Update the available size after lace parsing
...
Fix heap-buffer-overflow in matroska_parse_block for
corrupted real media in mkv files.
CC: libav-stable@libav.org
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years ago
Michael Niedermayer
83e2217221
flvdec: fix seeking in audio only files
...
Fixes Seeking with the file in Ticket2283
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
ccc25378bd
avformat: fix atomatic format selection for (s)segment
...
Fixes Ticket2236
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Luca Barbato
0933fd1533
oma: Validate sample rates
...
The sample rate index is 3 bits even if currently index 5, 6 and 7 are
not supported.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
12 years ago
Stephen Hutchinson
8cd7aab1bb
Use PIX_FMT_BGR24 for the AviSynth demuxer, instead of RGB24.
...
Partial fix for ticket #2412 in that using PIX_FMT_BGR24 fixes the
swapped channels issue when using scripts serving RGB24.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Carl Eugen Hoyos
b448c0a68d
Write broken aac frames to mov files instead of skipping them.
...
Fixes decoding with picky media players.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Carl Eugen Hoyos
4d3c5d3b65
Do not show "Estimating duration from bitrate" warning if no duration was estimated.
12 years ago
Michael Niedermayer
ef7b6b489a
ffmpeg/avformat: factor av_guess_frame_rate() out
...
This will be used in ffplay
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago