Statistics
| Branch: | Revision:

ffmpeg / libavformat / electronicarts.c @ e356fc57

History | View | Annotate | Download (17.9 KB)

# Date Author Comment
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 <>

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

c6610a21 01/26/2011 10:10 PM Diego Elio Pettenò

Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.

This also lists the objects from those two libraries as internal (by adding
the ff_ prefix) so that they can then be hidden via linker scripts.

1c4ac035 01/11/2011 02:25 AM Peter Ross

electronicarts: prevent endless loop opportunity in process_audio_header_elements()
Fixes issue2529.

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

74093bb5 01/10/2011 10:25 PM Peter Ross

revert r26302

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

e19e051e 01/10/2011 12:56 PM Peter Ross

electronicarts: prevent endless loop opportunity in process_audio_header_elements()
Fixes issue2529.

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

42396c2e 01/10/2011 12:51 PM Peter Ross

electronicarts: only apply audio sanity checks when audio stream is present

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

cb77dad7 01/10/2011 11:38 AM Daniel Kang

perform sanity check on sample rate in electronicarts demuxer
Fixes issue2525
Original patch by Daniel Kang, daniel.d.kang at gmail

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

4da766ce 01/10/2011 11:02 AM Daniel Kang

perform sanity check on number of channels in electronicarts demuxer
Fixes issue2514
Original patch by Daniel Kang, daniel.d.kang at gmail

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

8fc0162a 07/10/2010 10:12 PM Måns Rullgård

Add av_ prefix to bswap macros

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

ba87f080 04/20/2010 02:45 PM Diego Biurrun

Remove explicit filename from Doxygen @file commands.

Passing an explicit filename to this command is only necessary if the
documentation in the @file block refers to a file different from the
one the block resides in.

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

cc947f04 03/31/2010 12:29 PM Jean-Daniel Dupas

Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY.

Patch by Jean-Daniel Dupas, devlists shadowlab org

Originally committed as revision 22744 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

e6a9dd6a 01/10/2010 08:57 AM Carl Eugen Hoyos

Use enum CodecID where appropriate.

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

add5badb 01/10/2010 05:08 AM Peter Ross

do not create Electronic Arts audio stream when unsupported revision2 audio codec is present [issue1516]

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

892d7e78 09/17/2009 06:07 PM Reimar Döffinger

Slightly improve probe for ea format by checking that it is possible to
guess whether the file is little- or big-endian.

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

eacfe858 06/13/2009 02:20 AM Peter Ross

Electronic Arts demuxer: support Madcow video tag

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

c3481d18 04/16/2009 12:46 PM Reimar Döffinger

Remove unused audio_pts field from ea demuxer struct

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

c96495e7 04/12/2009 08:53 AM Reimar Döffinger

Move ea demuxer messages that are irrelevant to ordinary users from
AV_LOG_INFO to AV_LOG_DEBUG.

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

46e97dc3 04/11/2009 10:41 AM Reimar Döffinger

Reindent

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

f772b7fa 04/11/2009 10:38 AM Reimar Döffinger

Make electronicarts demuxer return partial frames, this is the default
behaviour of av_get_packet and should not be override without good reason.
As a side effect this fixes the memleak described in issue 956.
Also return the exact error code from av_get_packet instead of AVERROR....

b57ac115 02/11/2009 03:01 PM Diego Biurrun

Add av_uninit macro to variable to avoid false positive warning:
libavformat/electronicarts.c: In function ‘ea_read_packet’:
libavformat/electronicarts.c:447: warning: ‘num_samples’ may be used uninitialized in this function

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

468d298d 02/05/2009 08:59 AM Peter Ross

Electronic Arts demuxer: support TQI video tag

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

bad5537e 02/01/2009 02:00 AM Diego Biurrun

Use full internal pathname in doxygen @file directives.
Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.

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

6a5d31ac 01/11/2009 10:19 PM Diego Biurrun

Fix build: Add intreadwrite.h and bswap.h #includes where necessary.

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

d2299316 11/08/2008 12:39 AM Peter Ross

Electronic Arts demuxer: support TGQ video tags

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

dd1c8f3e 09/08/2008 02:24 PM Luca Abeni

Bump Major version, this commit is almost just renaming bits_per_sample to
bits_per_coded_sample but that cannot be done seperately.
Patch by Luca Abeni
Also reset the minor version and fix the forgotton change to libfaad.
Note: The API/ABI should not be considered stable yet, there still may...

fc7ed9a6 08/18/2008 12:39 PM Peter Ross

Support Electronic Arts files containing MP3 audio.

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

ebc22cc2 08/12/2008 12:36 PM Peter Ross

Electronic Arts demuxer: support SxEN audio tags found in 'Need for Speed: Pro Street' computer game.

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

6819af82 08/12/2008 08:35 AM Peter Ross

Electronic Arts demuxer: perform identification of ADPCM EA R2 codec using revision2 flag.

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

a07f1178 08/12/2008 08:33 AM Peter Ross

Electronic Arts demuxer: ignore PTxx platform ID values.

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

d3302b70 08/12/2008 08:32 AM Peter Ross

Support Electronic Arts files containing MPEG2VIDEO.

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

d9d9a8c0 08/10/2008 01:58 AM Peter Ross

Add MDEC tags to Electronic Arts demuxer.

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

bbf020e9 08/06/2008 08:34 AM Peter Ross

Add Electronic Arts TGV chunk tags to EA demuxer.

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

af8ed96f 07/30/2008 07:41 AM Peter Ross

EA Demuxer: make rev2 flag optional

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

b2f181c2 07/08/2008 01:24 PM Peter Ross

Electronic Arts CMV demuxer

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

bde15e74 06/03/2008 04:20 PM Stefano Sabatini

Make long_names in lavf/lavdev optional depending on CONFIG_SMALL.
patch by Stefano Sabatini, stefano.sabatini-lala poste.it
along with some spelling/consistency fixes for the long names by me

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

696c3068 05/13/2008 03:51 PM Carl Eugen Hoyos

Fix icc warning #188: enumerated type mixed with another type

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

725d86bf 11/25/2007 04:32 PM Aurelien Jacobs

add pcm_s16le_planar support for electronicarts files

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

899681cd 11/21/2007 07:41 AM Björn Axelsson

Use dynamically allocated ByteIOContext in AVFormatContext

patch by: Björn Axelsson, bjorn d axelsson a intinor d se
thread: [PATCH] Remove static ByteIOContexts, 06 nov 2007

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

968fc6b9 11/07/2007 11:01 PM Aurelien Jacobs

probe more kind of electronic arts files

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

fac84d3c 10/30/2007 11:20 PM Peter Ross

EA IMA EACS decoder
original patch by Peter Ross

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

7bb65d89 10/30/2007 11:12 PM Peter Ross

EA IMA SEAD decoder
original patch by Peter Ross

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

97e6ee20 10/25/2007 09:17 PM Aurelien Jacobs

probe files starting with the 1SNh tag

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

94e8c227 10/25/2007 09:10 PM Aurelien Jacobs

don't use #define with names starting with _

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

98168220 10/25/2007 08:38 PM Aurelien Jacobs

add parsing of 1SNh header in the EA demuxer

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

44626387 10/24/2007 09:44 PM Aurelien Jacobs

avoid infinite loop at the end of files which are not properly terminated

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

e7583962 10/24/2007 08:49 PM Peter Ross

EA ADPCM R1, R2 and R3 decoder
original patch by Peter Ross

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

39fe9d79 10/22/2007 09:06 PM Aurelien Jacobs

convert a if() into a switch() to ease addition of new tags to probe

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

ab89dbd4 10/18/2007 11:52 PM Aurelien Jacobs

better check for video track detection

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

018d0ff9 10/18/2007 11:50 PM Aurelien Jacobs

skip unsupported audio track data

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

a2c9473d 10/18/2007 11:44 PM Aurelien Jacobs

cosmetics: indentation

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

c611463f 10/18/2007 11:42 PM Aurelien Jacobs

check if we found an audio track before initializing the audio stream

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

200f41ad 10/18/2007 11:40 PM Aurelien Jacobs

compute pts according to the audio codec

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

ffbd0bcd 10/18/2007 11:36 PM Aurelien Jacobs

set bytes per sample in the context

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

597958ad 10/18/2007 11:22 PM Aurelien Jacobs

fix big endian files support

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

78168450 10/18/2007 11:21 PM Aurelien Jacobs

simplify

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

6c867e04 10/18/2007 11:13 PM Aurelien Jacobs

parse sample rate instead of setting a default one

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

fd402a5a 10/18/2007 11:05 PM Aurelien Jacobs

add support for PCM codec

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

93fa8b2b 10/18/2007 10:53 PM Aurelien Jacobs

check compression_type to assign audio codec

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

e5d34ab6 10/18/2007 10:47 PM Aurelien Jacobs

make compression_type a function local var instead of a context var

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

97e5dcc0 10/18/2007 10:39 PM Aurelien Jacobs

add support for big_endian encoded headers

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

2c82386d 10/18/2007 10:32 PM Aurelien Jacobs

add some error processing

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

fa34563b 10/18/2007 10:27 PM Aurelien Jacobs

cosmetics: indentation

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

f8cab062 10/18/2007 10:26 PM Aurelien Jacobs

parse header chunk in a loop (don't depend on a fixed chunk ordering)

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

af704ee4 10/18/2007 10:23 PM Aurelien Jacobs

add audio and video codec context vars

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

080b1c82 10/18/2007 10:11 PM Aurelien Jacobs

better log message

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

f4097430 10/18/2007 10:01 PM Aurelien Jacobs

move vp6 header parsing into its own function

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

3773e5fc 10/18/2007 09:59 PM Aurelien Jacobs

remove 2 temporary variables

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

9853ce80 10/18/2007 09:56 PM Aurelien Jacobs

set a default value for num_channels

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

215eb102 10/18/2007 09:55 PM Aurelien Jacobs

move audio header parsing in its own function

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

d51bd73c 10/18/2007 09:45 PM Aurelien Jacobs

add a log message

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

1680692a 10/18/2007 09:30 PM Aurelien Jacobs

fix comment

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

227a388d 10/15/2007 10:52 PM Aurelien Jacobs

cosmetics: reindent

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

d3e412d0 10/15/2007 10:51 PM Aurelien Jacobs

add support for VP6 in electronicarts demuxer

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

c03c4cac 10/15/2007 10:51 PM Aurelien Jacobs

remove useless &0xFF

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

a066c5b7 10/15/2007 10:50 PM Aurelien Jacobs

merge declaration and initialization

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

df2eef0f 10/15/2007 10:50 PM Aurelien Jacobs

remove unused context vars

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

059baac9 10/15/2007 10:49 PM Aurelien Jacobs

remove unused code

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

c3527cc9 10/15/2007 10:49 PM Aurelien Jacobs

remove unused tags definition

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

0cf3fbc2 10/15/2007 10:48 PM Aurelien Jacobs

remove unused close function

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

269b94e3 10/15/2007 10:47 PM Aurelien Jacobs

simplify bitstream reading

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

6f3e0b21 07/19/2007 03:23 PM Panagiotis Issaris

Replace all occurrences of AVERROR_IO with AVERROR.

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

769e10f0 07/19/2007 03:21 PM Panagiotis Issaris

Replace all occurrences of AVERROR_NOMEM with AVERROR.

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

e4141433 04/08/2007 08:24 PM Nicholas Tung

Get rid of unnecessary pointer casts.
patch by Nicholas Tung, ntung ntung com

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

87e87886 04/08/2007 11:34 AM Michael Niedermayer

allocate 32 extra bytes at the end of the probe buffer and remove most probe buf_size checks

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

fead30d4 01/19/2007 10:12 PM Alex Beregszaszi

rename BE/LE_8/16/32 to AV_RL/B_8/16/32

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

b78e7197 10/07/2006 03:30 PM Diego Biurrun

Change license headers to say 'FFmpeg' instead of 'this program/this library'
and fix GPL/LGPL version mismatches.

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

ff70e601 07/10/2006 09:14 PM Måns Rullgård

allow individual selection of muxers and demuxers

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

d2a067d1 07/09/2006 11:40 PM Måns Rullgård

give AVInput/OutputFormat structs consistent names

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

5509bffa 01/12/2006 10:43 PM Diego Biurrun

Update licensing information: The FSF changed postal address.

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

115329f1 12/17/2005 06:14 PM Diego Biurrun

COSMETICS: Remove all trailing whitespace.

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

01f4895c 07/17/2005 10:24 PM Michael Niedermayer

changing AVCodecContext codec -> *codec in AVStream so additions to AVCodecContext dont randomize AVStream and break binary compatibility

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

2692067a 05/26/2005 08:17 PM Michael Niedermayer

AVPacket.pos

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

ad81a9fe 10/16/2004 07:33 PM Mike Melanson

Electronic Arts Game Multimedia format demuxer (WVE/UV2/etc.)

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