Statistics
| Branch: | Revision:

ffmpeg / libavformat / riff.c @ 4dcde00c

History | View | Annotate | Download (27.3 KB)

# Date Author Comment
2912e87a 03/19/2011 01:33 PM Mans Rullgard

Replace FFmpeg with Libav in licence headers

Signed-off-by: Mans Rullgard <>

45a8a02a 03/17/2011 02:24 AM Anton Khirnov

lavf: replace avio_seek(SEEK_CUR) with avio_skip where it makes sense

Signed-off-by: Ronald S. Bultje <>

d34ca1cf 03/07/2011 04:11 PM Peter Ross

Add audio codec 0x1600 (ADTS AAC)

Signed-off-by: Ronald S. Bultje <>

a2704c97 03/04/2011 04:26 PM Anton Khirnov

avio: add avio_tell macro as a replacement for url_ftell

Signed-off-by: Ronald S. Bultje <>

e356fc57 03/01/2011 05:22 PM Anton Khirnov

lavf: replace all uses of url_fskip with avio_seek

Signed-off-by: Ronald S. Bultje <>

6b4aa5da 03/01/2011 05:12 PM Anton Khirnov

avio: avio_ prefix for url_fseek

Signed-off-by: Ronald S. Bultje <>

0abdb293 02/25/2011 07:38 PM Anton Khirnov

lavf: use a new ffio_wfourcc macro instead of put_tag() where possible

Signed-off-by: Ronald S. Bultje <>

77eb5504 02/21/2011 07:25 PM Anton Khirnov

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 <>

b7effd4e 02/21/2011 04:23 PM Anton Khirnov

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...

ae628ec1 02/20/2011 01:37 PM Anton Khirnov

avio: rename ByteIOContext to AVIOContext.

Signed-off-by: Ronald S. Bultje <>

50d83b20 01/09/2011 02:11 AM Peter Ross

Add audio codec 0x1602 (AAC LATM)

Originally committed as revision 26273 to svn://svn.ffmpeg.org/ffmpeg/trunk

d267b339 01/08/2011 09:22 PM Carl Eugen Hoyos

Lagarith decoder by Nathan Caldwell, saintdev at gmail

Originally committed as revision 26270 to svn://svn.ffmpeg.org/ffmpeg/trunk

504530bf 01/06/2011 01:30 PM Carl Eugen Hoyos

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

773d892a 01/01/2011 03:24 AM Peter Ross

move ff_get_bmp_header under CONFIG_DEMUXERS block

Originally committed as revision 26182 to svn://svn.ffmpeg.org/ffmpeg/trunk

f6bf6e51 12/30/2010 02:21 PM Carl Eugen Hoyos

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

456a70ae 12/26/2010 01:23 AM Peter Ross

add ff_get_bmp_header

Originally committed as revision 26091 to svn://svn.ffmpeg.org/ffmpeg/trunk

3d305fd0 11/29/2010 11:15 PM Andrew Wason

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

e8ffb2fa 11/28/2010 03:01 AM Peter Ross

Add G.722 to RIFF codec list

Originally committed as revision 25837 to svn://svn.ffmpeg.org/ffmpeg/trunk

cba322d7 09/26/2010 01:56 PM Kostya Shishkov

Make WMV3 decoder attempt to decode WMVP as well

Originally committed as revision 25209 to svn://svn.ffmpeg.org/ffmpeg/trunk

43836928 09/13/2010 10:08 PM Zhou Zongyi

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

f0feb4d7 08/30/2010 04:43 PM Ben Littler

add WAWV fourcc, works on V-codecs/WAWV.avi

Originally committed as revision 24991 to svn://svn.ffmpeg.org/ffmpeg/trunk

2d91366c 07/20/2010 09:44 AM Carl Eugen Hoyos

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

77d3f1f7 06/07/2010 11:27 AM Tomas Härdin

Added M701 codec_tag for mpeg2video

Originally committed as revision 23513 to svn://svn.ffmpeg.org/ffmpeg/trunk

74c853b6 05/25/2010 10:35 AM Carl Eugen Hoyos

Samsung uses SIPP as FourCC for MPEG-4 ASP.

Originally committed as revision 23309 to svn://svn.ffmpeg.org/ffmpeg/trunk

781cf5fd 05/24/2010 08:35 PM Stefano Sabatini

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....

6c7c6293 05/19/2010 04:50 PM Google

Add VP80 fourcc

Patch by Google

