ffmpeg.git
9 years agoasfdec: skip byte array tags.
Benoit Fouet [Wed, 24 Feb 2010 07:34:12 +0000 (07:34 +0000)]
asfdec: skip byte array tags.
Patch from Anton Khirnov wyskas gmail

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

9 years agoasfdec: add a debug message about skipped tags.
Benoit Fouet [Wed, 24 Feb 2010 07:33:18 +0000 (07:33 +0000)]
asfdec: add a debug message about skipped tags.
Patch from Anton Khirnov wyskas gmail

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

9 years agoasfdec: fix a memleak.
Benoit Fouet [Wed, 24 Feb 2010 07:32:20 +0000 (07:32 +0000)]
asfdec: fix a memleak.
Patch from Anton Khirnov wyskas gmail

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

9 years agoasfdec: only unicode tags must have even length.
Benoit Fouet [Wed, 24 Feb 2010 07:31:03 +0000 (07:31 +0000)]
asfdec: only unicode tags must have even length.
Patch from: Anton Khirnov wyskas gmail

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

9 years agoIntroduce metadata conversion table for NUT muxer and demuxer.
Anton Khirnov [Wed, 24 Feb 2010 06:27:12 +0000 (06:27 +0000)]
Introduce metadata conversion table for NUT muxer and demuxer.
Patch by Anton Khirnov (wyskas, do no evil mail)
Thread "[PATCH] nut metadata conversion table"

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

9 years agoFFprobe: take only one input file.
Ramiro Polla [Wed, 24 Feb 2010 06:14:59 +0000 (06:14 +0000)]
FFprobe: take only one input file.

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

9 years agoReplace /2 by faster >>1 as the mvd values are now all positive.
Michael Niedermayer [Wed, 24 Feb 2010 01:57:31 +0000 (01:57 +0000)]
Replace /2 by faster >>1 as the mvd values are now all positive.

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

9 years agoRemove unused variable. Seems i forgot to commit this.
Michael Niedermayer [Wed, 24 Feb 2010 01:56:27 +0000 (01:56 +0000)]
Remove unused variable. Seems i forgot to commit this.

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

9 years agoAttempt to fix issue1728 and regression of issue203
Michael Niedermayer [Tue, 23 Feb 2010 23:41:11 +0000 (23:41 +0000)]
Attempt to fix issue1728 and regression of issue203

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

9 years agoSet ist->pts to something that isnt guranteed to entangle itself with stream copying...
Michael Niedermayer [Tue, 23 Feb 2010 22:06:36 +0000 (22:06 +0000)]
Set ist->pts to something that isnt guranteed to entangle itself with stream copying b frames.

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

9 years agoAdd -Wmissing-prototypes to CFLAGS if available.
Diego Biurrun [Tue, 23 Feb 2010 21:03:25 +0000 (21:03 +0000)]
Add -Wmissing-prototypes to CFLAGS if available.

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

9 years agoAlso favor streams with more packets in ffplay.
Michael Niedermayer [Tue, 23 Feb 2010 17:35:44 +0000 (17:35 +0000)]
Also favor streams with more packets in ffplay.

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

9 years agoDont modify wanted_stream.
Michael Niedermayer [Tue, 23 Feb 2010 17:09:53 +0000 (17:09 +0000)]
Dont modify wanted_stream.

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

9 years agoreplace wanted_*_stream by wanted_stream[CODEC_TYPE]
Michael Niedermayer [Tue, 23 Feb 2010 16:56:23 +0000 (16:56 +0000)]
replace wanted_*_stream by wanted_stream[CODEC_TYPE]

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

9 years agomlp_parser: Fix memleak.
Jai Menon [Tue, 23 Feb 2010 16:54:05 +0000 (16:54 +0000)]
mlp_parser: Fix memleak.
ff_combine_frame() is called, which allocates ParseContext->buffer if needed,
so ff_parse_close() must be called to free it.
Patch by jai.

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

9 years agovfwcap: support MJPG compressed streams.
Nash Tsai [Tue, 23 Feb 2010 16:49:16 +0000 (16:49 +0000)]
vfwcap: support MJPG compressed streams.
Patch by Nash Tsai <nash dot tsai at gmail dot com>

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

9 years agoReorder buffer debug. Also print out if slice was buffered.
Ramiro Polla [Tue, 23 Feb 2010 16:46:43 +0000 (16:46 +0000)]
Reorder buffer debug. Also print out if slice was buffered.

Originally committed as revision 30722 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

9 years agoReplace *_index by st_index[codec_type].
Michael Niedermayer [Tue, 23 Feb 2010 16:46:40 +0000 (16:46 +0000)]
Replace *_index by st_index[codec_type].

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

9 years agoFavor streams with more packets if the user did not specify what she wants.
Michael Niedermayer [Tue, 23 Feb 2010 16:31:14 +0000 (16:31 +0000)]
Favor streams with more packets if the user did not specify what she wants.
Fixes issue1156

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

9 years agoCount all frames with codec_info_nb_frames not just ones with non zero
Michael Niedermayer [Tue, 23 Feb 2010 16:29:57 +0000 (16:29 +0000)]
Count all frames with codec_info_nb_frames not just ones with non zero
duration. I hope this breaks nothing. Its needed for my fix of issue1156

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

9 years agoCosmetics: break all Makefile lines at 80 columns or less
Daniel Verkamp [Tue, 23 Feb 2010 16:12:30 +0000 (16:12 +0000)]
Cosmetics: break all Makefile lines at 80 columns or less

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

9 years agoRedesign opt_programid code.
Michael Niedermayer [Tue, 23 Feb 2010 15:08:41 +0000 (15:08 +0000)]
Redesign opt_programid code.
Its now possible to also select programs per input file and there is
less code duplication.

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

9 years agoPut codec_info_nb_frames back in AVStream and print its value.
Michael Niedermayer [Tue, 23 Feb 2010 15:07:18 +0000 (15:07 +0000)]
Put codec_info_nb_frames back in AVStream and print its value.
This way streams with no or very few frames can be avoided during
auto selection

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

9 years agoClarify non constness of src in av_fifo_generic_write()
Michael Niedermayer [Tue, 23 Feb 2010 12:14:13 +0000 (12:14 +0000)]
Clarify non constness of src in av_fifo_generic_write()

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

9 years agoSet video stream duration for Bink demuxer
Peter Ross [Tue, 23 Feb 2010 11:15:18 +0000 (11:15 +0000)]
Set video stream duration for Bink demuxer

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

9 years agoCosmetics: reindent
Martin Storsjö [Tue, 23 Feb 2010 11:05:36 +0000 (11:05 +0000)]
Cosmetics: reindent

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

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