platform/upstream/libav.git
14 years agoMore ID3v1 genres from ffmbc.
Michael Niedermayer [Sun, 13 Dec 2009 20:51:38 +0000 (20:51 +0000)]
More ID3v1 genres from ffmbc.

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

14 years agoUse AV_METADATA_DONT_STRDUP* / use av_malloced metadata instead of strduped
Michael Niedermayer [Sun, 13 Dec 2009 20:27:29 +0000 (20:27 +0000)]
Use AV_METADATA_DONT_STRDUP* / use av_malloced metadata instead of strduped
arrays of fixed length.
Code from ffmbc with changes to adapt to our metadata API.

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

14 years agoadd av_metadata_set2(), AV_METADATA_DONT_STRDUP_KEY and AV_METADATA_DONT_STRDUP_VAL
Michael Niedermayer [Sun, 13 Dec 2009 20:24:19 +0000 (20:24 +0000)]
add av_metadata_set2(), AV_METADATA_DONT_STRDUP_KEY and AV_METADATA_DONT_STRDUP_VAL

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

14 years agoAdd flags to prevent strdup() on arguments to av_metadata_set2().
Michael Niedermayer [Sun, 13 Dec 2009 20:22:27 +0000 (20:22 +0000)]
Add flags to prevent strdup() on arguments to av_metadata_set2().
I cannot use the same ABI as ffmbc as value 2 is already used in ffmpeg,
besides the name AV_METADATA_NONCONST* makes no sense to me.
Add av_metadata_set2() that takes flags.

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

14 years agoUntil -DHAVE_AV_CONFIG_H is removed from ffplays compilation, *printf must be #undef.
Michael Niedermayer [Sun, 13 Dec 2009 18:46:29 +0000 (18:46 +0000)]
Until -DHAVE_AV_CONFIG_H is removed from ffplays compilation, *printf must be #undef.
Without this random changes to the header inclusion can trigger
linking failures, and these are not even picked up in some environments
(some fate machines didnt catch it).

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

14 years agoMove #include where it belongs.
Michael Niedermayer [Sun, 13 Dec 2009 18:42:39 +0000 (18:42 +0000)]
Move #include where it belongs.
This as a sideeffect fixes the linking failure of ffplay.

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

14 years agoGet rid of useless casts.
Michael Niedermayer [Sun, 13 Dec 2009 17:54:09 +0000 (17:54 +0000)]
Get rid of useless casts.

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

14 years agoAPIchanges update for av_d2str()
Michael Niedermayer [Sun, 13 Dec 2009 17:10:30 +0000 (17:10 +0000)]
APIchanges update for av_d2str()

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

14 years agoAdd a function to convert a number to a av_malloced string.
Michael Niedermayer [Sun, 13 Dec 2009 17:09:41 +0000 (17:09 +0000)]
Add a function to convert a number to a av_malloced string.

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

14 years agoPrint extradata in case of failure. I had this in my local tree and it
Michael Niedermayer [Sun, 13 Dec 2009 16:20:00 +0000 (16:20 +0000)]
Print extradata in case of failure. I had this in my local tree and it
might be usefull for others ...

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

14 years agoAPIChanges & minor bump due to avg_frame_rate addition.
Michael Niedermayer [Sun, 13 Dec 2009 15:55:07 +0000 (15:55 +0000)]
APIChanges & minor bump due to avg_frame_rate addition.

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

14 years agoAdd avg_frame_rate.
Michael Niedermayer [Sun, 13 Dec 2009 15:52:11 +0000 (15:52 +0000)]
Add avg_frame_rate.

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

14 years agoRead and decode block data in separate functions to prepare support for
Thilo Borgmann [Sun, 13 Dec 2009 15:40:26 +0000 (15:40 +0000)]
Read and decode block data in separate functions to prepare support for
multi-channel correlation mode.

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

14 years agoUse constant CODEC_ID_NONE instead of 0 where appropriate.
Carl Eugen Hoyos [Sun, 13 Dec 2009 15:28:00 +0000 (15:28 +0000)]
Use constant CODEC_ID_NONE instead of 0 where appropriate.

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

14 years agoRemove commented out code.
Michael Niedermayer [Sun, 13 Dec 2009 15:01:09 +0000 (15:01 +0000)]
Remove commented out code.

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

14 years agoShow help if no cmd line options are provided at all.
Michael Niedermayer [Sun, 13 Dec 2009 13:49:14 +0000 (13:49 +0000)]
Show help if no cmd line options are provided at all.
This safes the users time to find out which of -h --help -? works.

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

