Vittorio Giovara
d509ae5be0
jvdec: K&R formatting cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years ago
Luca Barbato
15739a9bd1
jvdec: Do not feed the decoder with known wrong data
...
Still assume the size value is right in non-explode mode.
11 years ago
Paul B Mahol
e518cb863e
jvdec: Fix memory leak of jv->frames
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Luca Barbato
027712e851
jvdec: Return EOF on end of file
11 years ago
Justin Ruggles
ef1b23ad21
jvdec: set channel layout
12 years ago
Anton Khirnov
36ef5369ee
Replace all CODEC_ID_* with AV_CODEC_ID_*
13 years ago
Paul B Mahol
d3d1b25e69
jv demux: set video stream duration
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Joakim Plate
9712e82a4e
jvdec: Check return value of avio_seek and avoid modifying state if it fails
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Anton Khirnov
6e9651d106
lavf: remove AVFormatParameters from AVFormatContext.read_header signature
13 years ago
Anton Khirnov
c3f9ebf743
lavf: make av_set_pts_info private.
...
It's supposed to be called only from (de)muxers.
13 years ago
Anton Khirnov
84ad31ff18
lavf: replace av_new_stream->avformat_new_stream part II.
...
Manual replacements are done in this commit.
In many cases, the id is some constant made up number (e.g. 0 for video
and 1 for audio), which is then not used in the demuxer for anything.
Those ids are removed.
13 years ago
Anton Khirnov
3b3bbdd3e6
lavf,lavd: replace av_new_stream->avformat_new_stream part I.
...
Trivial replacements with sed are done in this commit:
sed 's/av_new_stream(\([^)]*\), 0)/avformat_new_stream(\1, NULL)/'
13 years ago
Anton Khirnov
f5b386afab
Reemove remaining uses of deprecated AVERROR_NOTSUPP.
14 years ago
Anton Khirnov
b4b167ecbf
jvdec: don't use deprecated CODEC_TYPE_*/PKT_FLAG_KEY
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Anton Khirnov
1dac4d5547
jvdec: don't use deprecated url_feof()
14 years ago
Peter Ross
7f05c164d8
jv demuxer: prevent video packet size overflow
...
In the event of overflow, the JV_PADDING state will avio_skip over
any overflow bytes (using JVFrame.total_size).
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Peter Ross
772cb06281
jv demuxer: define JV_PREAMBLE_SIZE instead of hard coding the number
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Peter Ross
20c1281fe3
jv demuxer: calculate palette_size for each frame in read_header
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Peter Ross
bfaefd87dc
Bitmap Brothers JV demuxer
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago