Max Horn
ca402f32e3
handle malloc failures in ff_get_wav_header
...
ff_get_wav_header is reading data from a WAVE file and then uses it
(without validation) to malloc a buffer. It then proceeded to read
data into the buffer, without verifying that the allocation succeeded.
To address this, change ff_get_wav_header to return an error if
allocation failed, and adapted all calling code to handle that error.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
14 years ago
Alberto Delmás
768c525114
Parse sprite data for WMVP and WVP2, and decode sprites for the latter
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Peter Ross
de174d0d25
riff: add ATRAC3+ guid
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Peter Ross
aa9380c89c
ff_get_wav_header: perform full lookup on WAVEFORMATEXTENSIBLE subformat guid
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Peter Ross
36ffabc4ee
move PRI_GUID, ARG_GUID, AVCodecGuid, ff_codec_guid_get_id, MEDIASUBTYPE_BASE_GUID and audio_guids[] to riff.c/h (add FF_ prefix to PRI_GUID, ARG_GUID, and MEDIASUBTYPE_BASE_GUID; rename audio_guids to ff_codec_wav_guids)
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Peter Ross
c1309b27d2
move ff_asf_guid, ff_guidcmp and ff_get_guid into riff.h
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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
45a8a02a41
lavf: replace avio_seek(SEEK_CUR) with avio_skip where it makes sense
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Peter Ross
21527d52f6
Add audio codec 0x1600 (ADTS AAC)
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit d34ca1cfe3
)
14 years ago
Peter Ross
d34ca1cfe3
Add audio codec 0x1600 (ADTS AAC)
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
384c9c2fa7
avio: add avio_tell macro as a replacement for url_ftell
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit a2704c9712
)
14 years ago
Anton Khirnov
a2704c9712
avio: add avio_tell macro as a replacement for url_ftell
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
74b3f67c9c
lavf: replace all uses of url_fskip with avio_seek
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit e356fc57a2
)
14 years ago
Anton Khirnov
f59d8ff8cd
avio: avio_ prefix for url_fseek
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit 6b4aa5dac8
)
14 years ago
Anton Khirnov
e356fc57a2
lavf: replace all uses of url_fskip with avio_seek
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
6b4aa5dac8
avio: avio_ prefix for url_fseek
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
324429309e
lavf: use a new ffio_wfourcc macro instead of put_tag() where possible
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit 0abdb29317
)
14 years ago
Anton Khirnov
0abdb29317
lavf: use a new ffio_wfourcc macro instead of put_tag() where possible
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
e9eb8d0bce
avio: avio: avio_ prefixes for put_* functions
...
In the name of consistency:
put_byte -> avio_w8
put_<type> -> avio_w<type>
put_buffer -> avio_write
put_nbyte will be made private
put_tag will be merged with avio_put_str
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit 77eb5504d3
)
14 years ago
Anton Khirnov
e63a362857
avio: avio_ prefixes for get_* functions
...
In the name of consistency:
get_byte -> avio_r8
get_<type> -> avio_r<type>
get_buffer -> avio_read
get_partial_buffer will be made private later
get_strz is left out becase I want to change it later to return
something useful.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit b7effd4e83
)
14 years ago
Anton Khirnov
77eb5504d3
avio: avio: avio_ prefixes for put_* functions
...
In the name of consistency:
put_byte -> avio_w8
put_<type> -> avio_w<type>
put_buffer -> avio_write
put_nbyte will be made private
put_tag will be merged with avio_put_str
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
b7effd4e83
avio: avio_ prefixes for get_* functions
...
In the name of consistency:
get_byte -> avio_r8
get_<type> -> avio_r<type>
get_buffer -> avio_read
get_partial_buffer will be made private later
get_strz is left out becase I want to change it later to return
something useful.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
471fe57e1a
avio: rename ByteIOContext to AVIOContext.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit ae628ec1fd
)
14 years ago
Anton Khirnov
ae628ec1fd
avio: rename ByteIOContext to AVIOContext.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Peter Ross
50d83b2005
Add audio codec 0x1602 (AAC LATM)
...
Originally committed as revision 26273 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Carl Eugen Hoyos
d267b339e4
Lagarith decoder by Nathan Caldwell, saintdev at gmail
...
Originally committed as revision 26270 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Carl Eugen Hoyos
504530bfba
Set blkalign to 3840 (maximum bytes per frame) for AC-3 in avi.
...
Fixes playback for corner-cases like 32kHz 320kb.
Originally committed as revision 26242 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Peter Ross
773d892a31
move ff_get_bmp_header under CONFIG_DEMUXERS block
...
Originally committed as revision 26182 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Carl Eugen Hoyos
f6bf6e511d
Set blkalign to maximum framesize to allow playback on WMP (see issue 2455 and issue 2446).
...
Originally committed as revision 26167 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Peter Ross
456a70aeb8
add ff_get_bmp_header
...
Originally committed as revision 26091 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Andrew Wason
3d305fd071
Add FourCC yuvs for rawvideo (PIX_FMT_YUYV422).
...
Patch by Andrew Wason, rectalogic rectalogic com
Originally committed as revision 25853 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Peter Ross
e8ffb2fa4c
Add G.722 to RIFF codec list
...
Originally committed as revision 25837 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Kostya Shishkov
cba322d76d
Make WMV3 decoder attempt to decode WMVP as well
...
Originally committed as revision 25209 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Zhou Zongyi
4383692896
Add R10k decoder.
...
Original patch by Zhou Zongyi, zhouzy A os pku edu cn, resubmitted by
James Darnley, james.darnley gmail, changes by me.
Originally committed as revision 25115 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Ben Littler
f0feb4d72f
add WAWV fourcc, works on V-codecs/WAWV.avi
...
Originally committed as revision 24991 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Carl Eugen Hoyos
2d91366cc2
Make MP43 the default fourcc for msmpeg4v3:
...
DIV3 is not supported on default XP and Vista installations (MP43 is).
Originally committed as revision 24343 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Tomas Härdin
77d3f1f792
Added M701 codec_tag for mpeg2video
...
Originally committed as revision 23513 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
74c853b621
Samsung uses SIPP as FourCC for MPEG-4 ASP.
...
Originally committed as revision 23309 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
781cf5fd41
Add missing codec id <-> codec tag entries:
...
CODEC_ID_RAWVIDEO <-> Y41B
CODEC_ID_RAWVIDEO <-> Y42B
CODEC_ID_RAWVIDEO <-> YUV9
CODEC_ID_RAWVIDEO <-> YVU9
These codec tags are listed in fourcc.org, and are already listed in
libavcodec/raw.c:ff_raw_pix_fmt_tags as AVI tags.
Originally committed as revision 23296 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Google
6c7c62939b
Add VP80 fourcc
...
Patch by Google
Originally committed as revision 23193 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
73762de18e
Add NV12 and NV21 AVI tags.
...
Both are listed in fourcc.org.
Originally committed as revision 23145 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Francesco Lavra
f10d3d343e
Add FourCC MJPG for CODEC_ID_JPEGLS.
...
Patch by Francesco Lavra, francescolavra interfree it
Originally committed as revision 23076 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
b43f432c8c
Add support to the Y411 codec tag, corresponding to the rawvideo pixel
...
format uyyvyy411.
The codec tag is referenced in fourcc.org.
Originally committed as revision 23072 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Anssi Hannula
337104ac1f
Fix FourCC when remuxing VP6F, regression introduced in r22941.
...
Patch by Anssi Hannula, anssi D hannula A iki fi
Originally committed as revision 22985 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Christian Schmidt
03cb8458ce
Support VP6F in Matroska.
...
Patch by Christian Schmidt, schmidt digadd de
Originally committed as revision 22941 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
72415b2adb
Define AVMediaType enum, and use it instead of enum CodecType, which
...
is deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Anton Khirnov
63100f5885
riff: don't pad extradata when writing ASF.
...
Patch by Anton Khirnov mirror(moc liamg saksyw)
Originally committed as revision 22539 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Daniel Verkamp
bf35412201
Kega Game Video (KGV1) decoder
...
Originally committed as revision 22364 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ben Littler
4bf2b9e8f3
add netspeak gsm and truespeech wav format tags to riff.c
...
Originally committed as revision 21797 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
86d58bcfd9
Add GEOV fourcc (issue971).
...
Originally committed as revision 21768 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago