Luca Barbato
76f5dfbfd9
westwood_vqa: do not free extradata on error in read_header
...
The extradata is already freed by avformat_open_input on
failure.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-07-07 22:04:43 +02:00
Anton Khirnov
36ef5369ee
Replace all CODEC_ID_* with AV_CODEC_ID_*
2012-08-07 16:00:24 +02:00
Diego Biurrun
6774247a9d
avformat: Drop pointless "format" from container long names
2012-07-30 13:59:06 +02:00
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>
2012-03-27 11:58:15 -04:00
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>
2012-03-27 08:54:07 -07:00
Anton Khirnov
6e9651d106
lavf: remove AVFormatParameters from AVFormatContext.read_header signature
2012-01-27 10:51:57 +01:00
Justin Ruggles
02e7dbf5ad
adpcm_ima_ws: fix stereo decoding
...
Stereo ADPCM IMA WS is planar for VQA version 3 and 2-sample interleaved for
VQA version 2.
2012-01-24 14:13:46 -05:00
Justin Ruggles
4340a6363e
vqa: remove unused context fields, audio_samplerate and audio_bits
2012-01-24 14:08:29 -05:00
Justin Ruggles
7e813d5933
vqa: clean up audio header parsing
...
Fix setting of bit_rate and bits_per_coded_sample.
Ask for sample for unsupported VQA versions.
2012-01-24 14:08:29 -05:00
Justin Ruggles
5b4c562897
vqa: set time base to frame rate as coded in the header.
...
According to Multimedia Wiki documentation, the frame rate is not always 15,
and the actual value can be found in the header.
2012-01-24 14:08:29 -05:00
Justin Ruggles
9ae846971f
vqa: set packet duration.
...
Also remove unused context field, audio_frame_counter.
2012-01-24 14:08:29 -05:00
Justin Ruggles
53ed79a260
vqa: use 1/sample_rate as the audio stream time base
2012-01-24 14:08:29 -05:00
Justin Ruggles
e1ac69fa27
vqa: set stream start_time to 0.
...
The format has no coded timestamps and must use packet durations to generate
them.
2012-01-24 14:08:29 -05:00
Justin Ruggles
e924a4ba71
westwood: split the AUD and VQA demuxers into separate files.
...
They have no code in common.
2012-01-23 10:34:48 -05:00