Originally committed as revision 23193 to svn://svn.ffmpeg.org/ffmpeg/trunk

73762de1 05/16/2010 07:56 AM Stefano Sabatini

Add NV12 and NV21 AVI tags.

Both are listed in fourcc.org.

Originally committed as revision 23145 to svn://svn.ffmpeg.org/ffmpeg/trunk

f10d3d34 05/09/2010 11:19 PM Francesco Lavra

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

b43f432c 05/09/2010 10:56 PM Stefano Sabatini

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

337104ac 04/28/2010 07:57 AM Anssi Hannula

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

03cb8458 04/22/2010 08:57 AM Christian Schmidt

Support VP6F in Matroska.

Patch by Christian Schmidt, schmidt digadd de

Originally committed as revision 22941 to svn://svn.ffmpeg.org/ffmpeg/trunk

72415b2a 03/30/2010 11:30 PM Stefano Sabatini

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

63100f58 03/15/2010 08:49 AM Anton Khirnov

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

bf354122 03/09/2010 01:03 AM Daniel Verkamp

Kega Game Video (KGV1) decoder

Originally committed as revision 22364 to svn://svn.ffmpeg.org/ffmpeg/trunk

4bf2b9e8 02/13/2010 05:57 PM Ben Littler

add netspeak gsm and truespeech wav format tags to riff.c

Originally committed as revision 21797 to svn://svn.ffmpeg.org/ffmpeg/trunk

86d58bcf 02/12/2010 01:37 AM Michael Niedermayer

Add GEOV fourcc (issue971).

Originally committed as revision 21768 to svn://svn.ffmpeg.org/ffmpeg/trunk

5bc3fc21 01/18/2010 03:57 AM Ben Littler

add uldx fourcc to mpeg4 in riff.c

Originally committed as revision 21279 to svn://svn.ffmpeg.org/ffmpeg/trunk

6667d5a5 01/17/2010 07:25 PM Ben Littler

add vspx fourcc to mpeg4 in riff.c

Originally committed as revision 21269 to svn://svn.ffmpeg.org/ffmpeg/trunk

8be7ac98 01/16/2010 01:13 PM ami_stuff

Support decoding of SoftLab-NSK VideoTizer.

Patch by ami_stuff, ami_stuff o2 pl

Originally committed as revision 21245 to svn://svn.ffmpeg.org/ffmpeg/trunk

9df9b810 01/06/2010 09:51 PM Daniel Verkamp

Handle more ADPCM codecs in av_get_bits_per_sample().

This removes some special-case code from riff.c.
CODEC_ID_ADPCM_G726 is still handled in riff.c as before because it is
not guaranteed to be fixed 4 bits per sample.

Originally committed as revision 21037 to svn://svn.ffmpeg.org/ffmpeg/trunk

418a287c 01/05/2010 08:14 PM Ben Littler

add another mjpeg fourcc to riff.c list

Originally committed as revision 21032 to svn://svn.ffmpeg.org/ffmpeg/trunk

2c2a167c 12/18/2009 06:03 AM Michael Niedermayer

It appears that waveformatextensible is mandatory for more cases than
just channels>2. The 16bit case is from MSDN, the 48khz is from less a reliable
www page (sorry i cant find the URL anymore).

Originally committed as revision 20892 to svn://svn.ffmpeg.org/ffmpeg/trunk

4aaab0a3 12/17/2009 06:56 PM Reimar Döffinger

Add decoder for R210 (uncompressed 10-bit RGB) codec.

Originally committed as revision 20891 to svn://svn.ffmpeg.org/ffmpeg/trunk

ab176fdf 12/10/2009 11:06 PM Carl Eugen Hoyos

(Partly) support Metasoft MJPEG Codec, fixes half of issue 1611.

Originally committed as revision 20796 to svn://svn.ffmpeg.org/ffmpeg/trunk

f63e5a74 12/10/2009 10:38 PM Carl Eugen Hoyos

Support Etymonix MPEG-2 video codec, fixes issue 1603.

Originally committed as revision 20795 to svn://svn.ffmpeg.org/ffmpeg/trunk

4bae2251 12/09/2009 08:55 PM Ben Littler

add dvcs to dvvideo, fixes issue 1604

Originally committed as revision 20786 to svn://svn.ffmpeg.org/ffmpeg/trunk

4b86926b 12/08/2009 11:47 PM Carl Eugen Hoyos

Support AVI1 and AVI2 in avi as MJPEG.
Fixes issue 1602.

Originally committed as revision 20781 to svn://svn.ffmpeg.org/ffmpeg/trunk

483aad71 12/01/2009 02:07 AM Michael Niedermayer

slif aka "SoftLab MPEG-2 I-frames Codec" support.
Flipping one bit still is popular it seems as a means to create a new codec.
fixes issue1469.

Originally committed as revision 20679 to svn://svn.ffmpeg.org/ffmpeg/trunk

e47ca4f7 11/02/2009 12:10 AM Ben Littler

map VYUY fourcc to rawcodec
fixes http://samples.mplayerhq.hu/V-codecs/ATI-VCR12/ATI/y422test.avi

Originally committed as revision 20432 to svn://svn.ffmpeg.org/ffmpeg/trunk

13547dd1 10/27/2009 05:37 PM Ben Littler

add 2vuy fourcc to riff.c , fixes samples/V-codecs/2vuy.avi

Originally committed as revision 20383 to svn://svn.ffmpeg.org/ffmpeg/trunk

9853bbb2 10/27/2009 03:57 PM Ben Littler

add some raw codec fourccs, fixes:
samples/V-codecs/

P422.AVI
UYNV.AVI
UYNY.AVI
V422.AVI
YUNV.AVI

Originally committed as revision 20379 to svn://svn.ffmpeg.org/ffmpeg/trunk

94ec3aca 10/18/2009 10:43 PM Carl Eugen Hoyos

Support FourCC mjpa as MJPEG.
Fixes issue 1492.

Originally committed as revision 20296 to svn://svn.ffmpeg.org/ffmpeg/trunk

bc2d2a07 10/16/2009 02:46 PM Carl Eugen Hoyos

Make AVCodecTag.id enum CodecID and use CODEC_ID_NONE instead of 0.

Originally committed as revision 20250 to svn://svn.ffmpeg.org/ffmpeg/trunk

d8b35b85 10/13/2009 06:15 PM Reimar Döffinger

Add decoder for "forward uncompressed".
Fixes issue 1467.

Originally committed as revision 20226 to svn://svn.ffmpeg.org/ffmpeg/trunk

dd9d5a1e 10/12/2009 10:00 PM Carl Eugen Hoyos

Support Midvid JPEG Video Codec (still flipped).

Originally committed as revision 20218 to svn://svn.ffmpeg.org/ffmpeg/trunk

54089ecd 10/12/2009 09:35 PM Carl Eugen Hoyos

Support Intel JPEG Library Video Codec (still flipped).

Originally committed as revision 20217 to svn://svn.ffmpeg.org/ffmpeg/trunk

188842ef 08/07/2009 11:57 PM Aurelien Jacobs

fix riff subtitle timebase

Originally committed as revision 19607 to svn://svn.ffmpeg.org/ffmpeg/trunk

1a40491e 06/22/2009 11:09 PM Daniel Verkamp

Add ff_ prefixes to exported symbols in libavformat/riff.h.
patch by Daniel Verkamp, aniel drv nu

Originally committed as revision 19254 to svn://svn.ffmpeg.org/ffmpeg/trunk

bc7ea1e5 06/18/2009 07:31 PM Jason Garrett-Glaser

Add fourcc 0x10000004, seems to actually be MPEG4. Fixes a problematic AVI file.

Originally committed as revision 19219 to svn://svn.ffmpeg.org/ffmpeg/trunk

fc3fc029 06/12/2009 05:39 PM Jason Garrett-Glaser

Add new FOURCC (0x0003) for raw DIB video, set flip flag accordingly.
Fixes a few AVI files from what is probably a mobile phone video camera.

Originally committed as revision 19172 to svn://svn.ffmpeg.org/ffmpeg/trunk

8e6e9bac 06/12/2009 01:21 PM Jai Menon

Associate the 0x6c75 TwoCC used in certain Kodak cameras
to the PCM Mu-law decoder.
Fixes Issue 1178.

Originally committed as revision 19166 to svn://svn.ffmpeg.org/ffmpeg/trunk

94d3d6a4 06/12/2009 05:29 AM Jimmy Christensen

DPX (Digital Picture Exchange) image decoder
patch by Jimmy Christensen, jimmy ghost dk

Originally committed as revision 19163 to svn://svn.ffmpeg.org/ffmpeg/trunk

71b0654c 05/26/2009 03:51 AM Michael Niedermayer

Support YVU9 AVI 4cc.
Fixes issue1068.

