ffmpeg.git
9 years agoBink audio pts starts at 0, not reported_size
Peter Ross [Tue, 23 Feb 2010 11:01:51 +0000 (11:01 +0000)]
Bink audio pts starts at 0, not reported_size

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

9 years agoUse reported_size to truncate final Bink Audio frame
Peter Ross [Tue, 23 Feb 2010 10:28:11 +0000 (10:28 +0000)]
Use reported_size to truncate final Bink Audio frame

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

9 years agoFix iff demuxer dependencies
Daniel Verkamp [Tue, 23 Feb 2010 08:40:46 +0000 (08:40 +0000)]
Fix iff demuxer dependencies

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

9 years agoFix vc1 parser dependencies
Daniel Verkamp [Tue, 23 Feb 2010 08:37:04 +0000 (08:37 +0000)]
Fix vc1 parser dependencies

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

9 years agoFix h264 parser dependencies
Daniel Verkamp [Tue, 23 Feb 2010 08:32:29 +0000 (08:32 +0000)]
Fix h264 parser dependencies

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

9 years agoFix mpeg4video parser dependencies
Daniel Verkamp [Tue, 23 Feb 2010 08:23:59 +0000 (08:23 +0000)]
Fix mpeg4video parser dependencies

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

9 years agoFix wmv2 encoder dependencies
Daniel Verkamp [Tue, 23 Feb 2010 08:16:56 +0000 (08:16 +0000)]
Fix wmv2 encoder dependencies

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

9 years agoFix gif encoder dependencies
Daniel Verkamp [Tue, 23 Feb 2010 08:12:26 +0000 (08:12 +0000)]
Fix gif encoder dependencies

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

9 years agoFix snow encoder dependencies
Daniel Verkamp [Tue, 23 Feb 2010 08:10:01 +0000 (08:10 +0000)]
Fix snow encoder dependencies

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

9 years agoFix svq1 encoder dependencies
Daniel Verkamp [Tue, 23 Feb 2010 08:04:55 +0000 (08:04 +0000)]
Fix svq1 encoder dependencies

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

9 years ago10l trocadero: Indeo 5 decoder did not free custom VLCs for macroblock and
Kostya Shishkov [Tue, 23 Feb 2010 07:41:29 +0000 (07:41 +0000)]
10l trocadero: Indeo 5 decoder did not free custom VLCs for macroblock and
block decoding at exit, so prevent that memory leak now.

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

9 years agoDecode alpha plane in Bink video
Kostya Shishkov [Tue, 23 Feb 2010 07:07:54 +0000 (07:07 +0000)]
Decode alpha plane in Bink video

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

9 years agocosmetics: reindent after last commit
Kostya Shishkov [Tue, 23 Feb 2010 07:01:13 +0000 (07:01 +0000)]
cosmetics: reindent after last commit

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

9 years agoMove plane decoding code into separate function in Bink decoder
Kostya Shishkov [Tue, 23 Feb 2010 07:00:46 +0000 (07:00 +0000)]
Move plane decoding code into separate function in Bink decoder

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

9 years agoBink video decoder now can use extradata to detect alpha plane presence
Kostya Shishkov [Tue, 23 Feb 2010 06:39:23 +0000 (06:39 +0000)]
Bink video decoder now can use extradata to detect alpha plane presence

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

9 years agoMake Bink demuxer pass video flags to decoder
Kostya Shishkov [Tue, 23 Feb 2010 06:36:26 +0000 (06:36 +0000)]
Make Bink demuxer pass video flags to decoder

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

9 years agoDeclare indeo VLC table storage with correct type
Måns Rullgård [Tue, 23 Feb 2010 03:45:51 +0000 (03:45 +0000)]
Declare indeo VLC table storage with correct type

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

9 years agoTry to set has_b_frames in codec init if we know everything alraedy.
Michael Niedermayer [Tue, 23 Feb 2010 01:08:54 +0000 (01:08 +0000)]
Try to set has_b_frames in codec init if we know everything alraedy.
This fixes some issues with the first few timestamps.

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

9 years agoMove extradata reading code into codec init instead of doing it
Michael Niedermayer [Tue, 23 Feb 2010 01:07:39 +0000 (01:07 +0000)]
Move extradata reading code into codec init instead of doing it
in read frame.

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

