ffmpeg.git
10 years agoadd myself to gpg fingerprint list
Reinhard Tartler [Sat, 27 Feb 2010 10:11:23 +0000 (10:11 +0000)]
add myself to gpg fingerprint list

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

10 years agosort() names in PGP/GPG fingerprint list
Diego Biurrun [Sat, 27 Feb 2010 10:10:58 +0000 (10:10 +0000)]
sort() names in PGP/GPG fingerprint list

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

10 years agoMerge h->slice_table[left_xy[0/1] ] checks, 4 cpu cycles speedup
Michael Niedermayer [Sat, 27 Feb 2010 04:09:48 +0000 (04:09 +0000)]
Merge h->slice_table[left_xy[0/1] ] checks, 4 cpu cycles speedup

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

10 years agoSplit *_type setting up, 4 cpu cycles faster.
Michael Niedermayer [Sat, 27 Feb 2010 03:46:16 +0000 (03:46 +0000)]
Split *_type setting up, 4 cpu cycles faster.

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

10 years agoOptimize (amvd>2)+(amvd>32), about 1 cpu cycles faster.
Zhou Zongyi [Fri, 26 Feb 2010 22:45:35 +0000 (22:45 +0000)]
Optimize (amvd>2)+(amvd>32), about 1 cpu cycles faster.
patch by Zhou Zongyi @ zhouzy () os punkt pku dot edu speck cn

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

10 years agoFixed a segfault in the DCA decoder with corrupted streams.
Laurent Aimar [Fri, 26 Feb 2010 18:50:01 +0000 (18:50 +0000)]
Fixed a segfault in the DCA decoder with corrupted streams.

 It happens when the number of channels defined by DCAContext:acmod is lower
than DCAContext:prim_channels. In this case, dca_subsubframe() will call
qmf_32_subbands() using s->channel_order_tab[] entries equal to -1.

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

10 years agoDo not read beyond end of input in EA-TGV. This should avoid FATE test #362
Vitor Sessak [Fri, 26 Feb 2010 18:12:27 +0000 (18:12 +0000)]
Do not read beyond end of input in EA-TGV. This should avoid FATE test #362
result depending on uninitialized data.

FATE result may change for this test.

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

10 years agoRTSP muxer: Use a local copy of the AVPacket for sending to the chained muxer
Martin Storsjö [Fri, 26 Feb 2010 16:21:56 +0000 (16:21 +0000)]
RTSP muxer: Use a local copy of the AVPacket for sending to the chained muxer

This way, we avoid overwriting stream_index in the user's AVPacket
with a nonsense value.

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

10 years agoOnly load the topleft mv/ref when the topright is unavailable.
Michael Niedermayer [Fri, 26 Feb 2010 15:26:11 +0000 (15:26 +0000)]
Only load the topleft mv/ref when the topright is unavailable.
8 cpu cycles faster.

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

10 years agoRemove some useless operations from the code setting left_cbp.
Michael Niedermayer [Fri, 26 Feb 2010 15:03:00 +0000 (15:03 +0000)]
Remove some useless operations from the code setting left_cbp.
maybe 0.5 cpu cycles faster

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

10 years agoPrevent overflow of start_time + recording_time.
Francesco Cosoleto [Fri, 26 Feb 2010 14:46:20 +0000 (14:46 +0000)]
Prevent overflow of start_time + recording_time.
Patch by Francesco Cosoleto gmail($name)

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

10 years agoAdd myself as maintainer of the bink demuxer and bink audio decoder
Peter Ross [Fri, 26 Feb 2010 11:51:17 +0000 (11:51 +0000)]
Add myself as maintainer of the bink demuxer and bink audio decoder

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

10 years agoSimplify code to set cbp_*
Michael Niedermayer [Fri, 26 Feb 2010 09:13:40 +0000 (09:13 +0000)]
Simplify code to set cbp_*
this seems 1 cpu cycle slower even though we practically just remove code.
Speed loss seems caused by the merge of if(left_type), iam commiting this
anyway as i cant imagine this to be anything but compiler messup.

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

10 years agoFix typos in ref_index documentation.
Benoit Fouet [Fri, 26 Feb 2010 08:55:43 +0000 (08:55 +0000)]
Fix typos in ref_index documentation.

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

10 years agoMove init of right side of ref_cache from fill_caches() to init_the_darn_decoder().
Michael Niedermayer [Fri, 26 Feb 2010 03:27:52 +0000 (03:27 +0000)]
Move init of right side of ref_cache from fill_caches() to init_the_darn_decoder().

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

10 years agoRemove 3 mv_cache zeroing instructions that zeroed the right side.
Michael Niedermayer [Fri, 26 Feb 2010 02:54:03 +0000 (02:54 +0000)]
Remove 3 mv_cache zeroing instructions that zeroed the right side.
This seems unneeded as nothing seems to ever set it to non zero values.

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

10 years agoRemove useless check of the 2 left MBs of a pair being in the same slice.
Michael Niedermayer [Fri, 26 Feb 2010 01:38:12 +0000 (01:38 +0000)]
Remove useless check of the 2 left MBs of a pair being in the same slice.

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

10 years agoClarify ref_index.
Michael Niedermayer [Fri, 26 Feb 2010 00:51:26 +0000 (00:51 +0000)]
Clarify ref_index.

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

10 years agoRemove unneeded line of code from the neighbor setting code in h264.
Michael Niedermayer [Fri, 26 Feb 2010 00:10:35 +0000 (00:10 +0000)]
Remove unneeded line of code from the neighbor setting code in h264.

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

10 years agoSimplify code in mv_pred.
Michael Niedermayer [Fri, 26 Feb 2010 00:08:27 +0000 (00:08 +0000)]
Simplify code in mv_pred.
Not benchmarked as this is petty much just code removial.

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

10 years agoGet rid of mb2b8_xy and b8_stride, change arrays organized based on b8_stride to
Michael Niedermayer [Thu, 25 Feb 2010 23:44:42 +0000 (23:44 +0000)]
Get rid of mb2b8_xy and b8_stride, change arrays organized based on b8_stride to
ones based on mb_stride in h264.
about 20 cpu cycles faster overall per MB

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

10 years agoDisable suffix rules
Måns Rullgård [Thu, 25 Feb 2010 23:27:54 +0000 (23:27 +0000)]
Disable suffix rules

Most of the make builtin rules, which we do not need, are suffix rules,
and we use only new-style pattern rules.  Disabling suffix rules saves
some time when building on slow systems.

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

10 years agoRemove pointless empty line.
Stefano Sabatini [Thu, 25 Feb 2010 21:21:29 +0000 (21:21 +0000)]
Remove pointless empty line.

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

10 years agoApply consistency nit.
Stefano Sabatini [Thu, 25 Feb 2010 21:12:38 +0000 (21:12 +0000)]
Apply consistency nit.

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

10 years agoAdd the graph2dot tools and document it.
Stefano Sabatini [Thu, 25 Feb 2010 19:55:01 +0000 (19:55 +0000)]
Add the graph2dot tools and document it.

Also link avfiltergraph.o and graphparser.o against libavfilter, as it
uses them.

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

10 years agoReplace not anymore valid syntax "-title X" with "-metadata title=X".
Stefano Sabatini [Thu, 25 Feb 2010 19:38:54 +0000 (19:38 +0000)]
Replace not anymore valid syntax "-title X" with "-metadata title=X".

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

10 years agosvq3 now in working condition, at least vissually, ill let fate tell us
Michael Niedermayer [Thu, 25 Feb 2010 18:41:48 +0000 (18:41 +0000)]
svq3 now in working condition, at least vissually, ill let fate tell us
if the checksums match

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

10 years agofix compilation, sorry ive not checked cvslog for a while :(((
Michael Niedermayer [Thu, 25 Feb 2010 18:39:01 +0000 (18:39 +0000)]
fix compilation, sorry ive not checked cvslog for a while :(((
svq3 decoder does not work yet though but i didnt want to keep compilation
broken longer

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

10 years agoasfenc: write tags in proper UTF-16.
Anton Khirnov [Thu, 25 Feb 2010 16:59:55 +0000 (16:59 +0000)]
asfenc: write tags in proper UTF-16.
Patch by Anton Khirnov wyskas gmail com

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

10 years agoasfenc: simplify writing of comment header.
Anton Khirnov [Thu, 25 Feb 2010 16:50:26 +0000 (16:50 +0000)]
asfenc: simplify writing of comment header.
Patch by Anton Khirnov wyskas gmail com

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

10 years agoasfdec: don't strip the "WM/" prefix, this should be done during conversion.
Anton Khirnov [Thu, 25 Feb 2010 16:38:23 +0000 (16:38 +0000)]
asfdec: don't strip the "WM/" prefix, this should be done during conversion.
Patch by Anton Khirnov wyskas gmail com

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

10 years agoDont allocate direct_table 8 times too large.
Michael Niedermayer [Thu, 25 Feb 2010 15:29:12 +0000 (15:29 +0000)]
Dont allocate direct_table 8 times too  large.

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

10 years agoStore data in direct_table interleaved.
Michael Niedermayer [Thu, 25 Feb 2010 15:27:55 +0000 (15:27 +0000)]
Store data in direct_table interleaved.
seems 20cpu cycles faster

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

10 years agoSimplify intra4x4_pred_mode_cache init.
Michael Niedermayer [Thu, 25 Feb 2010 14:54:31 +0000 (14:54 +0000)]
Simplify intra4x4_pred_mode_cache init.

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

10 years agoReorder intra4x4_pred_mode so that we can read/write 4 values at once.
Michael Niedermayer [Thu, 25 Feb 2010 14:26:12 +0000 (14:26 +0000)]
Reorder intra4x4_pred_mode so that we can read/write 4 values at once.
3-7 cpu cycles faster

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

10 years agoStore intra4x4_pred_mode per row only.
Michael Niedermayer [Thu, 25 Feb 2010 14:02:39 +0000 (14:02 +0000)]
Store intra4x4_pred_mode per row only.
about 5 cpu cycles slower in the local code but should be overall faster
due to reduced cache use. (my sample though has too few intra4x4 blocks
for this to be meassureable easily either way)

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

10 years agounroll tiny and trivial loop. Same speed but clearer.
Michael Niedermayer [Thu, 25 Feb 2010 12:51:32 +0000 (12:51 +0000)]
unroll tiny and trivial loop. Same speed but clearer.

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

10 years agoasf: indent.
Benoit Fouet [Thu, 25 Feb 2010 09:10:37 +0000 (09:10 +0000)]
asf: indent.
Patch from Anton Khirnov wyskas gmail com

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

10 years agoasf: add more entries to metadata conv table.
Benoit Fouet [Thu, 25 Feb 2010 09:09:39 +0000 (09:09 +0000)]
asf: add more entries to metadata conv table.
Patch from Anton Khirnov wyskas gmail com

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

10 years agoCut the size of mvd_table by yet another factor of 2.
Michael Niedermayer [Thu, 25 Feb 2010 04:11:33 +0000 (04:11 +0000)]
Cut the size of mvd_table by yet another factor of 2.
The code read/write code itself was 1 cycle faster, overall its
likely more due to cache effects

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

10 years agoKeep mvd_table values of only 2 mb rows.
Michael Niedermayer [Thu, 25 Feb 2010 02:42:25 +0000 (02:42 +0000)]
Keep mvd_table values of only 2 mb rows.

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

10 years ago10l: add prefix "TAG:" to the metadata tags key showed for each stream.
Stefano Sabatini [Thu, 25 Feb 2010 00:16:43 +0000 (00:16 +0000)]
10l: add prefix "TAG:" to the metadata tags key showed for each stream.

This is consistent with the metadata displaying in show_format() and
with the documentation.

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

10 years agoCosmetics: replace "filename" to "arg" for the name of the argument of
Stefano Sabatini [Thu, 25 Feb 2010 00:05:01 +0000 (00:05 +0000)]
Cosmetics: replace "filename" to "arg" for the name of the argument of
opt_input_file(). More consistent and more clear, as "filename" can be
easily confused with the global "input_filename".

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

10 years agoaac: Keep decode_band_types() from eating all padding at the end of a buffer.
Alex Converse [Wed, 24 Feb 2010 23:56:52 +0000 (23:56 +0000)]
aac: Keep decode_band_types() from eating all padding at the end of a buffer.

Due to a shortcoming in the AAC specification, if an all zero buffer is
fed to section data decoding it will never terminate. That means without
a buffer exhaustion check decode_band_types() will consume all input
buffer padding. Worse if a get_bits() implementation that returns zeros
when padding is exhausted is used, the function will never terminate.

The fixes that by added a buffer exhaustion check in the sectioning
decoding loop.

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

10 years agoExtend doxy for the src parameter of av_fifo_generic_write().
Stefano Sabatini [Wed, 24 Feb 2010 23:52:52 +0000 (23:52 +0000)]
Extend doxy for the src parameter of av_fifo_generic_write().

@patchby Tomas Härdin |tomas dot hardin at codemill dot se|

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

10 years ago3rd and hopefully last 100l fix.
Michael Niedermayer [Wed, 24 Feb 2010 22:13:20 +0000 (22:13 +0000)]
3rd and hopefully last 100l fix.

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

10 years agoFix doxy and assert().
Michael Niedermayer [Wed, 24 Feb 2010 22:05:51 +0000 (22:05 +0000)]
Fix doxy and assert().

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

10 years agoTry to fix 100l compilation failure on some systems.
Michael Niedermayer [Wed, 24 Feb 2010 21:55:55 +0000 (21:55 +0000)]
Try to fix 100l compilation failure on some systems.

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

10 years agoChange mvd_cache & mvd_table to 8bit, this is overall a bit faster
Michael Niedermayer [Wed, 24 Feb 2010 20:43:06 +0000 (20:43 +0000)]
Change mvd_cache & mvd_table to 8bit, this is overall a bit faster
for high resolution videos.
about 20cycles faster per MB for cathederal.

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

10 years agoAV_COPY16() & AV_ZERO16()
Michael Niedermayer [Wed, 24 Feb 2010 20:38:31 +0000 (20:38 +0000)]
AV_COPY16() & AV_ZERO16()

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

10 years agoExtend fill_rectangle() support for 16bit
Michael Niedermayer [Wed, 24 Feb 2010 20:37:58 +0000 (20:37 +0000)]
Extend fill_rectangle() support for 16bit

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

10 years agoCalculate mvd without abs()
Michael Niedermayer [Wed, 24 Feb 2010 18:50:02 +0000 (18:50 +0000)]
Calculate mvd without abs()
same speed (ask gcc why, i dont know)

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

10 years agoRead ASF metadata as proper UTF-16 and spit it out as proper UTF-8 in our
Anton Khirnov [Wed, 24 Feb 2010 18:19:54 +0000 (18:19 +0000)]
Read ASF metadata as proper UTF-16 and spit it out as proper UTF-8 in our
metadata system.

Patch by Anton Khirnov <wyskas gmail com>.

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

10 years agoDon't add WM prefixes to all written ASF tags.
Anton Khirnov [Wed, 24 Feb 2010 18:17:32 +0000 (18:17 +0000)]
Don't add WM prefixes to all written ASF tags.

Patch by Anton Khirnov <wyskas gmail com>.

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

10 years agoswitch back to (amvd>2)+(amvd>32), its 5 cpu cycles faster now.
Michael Niedermayer [Wed, 24 Feb 2010 18:16:48 +0000 (18:16 +0000)]
switch back to (amvd>2)+(amvd>32), its 5 cpu cycles faster now.

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

10 years agoEliminate put_str16().
Anton Khirnov [Wed, 24 Feb 2010 18:09:49 +0000 (18:09 +0000)]
Eliminate put_str16().

Patch by Anton Khirnov <wyskas gmail com>.

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

10 years agoAdd PUT_UTF16() macro.
Anton Khirnov [Wed, 24 Feb 2010 18:08:30 +0000 (18:08 +0000)]
Add PUT_UTF16() macro.

Patch by Anton Khirnov <wyskas gmail com>.

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

10 years agoFactorize common code from the top of decode_cabac_mb_mvd()
Michael Niedermayer [Wed, 24 Feb 2010 18:06:02 +0000 (18:06 +0000)]
Factorize common code from the top of decode_cabac_mb_mvd()
10-15 cpu cycles faster.

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

10 years agoMention that metadata tags are (unvalidated) UTF-8.
Anton Khirnov [Wed, 24 Feb 2010 18:01:44 +0000 (18:01 +0000)]
Mention that metadata tags are (unvalidated) UTF-8.

Patch by Anton Khirnov <wyskas gmail com>.

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

10 years agoReplace mvd>2 + mvd>32 by MIN((mvd+28)*17>>9, 2)
Michael Niedermayer [Wed, 24 Feb 2010 16:16:08 +0000 (16:16 +0000)]
Replace mvd>2 + mvd>32 by MIN((mvd+28)*17>>9, 2)
same speed as far as i can meassure but it might have fewer branches on some
archs.
Idea from x264 / jason

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

10 years agoClear freed pointer in ffplay.c.
Ramiro Polla [Wed, 24 Feb 2010 14:45:18 +0000 (14:45 +0000)]
Clear freed pointer in ffplay.c.
Fixes a crash when audio stream is cycled twice.

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

10 years agoReplace ad-hoc fill rectangle by fill_rectangle().
Michael Niedermayer [Wed, 24 Feb 2010 13:12:09 +0000 (13:12 +0000)]
Replace ad-hoc fill rectangle by fill_rectangle().

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

10 years agoff_msmpeg4_decode_init() calls ff_h263_decode_init() which calls
Kostya Shishkov [Wed, 24 Feb 2010 13:11:38 +0000 (13:11 +0000)]
ff_msmpeg4_decode_init() calls ff_h263_decode_init() which calls
MPV_common_init(), so calling both is redundant and leads to memory
leaks in WMV3/VC-1 decoder. Thus use only the first function in
WMV3/VC-1 decoder initialization.

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

10 years agoit is not necessary to display the decoder name, as av_log() automatically prints...
Peter Ross [Wed, 24 Feb 2010 11:51:42 +0000 (11:51 +0000)]
it is not necessary to display the decoder name, as av_log() automatically prints the context

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

10 years agolow-complexity Bink file seeking
Peter Ross [Wed, 24 Feb 2010 11:43:33 +0000 (11:43 +0000)]
low-complexity Bink file seeking

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

10 years agoset AVINDEX_KEYFRAME correctly for bink
Peter Ross [Wed, 24 Feb 2010 11:30:38 +0000 (11:30 +0000)]
set AVINDEX_KEYFRAME correctly for bink

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

10 years agoCorrectly increment continuity_counter in PCR packets.
Yann Coupin [Wed, 24 Feb 2010 10:56:13 +0000 (10:56 +0000)]
Correctly increment continuity_counter in PCR packets.

Patch by Yann Coupin, yann.coupin+ffmpeg gmail

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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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