Originally committed as revision 18952 to svn://svn.ffmpeg.org/ffmpeg/trunk

f9928b7e 05/26/2009 01:14 AM Ben Littler

map dvh1 fourcc to dv, fixes incoming/dvh1_sample

Originally committed as revision 18951 to svn://svn.ffmpeg.org/ffmpeg/trunk

9c4e266c 05/12/2009 07:58 PM Baptiste Coudurier

v210 avi fourcc, v210_720p.avi

Originally committed as revision 18802 to svn://svn.ffmpeg.org/ffmpeg/trunk

c20a305b 05/05/2009 04:30 AM Baptiste Coudurier

dvh1 avi fourcc, dvh1_sample_truncated.avi, issue #1034

Originally committed as revision 18739 to svn://svn.ffmpeg.org/ffmpeg/trunk

5aef8462 04/19/2009 09:24 PM Michael Niedermayer

Add zygo fourcc.

Originally committed as revision 18628 to svn://svn.ffmpeg.org/ffmpeg/trunk

0dccbba0 04/10/2009 12:18 PM Thilo Borgmann

Add 'PNG1' to PNG fourcc codes.

Patch by Thilo Borgmann thilo DOT borgmann AT gXXglemail.cXm.

Originally committed as revision 18415 to svn://svn.ffmpeg.org/ffmpeg/trunk

c81604f8 04/08/2009 04:01 PM Zhentan Feng

Reduce code duplication.

Patch by Zhentan Feng, spyfeng gmail

Originally committed as revision 18377 to svn://svn.ffmpeg.org/ffmpeg/trunk

4bce3ba4 04/08/2009 03:06 AM Ronald S. Bultje

Reindent after r18372.

Originally committed as revision 18373 to svn://svn.ffmpeg.org/ffmpeg/trunk

6e9f56c1 04/08/2009 03:04 AM Ronald S. Bultje

Add waveformat-extensible support in the wav muxer.

Patch (GSoC qualfication task) by Zhentan Feng spyfeng gmail com, see
"[FFmpeg-devel] Add waveformat extensible support in wav muxer (SoC
qualification task)" thread on mailinglist.

Originally committed as revision 18372 to svn://svn.ffmpeg.org/ffmpeg/trunk

13b47b40 04/01/2009 12:45 AM Ben Littler

add another dv fourcc CDVH

Originally committed as revision 18293 to svn://svn.ffmpeg.org/ffmpeg/trunk

c21fbefb 03/22/2009 07:40 AM Kostya Shishkov

Add AURA 1 and 2 codec IDs and register their FOURCCs

Originally committed as revision 18141 to svn://svn.ffmpeg.org/ffmpeg/trunk

3596f4e0 03/11/2009 01:36 AM Ben Littler

sn40 avi fourcc decodes with ffodivx

Originally committed as revision 17928 to svn://svn.ffmpeg.org/ffmpeg/trunk

31f2616d 02/21/2009 03:32 PM Michael Niedermayer

Fix raw rgb/bgr vertical flip in avi based on info from http://www.fourcc.org/fccbihgt.php.
partially fixes issue862.

Originally committed as revision 17475 to svn://svn.ffmpeg.org/ffmpeg/trunk

52837498 02/19/2009 11:09 PM Alex Converse

Add Divio MPEG-4 FOURCC (M4CC)

Originally committed as revision 17465 to svn://svn.ffmpeg.org/ffmpeg/trunk

e80c73b3 02/02/2009 10:43 PM Eli Friedman

Add support for fourcc "SP54".

Patch by Eli Friedman eli D friedman A gmail

Originally committed as revision 16958 to svn://svn.ffmpeg.org/ffmpeg/trunk

4becee23 01/31/2009 05:53 AM Stefan Gehrer

ADPCM found in Xbox wav files can be decoded with
existing CODEC_ID_ADPCM_IMA_WAV

Originally committed as revision 16883 to svn://svn.ffmpeg.org/ffmpeg/trunk

bf23f6dc 01/29/2009 03:33 PM Ben Littler

pvez avi fourcc is truemotion1

Originally committed as revision 16850 to svn://svn.ffmpeg.org/ffmpeg/trunk

76af2edc 01/23/2009 12:17 PM Ben Littler

add EM4A fourcc , works for:
http://av.watch.impress.co.jp/docs/20040929/xf.asf

Originally committed as revision 16729 to svn://svn.ffmpeg.org/ffmpeg/trunk