14 years agoFactor out extradata reading code.
Kostya Shishkov [Sun, 13 Dec 2009 10:07:08 +0000 (10:07 +0000)]
Factor out extradata reading code.
Borrowed from RM demuxer in FFmbc.

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

14 years agoRM audio stream version should be 16-bit followed by header size or reserved
Kostya Shishkov [Sun, 13 Dec 2009 09:08:58 +0000 (09:08 +0000)]
RM audio stream version should be 16-bit followed by header size or reserved
word, so treat it this way instead of extracting different parts from 32-bit
value.

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

14 years agoMake RM demuxer look more like proper demuxer by introducing codec tags
Kostya Shishkov [Sun, 13 Dec 2009 08:51:27 +0000 (08:51 +0000)]
Make RM demuxer look more like proper demuxer by introducing codec tags
instead of many strcmp() on always four-byte strings.
Idea borrowed from RM demuxer in FFmbc by Baptiste Coudurier.

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

14 years agoFactor out variable declaration
Kostya Shishkov [Sun, 13 Dec 2009 08:44:06 +0000 (08:44 +0000)]
Factor out variable declaration

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

14 years agoClarify comment: although still hacky, it is correct for existing libtheora
David Conrad [Sat, 12 Dec 2009 20:18:49 +0000 (20:18 +0000)]
Clarify comment: although still hacky, it is correct for existing libtheora

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

14 years agolibtheoraenc.c: mark keyframes
David Conrad [Sat, 12 Dec 2009 20:18:46 +0000 (20:18 +0000)]
libtheoraenc.c: mark keyframes

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

14 years agoFix PTS for OGM codecs.
David Conrad [Sat, 12 Dec 2009 20:18:43 +0000 (20:18 +0000)]
Fix PTS for OGM codecs.
Fixes issue251

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

14 years agoBe less picky on invalid frame_pred_frame_dct values.
Michael Niedermayer [Sat, 12 Dec 2009 19:44:01 +0000 (19:44 +0000)]
Be less picky on invalid frame_pred_frame_dct values.
Fixed issue1615.

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

14 years agoOnly list libavfilter filters if libavfilter has been enabled during
Stefano Sabatini [Sat, 12 Dec 2009 19:15:56 +0000 (19:15 +0000)]
Only list libavfilter filters if libavfilter has been enabled during
configuration.
Fix compilation if FFmpeg is not configured with --enable-avfilter.

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

14 years agoMove list_fmts() from ffmpeg.c to cmdutils.{h,c}, so that it can be
Stefano Sabatini [Sat, 12 Dec 2009 17:45:20 +0000 (17:45 +0000)]
Move list_fmts() from ffmpeg.c to cmdutils.{h,c}, so that it can be
shared by the other ff* tools code.

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

14 years agoAdd ROQ format regression test.
Reimar Döffinger [Sat, 12 Dec 2009 17:34:24 +0000 (17:34 +0000)]
Add ROQ format regression test.

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

14 years agoSVQ3 : Set avctx->pix_fmt correctly during decoder initialisation.
Jai Menon [Sat, 12 Dec 2009 17:10:05 +0000 (17:10 +0000)]
SVQ3 : Set avctx->pix_fmt correctly during decoder initialisation.
Fixes issue 1591.

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

14 years agoAdd an entry for the av_bmg_next() function addition.
Stefano Sabatini [Sat, 12 Dec 2009 16:28:59 +0000 (16:28 +0000)]
Add an entry for the av_bmg_next() function addition.

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

14 years agoImplement av_bmg_next(), a Box-Muller Gaussian random generator.
Stefano Sabatini [Sat, 12 Dec 2009 16:24:37 +0000 (16:24 +0000)]
Implement av_bmg_next(), a Box-Muller Gaussian random generator.

See the thread:
"[FFmpeg-devel] [PATCH] Box-Muller gaussian generator".

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

14 years agoImplement a -filters option, listing all the available libavfilter
Stefano Sabatini [Sat, 12 Dec 2009 16:18:11 +0000 (16:18 +0000)]
Implement a -filters option, listing all the available libavfilter
filters.
Currently filters are not registered, so the option will show none.

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

14 years agoReset pts_buffers in av_read_frame_flush().
John Stebbins [Sat, 12 Dec 2009 15:26:33 +0000 (15:26 +0000)]
Reset pts_buffers in av_read_frame_flush().

Patch by John Stebbins, jstebbins jetheaddev com

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

14 years agoCommit functions used by both AMRNB and SIPR
Vitor Sessak [Sat, 12 Dec 2009 13:58:07 +0000 (13:58 +0000)]
Commit functions used by both AMRNB and SIPR

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

14 years agoReduce the number of encoded frames for the dnxhd tests to 5.
Stefano Sabatini [Sat, 12 Dec 2009 13:52:19 +0000 (13:52 +0000)]
Reduce the number of encoded frames for the dnxhd tests to 5.
Significantly reduce codectest execution time.

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

14 years agoFail earlier for unsupported resolutions or pixel formats when encoding
Tomas Härdin [Fri, 11 Dec 2009 23:56:49 +0000 (23:56 +0000)]
Fail earlier for unsupported resolutions or pixel formats when encoding
dv.

Patch by Tomas Härdin, tomas D hardin A codemill D se

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

14 years agoindent
Michael Niedermayer [Fri, 11 Dec 2009 21:50:08 +0000 (21:50 +0000)]
indent

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

14 years agoMake sure av_new_packet() initializes the data and destruct pointers.
Michael Niedermayer [Fri, 11 Dec 2009 21:49:30 +0000 (21:49 +0000)]
Make sure av_new_packet() initializes the data and destruct pointers.
Some code does call av_free_packet() on failed av_new_packets(), this
prevents the freeing of uninitialized pointers.

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

14 years agoMake parse_filter() parsing more robust.
Stefano Sabatini [Fri, 11 Dec 2009 20:02:10 +0000 (20:02 +0000)]
Make parse_filter() parsing more robust.

Add ';' and '\n' to the terminating characters for the name of a
filter, and ';' to the terminating characters for its args.

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

14 years agoDump RTMP packet contents in debug mode
Kostya Shishkov [Fri, 11 Dec 2009 17:13:35 +0000 (17:13 +0000)]
Dump RTMP packet contents in debug mode

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

14 years ago5l trocadero: don't forget to free packet in gen_connect()
Martin Storsjö [Fri, 11 Dec 2009 15:31:58 +0000 (15:31 +0000)]
5l trocadero: don't forget to free packet in gen_connect()
Patch by Martin Storsjö ($name at $name dot `abbreviation for "street"`)

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

14 years agoDo not try to interact with RTMP server after "stop" command was received.
Martin Storsjö [Fri, 11 Dec 2009 11:37:21 +0000 (11:37 +0000)]
Do not try to interact with RTMP server after "stop" command was received.
Patch by Martin Storsjö ($name at $name dot `Sao Tome and Principe domain`)

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

14 years ago(Partly) support Metasoft MJPEG Codec, fixes half of issue 1611.
Carl Eugen Hoyos [Thu, 10 Dec 2009 23:06:23 +0000 (23:06 +0000)]
(Partly) support Metasoft MJPEG Codec, fixes half of issue 1611.

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

14 years agoSupport Etymonix MPEG-2 video codec, fixes issue 1603.
Carl Eugen Hoyos [Thu, 10 Dec 2009 22:38:49 +0000 (22:38 +0000)]
Support Etymonix MPEG-2 video codec, fixes issue 1603.

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

14 years agoDo not print 'faac:' when using libfaad.
Carl Eugen Hoyos [Thu, 10 Dec 2009 22:29:21 +0000 (22:29 +0000)]
Do not print 'faac:' when using libfaad.

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

14 years agoCosmetic (restructure RGB ljpeg check to be more readable)
Michael Niedermayer [Thu, 10 Dec 2009 20:05:04 +0000 (20:05 +0000)]
Cosmetic (restructure RGB ljpeg check to be more readable)

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

14 years ago10l, Fix YUV ljpeg that i just broke by mistake.
Michael Niedermayer [Thu, 10 Dec 2009 19:41:47 +0000 (19:41 +0000)]
10l, Fix YUV ljpeg that i just broke by mistake.

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

14 years agoCorrect a forgotten RGB32.
Michael Niedermayer [Thu, 10 Dec 2009 19:40:15 +0000 (19:40 +0000)]
Correct a forgotten RGB32.

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

14 years agoFlip red and blue in rct-less lossless jpeg.
Michael Niedermayer [Thu, 10 Dec 2009 18:18:57 +0000 (18:18 +0000)]
Flip red and blue in rct-less lossless jpeg.
Fixes issue1466, and decoding of plain lossless jpeg.

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

14 years agoLossless jpeg expects and uses BGRA not RGB32 (this probably caused a problem on
Michael Niedermayer [Thu, 10 Dec 2009 18:14:26 +0000 (18:14 +0000)]
Lossless jpeg expects and uses BGRA not RGB32 (this probably caused a problem on
big endian)

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

14 years agoFix RGB LJPEG encoding.
Michael Niedermayer [Thu, 10 Dec 2009 18:07:35 +0000 (18:07 +0000)]
Fix RGB LJPEG encoding.

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

14 years agoCosmetics: Fix typos in r20780.
Carl Eugen Hoyos [Wed, 9 Dec 2009 22:45:56 +0000 (22:45 +0000)]
Cosmetics: Fix typos in r20780.

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

14 years agoadd dvcs to dvvideo, fixes issue 1604
Ben Littler [Wed, 9 Dec 2009 20:55:47 +0000 (20:55 +0000)]
add dvcs to dvvideo, fixes issue 1604

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

14 years agoImprove time_increment_bits guessing code.
Michael Niedermayer [Wed, 9 Dec 2009 14:05:39 +0000 (14:05 +0000)]
Improve time_increment_bits guessing code.

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

14 years agoEnd startcode prefix search at the end of a AVC unit.
Michael Niedermayer [Wed, 9 Dec 2009 12:49:59 +0000 (12:49 +0000)]
End startcode prefix search at the end of a AVC unit.
Fixes issue1550.

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

14 years agorevert r20775, because equivalent code has been committed to x264 instead
Loren Merritt [Wed, 9 Dec 2009 00:38:22 +0000 (00:38 +0000)]
revert r20775, because equivalent code has been committed to x264 instead

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

14 years agoMinor version bump for mbtree addition.
Jason Garrett-Glaser [Wed, 9 Dec 2009 00:24:33 +0000 (00:24 +0000)]
Minor version bump for mbtree addition.

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

14 years agoSupport AVI1 and AVI2 in avi as MJPEG.
Carl Eugen Hoyos [Tue, 8 Dec 2009 23:47:45 +0000 (23:47 +0000)]
Support AVI1 and AVI2 in avi as MJPEG.
Fixes issue 1602.

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

14 years agoMention patcheck.
Zhihang Wang [Tue, 8 Dec 2009 23:23:44 +0000 (23:23 +0000)]
Mention patcheck.

Patch by Zhihang Wang, zhihang D wang A gmail

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

14 years agoMake parse_key_value_pair() print an error message if a key is not
Stefano Sabatini [Tue, 8 Dec 2009 22:01:25 +0000 (22:01 +0000)]
Make parse_key_value_pair() print an error message if a key is not
found in the context.

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

14 years agoUse an unsigned int to contain all the color values of the expressions
Stefano Sabatini [Tue, 8 Dec 2009 22:00:07 +0000 (22:00 +0000)]
Use an unsigned int to contain all the color values of the expressions
of the type 0xRRGBBAA parsed by av_parse_color(), using a simple int
was resulting in unexpected results as the most significant bit was
used for the sign.

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

14 years agofix a crash in ape decoding on x86_32 sse2
Loren Merritt [Tue, 8 Dec 2009 21:24:01 +0000 (21:24 +0000)]
fix a crash in ape decoding on x86_32 sse2

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

14 years agoAC-3 decoder is no longer GPL; update FAQ
Daniel Verkamp [Tue, 8 Dec 2009 21:18:40 +0000 (21:18 +0000)]
AC-3 decoder is no longer GPL; update FAQ

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

14 years agoBoolify options passed to x264.
Jason Garrett-Glaser [Tue, 8 Dec 2009 20:35:01 +0000 (20:35 +0000)]
Boolify options passed to x264.

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

14 years agoAdd MBtree support for libx264
Erik Slagter [Tue, 8 Dec 2009 20:01:46 +0000 (20:01 +0000)]
Add MBtree support for libx264
Patch by Erik Slagter

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

14 years agoaac: Set sample rate in avctx from ADTS header (if not already set by some
Andreas Öman [Tue, 8 Dec 2009 19:20:36 +0000 (19:20 +0000)]
aac: Set sample rate in avctx from ADTS header (if not already set by some
other means)

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

14 years agoReduce warnings about too few consumed bytes to debug level.
Michael Niedermayer [Tue, 8 Dec 2009 17:38:02 +0000 (17:38 +0000)]
Reduce warnings about too few consumed bytes to debug level.
Fixes issue1061.

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

14 years agoFix alpha plane flipping for the yuva420p and similar pixel formats.
Stefano Sabatini [Tue, 8 Dec 2009 17:08:49 +0000 (17:08 +0000)]
Fix alpha plane flipping for the yuva420p and similar pixel formats.

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

14 years agoDo as the comment says and signal an error.
Michael Niedermayer [Tue, 8 Dec 2009 14:50:46 +0000 (14:50 +0000)]
Do as the comment says and signal an error.

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

14 years ago10l bug, use av_fast_malloc() instead if av_malloc() for allocating audio
Michael Niedermayer [Tue, 8 Dec 2009 14:48:36 +0000 (14:48 +0000)]
10l bug, use av_fast_malloc() instead if av_malloc() for allocating audio
buffers.
This and the previous revision fix a heap overflow.

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

14 years agoTry to allocate audio buffer sizes depending on the number of input bytes.
Michael Niedermayer [Tue, 8 Dec 2009 14:28:28 +0000 (14:28 +0000)]
Try to allocate audio buffer sizes depending on the number of input bytes.
Fixes issue1167.

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

14 years agoCheck that the buffer size speified to avcodec_encode_audio() is not larger than...
Michael Niedermayer [Tue, 8 Dec 2009 14:18:15 +0000 (14:18 +0000)]
Check that the buffer size speified to avcodec_encode_audio() is not larger than the actual size.

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

14 years agoDo not assume that av_get_bits_per_sample() is a multiple of 8.
Michael Niedermayer [Tue, 8 Dec 2009 14:10:49 +0000 (14:10 +0000)]
Do not assume that av_get_bits_per_sample() is a multiple of 8.

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

14 years agoRaise threshold of h263 probe by 1 to avoid misdetection.
Michael Niedermayer [Tue, 8 Dec 2009 12:34:08 +0000 (12:34 +0000)]
Raise threshold of h263 probe by 1 to avoid misdetection.
Fixes issue 1588.

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

14 years agoAdd out commented av_log to debug h263_probe.
Michael Niedermayer [Tue, 8 Dec 2009 12:33:00 +0000 (12:33 +0000)]
Add out commented av_log to debug h263_probe.

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

14 years agoAlso print the number of invalid packets in the debug output.
Michael Niedermayer [Tue, 8 Dec 2009 12:24:41 +0000 (12:24 +0000)]
Also print the number of invalid packets in the debug output.

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

14 years agoFlip the comparission direction of vid+audio+priv1 and pspack, it appears to have
Michael Niedermayer [Tue, 8 Dec 2009 12:19:30 +0000 (12:19 +0000)]
Flip the comparission direction of vid+audio+priv1 and pspack, it appears to have
been wrong.
Fixes issue1571.

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

14 years agoMake sure that compilation fails if functions like ff_put_string are used in code
Reimar Döffinger [Mon, 7 Dec 2009 21:06:51 +0000 (21:06 +0000)]
Make sure that compilation fails if functions like ff_put_string are used in code
that  selected a bitstream writer for which they do not work.

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

14 years agoGet rid of audio_out2, it seems unneeded.
Michael Niedermayer [Mon, 7 Dec 2009 16:26:37 +0000 (16:26 +0000)]
Get rid of audio_out2, it seems unneeded.

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

14 years agoUpdate seek.regression.ref. This is due to r20758.
Jai Menon [Mon, 7 Dec 2009 16:01:35 +0000 (16:01 +0000)]
Update seek.regression.ref. This is due to r20758.

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

14 years agoAU : demuxed packet size should be sample size aligned.
Jai Menon [Mon, 7 Dec 2009 13:55:38 +0000 (13:55 +0000)]
AU : demuxed packet size should be sample size aligned.
Fixes issue 1593.

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

14 years agoDocument the differences between the two asm fragments in initMMX2HScaler().
Ramiro Polla [Mon, 7 Dec 2009 03:52:55 +0000 (03:52 +0000)]
Document the differences between the two asm fragments in initMMX2HScaler().

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

14 years agoPrint error messages on errors.
Michael Niedermayer [Mon, 7 Dec 2009 00:35:38 +0000 (00:35 +0000)]
Print error messages on errors.

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

14 years agoFix apparent 10l typos introduced in r8627.
Michael Niedermayer [Sun, 6 Dec 2009 23:51:51 +0000 (23:51 +0000)]
Fix apparent 10l typos introduced in r8627.
These typos moved the exponent pointer too far ahead.
Fixes issue1055.

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

14 years agoStart using intermediate buffers at index 0.
Ramiro Polla [Sun, 6 Dec 2009 22:01:25 +0000 (22:01 +0000)]
Start using intermediate buffers at index 0.
These index variables are incremented before each use, so they should be
initialized to -1.

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

14 years agoReindent after the last commit.
Stefano Sabatini [Sun, 6 Dec 2009 17:41:49 +0000 (17:41 +0000)]
Reindent after the last commit.

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

14 years agoFix slicify when the slice_direction is negative, make it send slices
Stefano Sabatini [Sun, 6 Dec 2009 17:40:41 +0000 (17:40 +0000)]
Fix slicify when the slice_direction is negative, make it send slices
from the bottom to the top one.

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

14 years agoUpdate documentation for r20435 (which added the -fpre option).
Ramiro Polla [Sun, 6 Dec 2009 17:02:12 +0000 (17:02 +0000)]
Update documentation for r20435 (which added the -fpre option).

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

14 years agoCosmetics: Fix indentation after r20751.
Carl Eugen Hoyos [Sun, 6 Dec 2009 15:39:25 +0000 (15:39 +0000)]
Cosmetics: Fix indentation after r20751.

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

14 years agoSimplified deblocking checks.
Jason Garrett-Glaser [Sun, 6 Dec 2009 15:38:05 +0000 (15:38 +0000)]
Simplified deblocking checks.

Patch by Dark Shikari

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

14 years agoFaster checks in reverse_dc_prediction.
Jason Garrett-Glaser [Sun, 6 Dec 2009 15:33:48 +0000 (15:33 +0000)]
Faster checks in reverse_dc_prediction.

Patch by Dark Shikari

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

14 years agoCheck transform==15 first, since it's more common than 13.
Jason Garrett-Glaser [Sun, 6 Dec 2009 15:31:58 +0000 (15:31 +0000)]
Check transform==15 first, since it's more common than 13.

Patch by Dark Shikari

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

14 years agoRevert r20747: It mixed functional and cosmetical changes.
Carl Eugen Hoyos [Sun, 6 Dec 2009 15:30:53 +0000 (15:30 +0000)]
Revert r20747: It mixed functional and cosmetical changes.

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

14 years agoVarious VP3 optimizations.
Jason Garrett-Glaser [Sun, 6 Dec 2009 12:48:09 +0000 (12:48 +0000)]
Various VP3 optimizations.
Faster checks in reverse_dc_prediction.
Simplified deblocking checks.
Check transform==15 first, since it's more common than 13.

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

14 years agocosmetics: insert space between codeword and left parenthesis
Kostya Shishkov [Sun, 6 Dec 2009 07:03:46 +0000 (07:03 +0000)]
cosmetics: insert space between codeword and left parenthesis

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

14 years agoDo not send invokes to RTMP server if we are not connected to it.
Sergiy [Sun, 6 Dec 2009 07:01:37 +0000 (07:01 +0000)]
Do not send invokes to RTMP server if we are not connected to it.
Patch by Sergiy (server.connect("gmail.com").selectAddress("piratfm"))

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

14 years agoCalls to url_fseek should have their return value checked in
Sean Soria [Sun, 6 Dec 2009 00:03:53 +0000 (00:03 +0000)]
Calls to url_fseek should have their return value checked in
av_seek_frame_binary, just as they do in av_seek_frame_generic.
Otherwise, function may return success even though url_fseek reported
failure.

Patch by Sean Soria, first.last at gmail

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

14 years agoslightly faster scalarproduct_and_madd_int16_ssse3 on penryn, no change on conroe
Loren Merritt [Sat, 5 Dec 2009 17:53:11 +0000 (17:53 +0000)]
slightly faster scalarproduct_and_madd_int16_ssse3 on penryn, no change on conroe

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

14 years agor20739 broke compilation on systems without yasm
Loren Merritt [Sat, 5 Dec 2009 17:51:57 +0000 (17:51 +0000)]
r20739 broke compilation on systems without yasm

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

14 years agoUpdate frame_width and frame_height based on the lowres value.
Jai Menon [Sat, 5 Dec 2009 17:51:00 +0000 (17:51 +0000)]
Update frame_width and frame_height based on the lowres value.
Fixes issues 1387, 1097 and probably some other lowres related problems.

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

14 years agoAdd 'const' attribute to the last_asked_format variable, fix a
Stefano Sabatini [Sat, 5 Dec 2009 15:14:01 +0000 (15:14 +0000)]
Add 'const' attribute to the last_asked_format variable, fix a
compiler warning.

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