History | View | Annotate | Download (18 KB)
Enable header parsing for MPEG2VIDEO to get time-stamps.
FFmpeg can generate pts and dts on its own, but onlyif we enable parsing, so do that.This fixes ticket #46.
Merge remote-tracking branch 'newdev/master'
Conflicts: Changelog doc/APIchanges doc/optimization.txt libavformat/avio.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
lavf: replace avio_seek(SEEK_CUR) with avio_skip where it makes sense
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
avio: deprecate url_feof
AVIOContext.eof_reached should be used directly instead.
avio: add avio_tell macro as a replacement for url_ftell
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>(cherry picked from commit a2704c9712ad35cc22e7e0d8a79b581c07fa383b)
lavf: replace all uses of url_fskip with avio_seek
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>(cherry picked from commit e356fc57a2e9887370caec58d8aafeafd1f336dc)
avio: avio_ prefix for url_fseek
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>(cherry picked from commit 6b4aa5dac8f41aa452d0ce9a1bede9e59a303060)
avio: avio_ prefixes for get_* functions
In the name of consistency:get_byte -> avio_r8get_<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...
avio: rename ByteIOContext to AVIOContext.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>(cherry picked from commit ae628ec1fd7f54c102bf9e667a3edd404b9b9128)
Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.
This also lists the objects from those two libraries as internal (by addingthe ff_ prefix) so that they can then be hidden via linker scripts.(cherry picked from commit c6610a216ed2948885772154a2eed696e0cb4aca)
This also lists the objects from those two libraries as internal (by addingthe ff_ prefix) so that they can then be hidden via linker scripts.
electronicarts: prevent endless loop opportunity in process_audio_header_elements()Fixes issue2529.
Originally committed as revision 26307 to svn://svn.ffmpeg.org/ffmpeg/trunk
revert r26302
Originally committed as revision 26305 to svn://svn.ffmpeg.org/ffmpeg/trunk
Originally committed as revision 26302 to svn://svn.ffmpeg.org/ffmpeg/trunk
electronicarts: only apply audio sanity checks when audio stream is present
Originally committed as revision 26301 to svn://svn.ffmpeg.org/ffmpeg/trunk
perform sanity check on sample rate in electronicarts demuxerFixes issue2525Original patch by Daniel Kang, daniel.d.kang at gmail
Originally committed as revision 26298 to svn://svn.ffmpeg.org/ffmpeg/trunk
perform sanity check on number of channels in electronicarts demuxerFixes issue2514Original patch by Daniel Kang, daniel.d.kang at gmail
Originally committed as revision 26296 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add av_ prefix to bswap macros
Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove explicit filename from Doxygen @file commands.
Passing an explicit filename to this command is only necessary if thedocumentation in the @file block refers to a file different from theone the block resides in.
Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
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
Define AVMediaType enum, and use it instead of enum CodecType, whichis deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
Use enum CodecID where appropriate.
Originally committed as revision 21119 to svn://svn.ffmpeg.org/ffmpeg/trunk
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
Slightly improve probe for ea format by checking that it is possible toguess whether the file is little- or big-endian.
Originally committed as revision 19896 to svn://svn.ffmpeg.org/ffmpeg/trunk
Electronic Arts demuxer: support Madcow video tag
Originally committed as revision 19179 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove unused audio_pts field from ea demuxer struct
Originally committed as revision 18538 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move ea demuxer messages that are irrelevant to ordinary users fromAV_LOG_INFO to AV_LOG_DEBUG.
Originally committed as revision 18464 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reindent
Originally committed as revision 18429 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make electronicarts demuxer return partial frames, this is the defaultbehaviour 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....
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
Electronic Arts demuxer: support TQI video tag
Originally committed as revision 17003 to svn://svn.ffmpeg.org/ffmpeg/trunk
Use full internal pathname in doxygen @file directives.Otherwise doxygen complains about ambiguous filenames when files existunder the same name in different subdirectories.
Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix build: Add intreadwrite.h and bswap.h #includes where necessary.
Originally committed as revision 16556 to svn://svn.ffmpeg.org/ffmpeg/trunk
Electronic Arts demuxer: support TGQ video tags
Originally committed as revision 15791 to svn://svn.ffmpeg.org/ffmpeg/trunk
Bump Major version, this commit is almost just renaming bits_per_sample tobits_per_coded_sample but that cannot be done seperately.Patch by Luca AbeniAlso reset the minor version and fix the forgotton change to libfaad.Note: The API/ABI should not be considered stable yet, there still may...
Support Electronic Arts files containing MP3 audio.
Originally committed as revision 14824 to svn://svn.ffmpeg.org/ffmpeg/trunk
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
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
Electronic Arts demuxer: ignore PTxx platform ID values.
Originally committed as revision 14709 to svn://svn.ffmpeg.org/ffmpeg/trunk
Support Electronic Arts files containing MPEG2VIDEO.
Originally committed as revision 14708 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add MDEC tags to Electronic Arts demuxer.
Originally committed as revision 14679 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add Electronic Arts TGV chunk tags to EA demuxer.
Originally committed as revision 14643 to svn://svn.ffmpeg.org/ffmpeg/trunk
EA Demuxer: make rev2 flag optional
Originally committed as revision 14474 to svn://svn.ffmpeg.org/ffmpeg/trunk
Electronic Arts CMV demuxer
Originally committed as revision 14111 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make long_names in lavf/lavdev optional depending on CONFIG_SMALL.patch by Stefano Sabatini, stefano.sabatini-lala poste.italong with some spelling/consistency fixes for the long names by me
Originally committed as revision 13649 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix icc warning #188: enumerated type mixed with another type
Originally committed as revision 13144 to svn://svn.ffmpeg.org/ffmpeg/trunk
add pcm_s16le_planar support for electronicarts files
Originally committed as revision 11092 to svn://svn.ffmpeg.org/ffmpeg/trunk
Use dynamically allocated ByteIOContext in AVFormatContext
patch by: Björn Axelsson, bjorn d axelsson a intinor d sethread: [PATCH] Remove static ByteIOContexts, 06 nov 2007
Originally committed as revision 11071 to svn://svn.ffmpeg.org/ffmpeg/trunk
probe more kind of electronic arts files
Originally committed as revision 10947 to svn://svn.ffmpeg.org/ffmpeg/trunk
EA IMA EACS decoderoriginal patch by Peter Ross
Originally committed as revision 10880 to svn://svn.ffmpeg.org/ffmpeg/trunk
EA IMA SEAD decoderoriginal patch by Peter Ross
Originally committed as revision 10879 to svn://svn.ffmpeg.org/ffmpeg/trunk
probe files starting with the 1SNh tag
Originally committed as revision 10861 to svn://svn.ffmpeg.org/ffmpeg/trunk
don't use #define with names starting with _
Originally committed as revision 10860 to svn://svn.ffmpeg.org/ffmpeg/trunk
add parsing of 1SNh header in the EA demuxer
Originally committed as revision 10859 to svn://svn.ffmpeg.org/ffmpeg/trunk
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
EA ADPCM R1, R2 and R3 decoderoriginal patch by Peter Ross
Originally committed as revision 10856 to svn://svn.ffmpeg.org/ffmpeg/trunk
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
better check for video track detection
Originally committed as revision 10807 to svn://svn.ffmpeg.org/ffmpeg/trunk
skip unsupported audio track data
Originally committed as revision 10806 to svn://svn.ffmpeg.org/ffmpeg/trunk
cosmetics: indentation
Originally committed as revision 10805 to svn://svn.ffmpeg.org/ffmpeg/trunk
check if we found an audio track before initializing the audio stream
Originally committed as revision 10804 to svn://svn.ffmpeg.org/ffmpeg/trunk
compute pts according to the audio codec
Originally committed as revision 10803 to svn://svn.ffmpeg.org/ffmpeg/trunk
set bytes per sample in the context
Originally committed as revision 10802 to svn://svn.ffmpeg.org/ffmpeg/trunk
fix big endian files support
Originally committed as revision 10801 to svn://svn.ffmpeg.org/ffmpeg/trunk
simplify
Originally committed as revision 10800 to svn://svn.ffmpeg.org/ffmpeg/trunk
parse sample rate instead of setting a default one
Originally committed as revision 10799 to svn://svn.ffmpeg.org/ffmpeg/trunk
add support for PCM codec
Originally committed as revision 10798 to svn://svn.ffmpeg.org/ffmpeg/trunk
check compression_type to assign audio codec
Originally committed as revision 10797 to svn://svn.ffmpeg.org/ffmpeg/trunk
make compression_type a function local var instead of a context var
Originally committed as revision 10796 to svn://svn.ffmpeg.org/ffmpeg/trunk
add support for big_endian encoded headers
Originally committed as revision 10795 to svn://svn.ffmpeg.org/ffmpeg/trunk
add some error processing
Originally committed as revision 10794 to svn://svn.ffmpeg.org/ffmpeg/trunk
Originally committed as revision 10793 to svn://svn.ffmpeg.org/ffmpeg/trunk
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
add audio and video codec context vars
Originally committed as revision 10791 to svn://svn.ffmpeg.org/ffmpeg/trunk
better log message
Originally committed as revision 10790 to svn://svn.ffmpeg.org/ffmpeg/trunk
move vp6 header parsing into its own function
Originally committed as revision 10789 to svn://svn.ffmpeg.org/ffmpeg/trunk
remove 2 temporary variables
Originally committed as revision 10788 to svn://svn.ffmpeg.org/ffmpeg/trunk
set a default value for num_channels
Originally committed as revision 10787 to svn://svn.ffmpeg.org/ffmpeg/trunk
move audio header parsing in its own function
Originally committed as revision 10786 to svn://svn.ffmpeg.org/ffmpeg/trunk
add a log message
Originally committed as revision 10785 to svn://svn.ffmpeg.org/ffmpeg/trunk
fix comment
Originally committed as revision 10784 to svn://svn.ffmpeg.org/ffmpeg/trunk
cosmetics: reindent
Originally committed as revision 10753 to svn://svn.ffmpeg.org/ffmpeg/trunk
add support for VP6 in electronicarts demuxer
Originally committed as revision 10752 to svn://svn.ffmpeg.org/ffmpeg/trunk
remove useless &0xFF
Originally committed as revision 10751 to svn://svn.ffmpeg.org/ffmpeg/trunk
merge declaration and initialization
Originally committed as revision 10750 to svn://svn.ffmpeg.org/ffmpeg/trunk
remove unused context vars
Originally committed as revision 10749 to svn://svn.ffmpeg.org/ffmpeg/trunk
remove unused code
Originally committed as revision 10748 to svn://svn.ffmpeg.org/ffmpeg/trunk
remove unused tags definition
Originally committed as revision 10747 to svn://svn.ffmpeg.org/ffmpeg/trunk
remove unused close function
Originally committed as revision 10746 to svn://svn.ffmpeg.org/ffmpeg/trunk
simplify bitstream reading
Originally committed as revision 10745 to svn://svn.ffmpeg.org/ffmpeg/trunk
Replace all occurrences of AVERROR_IO with AVERROR.
Originally committed as revision 9760 to svn://svn.ffmpeg.org/ffmpeg/trunk
Replace all occurrences of AVERROR_NOMEM with AVERROR.
Originally committed as revision 9759 to svn://svn.ffmpeg.org/ffmpeg/trunk
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
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
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