9 years agoPrefix non-static RTSP functions with ff_.
Ronald S. Bultje [Tue, 23 Feb 2010 00:35:50 +0000 (00:35 +0000)]
Prefix non-static RTSP functions with ff_.

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

9 years agoMake -benchmark also print the maximum memory usage if possible.
Reimar Döffinger [Mon, 22 Feb 2010 22:21:58 +0000 (22:21 +0000)]
Make -benchmark also print the maximum memory usage if possible.

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

9 years agoMake sure mp1/mp2 get their frame_size set.
Michael Niedermayer [Mon, 22 Feb 2010 22:05:20 +0000 (22:05 +0000)]
Make sure mp1/mp2 get their frame_size set.
Fixes issue1696

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

9 years agoAdd an RTSP muxer
Martin Storsjö [Mon, 22 Feb 2010 21:28:19 +0000 (21:28 +0000)]
Add an RTSP muxer

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

9 years agoFree metadata in chained RTP muxers in the RTSP muxer
Martin Storsjö [Mon, 22 Feb 2010 21:20:30 +0000 (21:20 +0000)]
Free metadata in chained RTP muxers in the RTSP muxer

This fixes a minor memory leak

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

9 years agoCosmetics: reindent
Martin Storsjö [Mon, 22 Feb 2010 19:47:22 +0000 (19:47 +0000)]
Cosmetics: reindent

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

9 years agoAdd declarations and doxygen documentation of generic rtsp support functions
Martin Storsjö [Mon, 22 Feb 2010 19:44:08 +0000 (19:44 +0000)]
Add declarations and doxygen documentation of generic rtsp support functions
to rtsp.h, and make the functions non-static

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

9 years agoCosmetics: reindent after applying patches
Martin Storsjö [Mon, 22 Feb 2010 16:11:38 +0000 (16:11 +0000)]
Cosmetics: reindent after applying patches

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

9 years agoDon't follow RTSP redirects when used as a muxer
Martin Storsjö [Mon, 22 Feb 2010 15:57:40 +0000 (15:57 +0000)]
Don't follow RTSP redirects when used as a muxer

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

9 years agoAdd a function rtsp_setup_output_streams for announcing the SDP
Martin Storsjö [Mon, 22 Feb 2010 15:56:18 +0000 (15:56 +0000)]
Add a function rtsp_setup_output_streams for announcing the SDP
and setting up the internal RTSPStream data structures when using
the RTSP code in muxer mode.

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

9 years agoCreate AVFormatContext objects as private transport for output RTSP sessions
Martin Storsjö [Mon, 22 Feb 2010 15:46:56 +0000 (15:46 +0000)]
Create AVFormatContext objects as private transport for output RTSP sessions

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

9 years agoMake Bink decoder able to skip alpha plane
Kostya Shishkov [Mon, 22 Feb 2010 14:59:51 +0000 (14:59 +0000)]
Make Bink decoder able to skip alpha plane

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

9 years agoMacroblock and block Huffman code sets are to be used by both Indeo 4 and
Kostya Shishkov [Mon, 22 Feb 2010 13:51:32 +0000 (13:51 +0000)]
Macroblock and block Huffman code sets are to be used by both Indeo 4 and
Indeo 5, so make them global and move their initialization to the common place
as well. And fix static VLC initialization, as ff_ivi_create_huff_from_desc()
used old way to do so.

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

9 years agoMake Bink decoder to stop decoding planes after all bits are used.
Kostya Shishkov [Mon, 22 Feb 2010 12:35:12 +0000 (12:35 +0000)]
Make Bink decoder to stop decoding planes after all bits are used.
This prevents crashes during decoding grayscale Bink files like
samples from Impossible Creatures game demo.

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

9 years agoMake opt_default() print an error message and exit if the option
Stefano Sabatini [Mon, 22 Feb 2010 12:28:51 +0000 (12:28 +0000)]
Make opt_default() print an error message and exit if the option
supplied is not recognized.

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

9 years agoCorrect bundle lengths calculation for small Bink files.
Kostya Shishkov [Mon, 22 Feb 2010 12:20:49 +0000 (12:20 +0000)]
Correct bundle lengths calculation for small Bink files.
This fixes issue 1764.

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

9 years agoARM: NEON scalarproduct_int16 and scalarproduct_and_madd_int16
Kostya Shishkov [Mon, 22 Feb 2010 12:20:31 +0000 (12:20 +0000)]
ARM: NEON scalarproduct_int16 and scalarproduct_and_madd_int16