5823e4b8 01/20/2009 04:19 PM Ben Littler

another mpeg4 fourcc

Originally committed as revision 16702 to svn://svn.ffmpeg.org/ffmpeg/trunk

d7c6552c 01/19/2009 04:11 PM Ben Littler

add T263. works on samples/V-codecs/T263/

Originally committed as revision 16685 to svn://svn.ffmpeg.org/ffmpeg/trunk

406792e7 01/19/2009 03:46 PM Diego Biurrun

cosmetics: Remove pointless period after copyright statement non-sentences.

Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk

9ce6c138 01/17/2009 11:13 AM Aurelien Jacobs

export gcd function as av_gcd()

Originally committed as revision 16653 to svn://svn.ffmpeg.org/ffmpeg/trunk

e2260faa 01/16/2009 07:05 PM Ben Littler

add LM20 mimic in avi fourcc

Originally committed as revision 16645 to svn://svn.ffmpeg.org/ffmpeg/trunk

b250f9c6 01/13/2009 11:44 PM Aurelien Jacobs

Change semantic of CONFIG_*, HAVE_* and ARCH_*.
They are now always defined to either 0 or 1.

Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk

ed0879ed 01/13/2009 05:10 PM Ben Littler

add SLMJ fourcc to mjpeg

Originally committed as revision 16579 to svn://svn.ffmpeg.org/ffmpeg/trunk

54f8abde 01/08/2009 06:00 PM Ben Littler

cosmetics: CJPG is from Creative Webcam

Originally committed as revision 16497 to svn://svn.ffmpeg.org/ffmpeg/trunk

949462b3 01/08/2009 05:51 PM Ben Littler

fourcc CJPG is sequential jpeg

Originally committed as revision 16496 to svn://svn.ffmpeg.org/ffmpeg/trunk

c26436ec 12/24/2008 02:20 AM Ben Littler

add amr in avi riff tags

Originally committed as revision 16303 to svn://svn.ffmpeg.org/ffmpeg/trunk

9f2ace74 12/22/2008 10:12 PM Carl Eugen Hoyos

Fix two identical warnings when compiling riff.c and nuv.c with icc:
warning #188: enumerated type mixed with another type

Originally committed as revision 16281 to svn://svn.ffmpeg.org/ffmpeg/trunk

f86cd761 12/16/2008 05:22 AM Ben Littler

add MPNG fourcc
fixes http://sceneish.ath.cx/stuff/netmap/netmap.avi

Originally committed as revision 16163 to svn://svn.ffmpeg.org/ffmpeg/trunk

4a49a5fd 12/16/2008 05:20 AM Ben Littler

two more mpeg4 fourccs and one msmpeg4v3 from uncommon codec list

Originally committed as revision 16162 to svn://svn.ffmpeg.org/ffmpeg/trunk

a9cf309b 12/16/2008 03:49 AM Ben Littler

QIVG fourcc, fixes http://rodweb.dip.jp/partner/check.avi

Originally committed as revision 16161 to svn://svn.ffmpeg.org/ffmpeg/trunk

c6340f86 12/16/2008 03:42 AM Ben Littler

add rpza avi fourcc

Originally committed as revision 16160 to svn://svn.ffmpeg.org/ffmpeg/trunk

41b0534a 12/12/2008 03:34 PM Ben Littler

add another mpeg4 avi fourcc from uncommon codecs list

Originally committed as revision 16079 to svn://svn.ffmpeg.org/ffmpeg/trunk

65fec2d9 12/11/2008 07:49 AM Mike Melanson

add 'ACDV' FourCC (which is just complete JPEG files in individual AVI
frames) and 'azpr' FourCC (which is Apple's 'rpza', encapsulated in AVI
instead)

Originally committed as revision 16052 to svn://svn.ffmpeg.org/ffmpeg/trunk

6cffaea8 12/08/2008 08:09 PM Ben Littler

add mpeg2 fourcc and aac format tag from asf

Originally committed as revision 16036 to svn://svn.ffmpeg.org/ffmpeg/trunk

62d6f73e 12/05/2008 02:59 PM Ben Littler

add VX1K h263 and DMK2 mpeg4 avi fourccs

Originally committed as revision 16009 to svn://svn.ffmpeg.org/ffmpeg/trunk

26e8d342 12/03/2008 09:44 PM Ben Littler

add fourccs from avi files

Originally committed as revision 15995 to svn://svn.ffmpeg.org/ffmpeg/trunk