Patch by Kostya, minor fixes by me.

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

9 years agoMake sure a set r_frame_rate is not overriden by a guess.
Michael Niedermayer [Mon, 22 Feb 2010 10:19:46 +0000 (10:19 +0000)]
Make sure a set r_frame_rate is not overriden by a guess.
Also make sure we dont waste time in this case with collecting timestamps.

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

9 years agoFix compilation for --enable-version3 --enable-libopencore_amrwb (only).
Carl Eugen Hoyos [Mon, 22 Feb 2010 09:47:12 +0000 (09:47 +0000)]
Fix compilation for --enable-version3 --enable-libopencore_amrwb (only).

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

9 years agoAttempt to fix the completely random values returned by ff_avc_find_startcode().
Michael Niedermayer [Mon, 22 Feb 2010 00:34:27 +0000 (00:34 +0000)]
Attempt to fix the completely random values returned by ff_avc_find_startcode().

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

9 years agoRevert "Suppress icc warnings about unknown attributes"
Måns Rullgård [Mon, 22 Feb 2010 00:34:12 +0000 (00:34 +0000)]
Revert "Suppress icc warnings about unknown attributes"

This reverts r21884.  Apparently people want those warnings.

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

9 years agoARM: change argument/return type of bswap_16() to unsigned 32-bit
Måns Rullgård [Mon, 22 Feb 2010 00:34:08 +0000 (00:34 +0000)]
ARM: change argument/return type of bswap_16() to unsigned 32-bit

This avoids unnecessary masking otherwise added by the compilers.

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

9 years agoARM: add missing preserve8 directives
Måns Rullgård [Mon, 22 Feb 2010 00:34:05 +0000 (00:34 +0000)]
ARM: add missing preserve8 directives

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

9 years agoget/show_bits() can read up to MIN_CACHE_BITS bits
Måns Rullgård [Sun, 21 Feb 2010 23:28:24 +0000 (23:28 +0000)]
get/show_bits() can read up to MIN_CACHE_BITS bits

The limit for get/show_bits_long() to use get/show_bits() directly
should be MIN_CACHE_BITS, not 17.

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

9 years agoSuppress armcc warnings about unknown attributes
Måns Rullgård [Sun, 21 Feb 2010 23:28:20 +0000 (23:28 +0000)]
Suppress armcc warnings about unknown attributes

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

9 years agoFix timestamp association for mpeg2 field pictures.
Michael Niedermayer [Sun, 21 Feb 2010 23:22:51 +0000 (23:22 +0000)]
Fix timestamp association for mpeg2 field pictures.
Fixes /MPlayer/incoming/codec_copy_fails_vob_to_mpeg-ts/codec_copy_fails_vob_to_mpeg-ts.vob

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

9 years agoDeobfuscate LE SHOW_[SU]BITS; these are simple sign/zero-extend
Måns Rullgård [Sun, 21 Feb 2010 21:48:40 +0000 (21:48 +0000)]
Deobfuscate LE SHOW_[SU]BITS; these are simple sign/zero-extend

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

9 years agoAdd zero_extend() function
Måns Rullgård [Sun, 21 Feb 2010 21:48:37 +0000 (21:48 +0000)]
Add zero_extend() function

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

9 years agoMore accurate value for log2(10)
Måns Rullgård [Sun, 21 Feb 2010 20:47:10 +0000 (20:47 +0000)]
More accurate value for log2(10)

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

9 years agoRemove unused variable mb_xy.
avcoder [Sun, 21 Feb 2010 19:32:47 +0000 (19:32 +0000)]
Remove unused variable mb_xy.

Patch by avcoder, ffmpeg gmail

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

9 years agoAdd support to an option -f which forces the format to use for opening
Stefano Sabatini [Sun, 21 Feb 2010 18:33:24 +0000 (18:33 +0000)]
Add support to an option -f which forces the format to use for opening
the probed multimedia resource.

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

9 years agoAMR-NB floating-point based decoder.
Vitor Sessak [Sun, 21 Feb 2010 18:01:56 +0000 (18:01 +0000)]
AMR-NB floating-point based decoder.

Code produced during SoC by Robert Swain and Colin McQuillan.

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

9 years agoAvoid using log2, it is not available everywhere.
Reimar Döffinger [Sun, 21 Feb 2010 16:24:05 +0000 (16:24 +0000)]
Avoid using log2, it is not available everywhere.
Should fix compilation on FreeBSD.

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

9 years agoRemove unused variable, fixes warnings of the type:
Diego Biurrun [Sun, 21 Feb 2010 15:29:17 +0000 (15:29 +0000)]
Remove unused variable, fixes warnings of the type:
libavcodec/h264.h:816: warning: unused variable `mb_xy'

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

9 years agoindent
Måns Rullgård [Sun, 21 Feb 2010 15:11:59 +0000 (15:11 +0000)]
indent

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

9 years agoAvoid negative shifts in build_table()
Måns Rullgård [Sun, 21 Feb 2010 15:11:57 +0000 (15:11 +0000)]
Avoid negative shifts in build_table()

A shift by a negative amount has undefined behaviour.  Even though
the result of this shift is never used, the shift itself could
cause an exception of some kind.

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

9 years agoFix memory leak for truncated packets in idCin demuxer
Vitor Sessak [Sun, 21 Feb 2010 14:41:39 +0000 (14:41 +0000)]
Fix memory leak for truncated packets in idCin demuxer

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

9 years agoBink video decoder
Kostya Shishkov [Sun, 21 Feb 2010 13:28:46 +0000 (13:28 +0000)]
Bink video decoder

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

9 years agoAdd FFprobe tool.
Stefano Sabatini [Sun, 21 Feb 2010 11:43:01 +0000 (11:43 +0000)]
Add FFprobe tool.

This is a simplified / cleaned-up version of the SourceForge program:
http://sourceforge.net/projects/ffprobe/

Syntax / features may be different, in particular the options
-show_packets and -show_frames are not yet supported in this version.

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

9 years agoUse the official FFmpeg spelling: "ffmpeg" -> "FFmpeg".
Stefano Sabatini [Sun, 21 Feb 2010 11:35:17 +0000 (11:35 +0000)]
Use the official FFmpeg spelling: "ffmpeg" -> "FFmpeg".

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

9 years agoPut all the options shared amongst the ff* tools under a dedicated
Stefano Sabatini [Sun, 21 Feb 2010 10:56:38 +0000 (10:56 +0000)]
Put all the options shared amongst the ff* tools under a dedicated
section "Generic options".

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

9 years agoIndent.
Ramiro Polla [Sun, 21 Feb 2010 03:23:30 +0000 (03:23 +0000)]
Indent.

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

9 years agoVC1: fix missing include h263.h
Måns Rullgård [Sun, 21 Feb 2010 02:46:44 +0000 (02:46 +0000)]
VC1: fix missing include h263.h

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

9 years agoSimplify determing whether fragments are coded
David Conrad [Sun, 21 Feb 2010 00:11:01 +0000 (00:11 +0000)]
Simplify determing whether fragments are coded

No measurable speed difference

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

9 years agoHandle Theora's continued runs in superblock coding.
David Conrad [Sun, 21 Feb 2010 00:10:58 +0000 (00:10 +0000)]
Handle Theora's continued runs in superblock coding.

This doesn't really matter yet since 4:2:0 1080p has only 3060 superblocks,
but larger resolutions or 4:4:4 1080p could hit this case.

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

9 years agoDecode fully coded superblocks in the same manner as partial superblocks and qpi
David Conrad [Sun, 21 Feb 2010 00:10:54 +0000 (00:10 +0000)]
Decode fully coded superblocks in the same manner as partial superblocks and qpi

No speed difference, but it will simplify the special 4129 case.

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

9 years agoMake the special 4129 case for long-run bit strings a #define and explain it
David Conrad [Sun, 21 Feb 2010 00:10:51 +0000 (00:10 +0000)]
Make the special 4129 case for long-run bit strings a #define and explain it

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

9 years agoUse memset to set the runs partially coded superblocks
David Conrad [Sun, 21 Feb 2010 00:10:47 +0000 (00:10 +0000)]
Use memset to set the runs partially coded superblocks

Much faster for long runs (e.g. nearly uncoded frames), slightly faster
for the general case.

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

9 years agoMake sure we dont write more bytes into filename than the array is long.
Michael Niedermayer [Sat, 20 Feb 2010 22:57:23 +0000 (22:57 +0000)]
Make sure we dont write more bytes into filename than the array is long.
just a precaution in case the size of the source array is increased or
made dynamically allocateable.

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

9 years agoDo not attempt to open references through absolute pathes.
Michael Niedermayer [Sat, 20 Feb 2010 22:48:09 +0000 (22:48 +0000)]
Do not attempt to open references through absolute pathes.
This would allow an attacker to test remotely if a local file exists.

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

9 years agoReplace log2f(10) with a constant
Måns Rullgård [Sat, 20 Feb 2010 20:13:48 +0000 (20:13 +0000)]
Replace log2f(10) with a constant

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

9 years agoFree encoder extradata in avcodec_close(). Should fix several small memory
Vitor Sessak [Sat, 20 Feb 2010 18:28:11 +0000 (18:28 +0000)]
Free encoder extradata in avcodec_close(). Should fix several small memory
leaks when encoding (at least for asv, wma and aac).

Fix also issue 1577.

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

9 years agoAdd casts to correct return type in macros for missing libm funcs
Måns Rullgård [Sat, 20 Feb 2010 16:02:48 +0000 (16:02 +0000)]
Add casts to correct return type in macros for missing libm funcs

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

9 years agox86_fft.o depends on MMX and FFT.
Ramiro Polla [Sat, 20 Feb 2010 15:39:27 +0000 (15:39 +0000)]
x86_fft.o depends on MMX and FFT.

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

9 years agoDelete avconfig.h on distclean
Måns Rullgård [Sat, 20 Feb 2010 13:19:34 +0000 (13:19 +0000)]
Delete avconfig.h on distclean

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

9 years agoDelete all test related files in testclean rule
Måns Rullgård [Sat, 20 Feb 2010 13:19:29 +0000 (13:19 +0000)]
Delete all test related files in testclean rule

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

9 years agoremove tables of codebook vector values which are contained in
Stefan Gehrer [Sat, 20 Feb 2010 12:32:30 +0000 (12:32 +0000)]
remove tables of codebook vector values which are contained in
another table

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

9 years agoGcc attribute may_alias is not supported (or silently ignored) by all supported compi...
Carl Eugen Hoyos [Sat, 20 Feb 2010 12:22:24 +0000 (12:22 +0000)]
Gcc attribute may_alias is not supported (or silently ignored) by all supported compilers.

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

9 years agoDo not leave uninitialized data in the packet in MPC demuxer. Should allow for
Vitor Sessak [Sat, 20 Feb 2010 11:22:47 +0000 (11:22 +0000)]
Do not leave uninitialized data in the packet in MPC demuxer. Should allow for
adding a demuxer test to FATE.

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

9 years agoSplit rtsp_read_header() into two functions, so that the main part (now also
Martin Storsjö [Fri, 19 Feb 2010 23:23:40 +0000 (23:23 +0000)]
Split rtsp_read_header() into two functions, so that the main part (now also
known as rtsp_connect()) can be used in the RTSP muxer.

Patch by Martin Storsjö <$firstname $firstname st>.

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

9 years agoSplit out input-specific parts of rtsp_read_header() into its own, new,
Martin Storsjö [Fri, 19 Feb 2010 23:21:44 +0000 (23:21 +0000)]
Split out input-specific parts of rtsp_read_header() into its own, new,
function (rtsp_setup_input_streams()), as preparation for the upcoming
RTSP muxer.

Patch by Martin Storsjö <$firstname $firstname st>.

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

9 years agoOnly send out NAT-punching RTP/RTCP packets when we're in demuxer mode, i.e.
Martin Storsjö [Fri, 19 Feb 2010 23:13:21 +0000 (23:13 +0000)]
Only send out NAT-punching RTP/RTCP packets when we're in demuxer mode, i.e.
don't send them when acting as a RTSP muxer.

Patch by Martin Storsjö <$firstname $firstname st>.

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

9 years agoUse mode=receive instead of mode=play if in RTSP muxer (instead of demuxer)
Martin Storsjö [Fri, 19 Feb 2010 23:11:59 +0000 (23:11 +0000)]
Use mode=receive instead of mode=play if in RTSP muxer (instead of demuxer)
mode.

Patch by Martin Storsjö <$firstname $firstname st>.

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

9 years agoMake rtsp_close_streams() take a AVFormatContext instead of a RTSPState
Martin Storsjö [Fri, 19 Feb 2010 23:10:19 +0000 (23:10 +0000)]
Make rtsp_close_streams() take a AVFormatContext instead of a RTSPState
argument, so we can use AVFormatContext->* here in the future.

Patch by Martin Storsjö <$firstname $firstname st>.

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

9 years ago16l trocadero: don't forget to free frame data buffer in APE decoder
Kostya Shishkov [Fri, 19 Feb 2010 22:23:55 +0000 (22:23 +0000)]
16l trocadero: don't forget to free frame data buffer in APE decoder

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

9 years agoWavPack demuxer also depends on APE tag parser
Kostya Shishkov [Fri, 19 Feb 2010 22:13:19 +0000 (22:13 +0000)]
WavPack demuxer also depends on APE tag parser

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

9 years agoMake Bink demuxer skip all zero audio tracks, not only the first one
Kostya Shishkov [Fri, 19 Feb 2010 22:10:04 +0000 (22:10 +0000)]
Make Bink demuxer skip all zero audio tracks, not only the first one

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

9 years agomsmpeg4v* encoders depend on h263dec
Daniel Verkamp [Fri, 19 Feb 2010 21:34:50 +0000 (21:34 +0000)]
msmpeg4v* encoders depend on h263dec

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

9 years agoDeclare WMV1 decoder dependencies
Daniel Verkamp [Fri, 19 Feb 2010 21:21:04 +0000 (21:21 +0000)]
Declare WMV1 decoder dependencies

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

9 years agoAEA demuxer requires raw.o for pcm_read_seek
Daniel Verkamp [Fri, 19 Feb 2010 21:12:46 +0000 (21:12 +0000)]
AEA demuxer requires raw.o for pcm_read_seek

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

9 years agoDeclare CAF demuxer dependency on mpegaudio
Daniel Verkamp [Fri, 19 Feb 2010 21:07:46 +0000 (21:07 +0000)]
Declare CAF demuxer dependency on mpegaudio

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

9 years agoFix compilation of binkaudio_rdft when dct is disabled
Daniel Verkamp [Fri, 19 Feb 2010 20:51:12 +0000 (20:51 +0000)]
Fix compilation of binkaudio_rdft when dct is disabled

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

9 years agoremove a Huffman table from WMA which also exists in AAC
Stefan Gehrer [Fri, 19 Feb 2010 20:42:55 +0000 (20:42 +0000)]
remove a Huffman table from WMA which also exists in AAC

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

9 years agoFix memory leak for truncated frames
Vitor Sessak [Fri, 19 Feb 2010 20:20:17 +0000 (20:20 +0000)]
Fix memory leak for truncated frames

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

9 years agoFix memory leak for truncated frames
Vitor Sessak [Fri, 19 Feb 2010 20:19:41 +0000 (20:19 +0000)]
Fix memory leak for truncated frames

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

9 years agoRemove stale function declaration.
Martin Storsjö [Fri, 19 Feb 2010 17:26:33 +0000 (17:26 +0000)]
Remove stale function declaration.

Patch by Martin Storsjö <$firstname $firstname st>.

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

9 years agoAdd missing dependency of TwinVQ
Vitor Sessak [Fri, 19 Feb 2010 17:23:00 +0000 (17:23 +0000)]
Add missing dependency of TwinVQ

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

9 years agoremove ivi5_scans8x8[0], it duplicates ff_zigzag_direct
Stefan Gehrer [Fri, 19 Feb 2010 17:17:20 +0000 (17:17 +0000)]
remove ivi5_scans8x8[0], it duplicates ff_zigzag_direct

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

9 years agoRename RTSP_STATE_PLAYING to _STREAMING, since that better covers the
Martin Storsjö [Fri, 19 Feb 2010 16:26:21 +0000 (16:26 +0000)]
Rename RTSP_STATE_PLAYING to _STREAMING, since that better covers the
future use of the rtsp* codebase for RTSP muxing.

Patch by Martin Storsjö <$firstname $firstname st>.

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

9 years agocosmetics: reindent after last commit
Kostya Shishkov [Fri, 19 Feb 2010 14:06:12 +0000 (14:06 +0000)]
cosmetics: reindent after last commit

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

9 years agoSince WavPack chunk can contain more samples than FFmpeg is guaranteed to
Kostya Shishkov [Fri, 19 Feb 2010 14:05:41 +0000 (14:05 +0000)]
Since WavPack chunk can contain more samples than FFmpeg is guaranteed to
hold, decode it in several iterations outputting as many samples as possible.

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