ffmpeg.git
10 years agoFix leaks in the AAC RTP depacketizer
Martin Storsjö [Mon, 5 Apr 2010 17:25:39 +0000 (17:25 +0000)]
Fix leaks in the AAC RTP depacketizer

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

10 years agoAdd void to a function prototype that takes no arguments. Fixes a potential
Ronald S. Bultje [Mon, 5 Apr 2010 16:13:51 +0000 (16:13 +0000)]
Add void to a function prototype that takes no arguments. Fixes a potential
compiler warning.

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

10 years agoFix rounding direction for calculation of AVPacket.duration.
Michael Niedermayer [Sun, 4 Apr 2010 22:19:42 +0000 (22:19 +0000)]
Fix rounding direction for calculation of AVPacket.duration.
Fixes issue1579

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

10 years agoZero-initialize the reply struct
Martin Storsjö [Sun, 4 Apr 2010 21:59:06 +0000 (21:59 +0000)]
Zero-initialize the reply struct

The status_code field is read in the fail codepath, where it could be
read uninitialized earlier. Found by clang.

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

10 years agoDocument minimum binutils requirements on Unix-like platforms.
Diego Biurrun [Sun, 4 Apr 2010 15:35:56 +0000 (15:35 +0000)]
Document minimum binutils requirements on Unix-like platforms.
based on a patch by Michael Kostylev, michael.kostylev gmail com

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

10 years agoImplement support to the AVSEEK_SIZE operation in file_seek().
Stefano Sabatini [Sun, 4 Apr 2010 14:21:29 +0000 (14:21 +0000)]
Implement support to the AVSEEK_SIZE operation in file_seek().

Avoid the need to use seeking for getting the file size, use fstat
instead, which is significantly faster.

See thread:
Subject: [FFmpeg-devel] [PATCH] Add support to AVSEEK_SIZE to the file protocol seek callback
Date: Fri, 2 Apr 2010 13:13:27 +0200

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

10 years agoReindent.
Stefano Sabatini [Sun, 4 Apr 2010 13:50:38 +0000 (13:50 +0000)]
Reindent.

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

10 years agoRename av_encode() to av_transcode(), the new name is more meaningful.
Stefano Sabatini [Sun, 4 Apr 2010 13:50:34 +0000 (13:50 +0000)]
Rename av_encode() to av_transcode(), the new name is more meaningful.

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

10 years agoAllow AVFormatContext.duration to be set if no individual stream duration is known.
Michael Niedermayer [Sun, 4 Apr 2010 12:20:10 +0000 (12:20 +0000)]
Allow AVFormatContext.duration to be set if no individual stream duration is known.
Demuxers already do this ...

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

10 years agoAvoid division by zero
Reinhard Tartler [Sun, 4 Apr 2010 07:18:10 +0000 (07:18 +0000)]
Avoid division by zero

Based on clang-scan report http://permalink.gmane.org/gmane.comp.video.ffmpeg.devel/107290

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

10 years agoRemove variable whose value was never read. Found by clang.
Bobby Bingham [Sat, 3 Apr 2010 15:29:48 +0000 (15:29 +0000)]
Remove variable whose value was never read.  Found by clang.

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

10 years agoAdd help for (I)RDFT test in fft-test
Vitor Sessak [Sat, 3 Apr 2010 15:05:27 +0000 (15:05 +0000)]
Add help for (I)RDFT test in fft-test

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

10 years agoMake code using 1d-DCT consistent with the API change
Vitor Sessak [Sat, 3 Apr 2010 15:04:15 +0000 (15:04 +0000)]
Make code using 1d-DCT consistent with the API change

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

10 years agoReplace all remaining occurrences of AVERROR_NOMEM with
Stefano Sabatini [Sat, 3 Apr 2010 14:15:00 +0000 (14:15 +0000)]
Replace all remaining occurrences of AVERROR_NOMEM with
AVERROR(ENOMEM).

AVERROR_NOMEM is deprecated and will be dropped at the next libavutil
major bump.

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

10 years agoRemove a redundant assignment, found by clang
Martin Storsjö [Sat, 3 Apr 2010 12:16:33 +0000 (12:16 +0000)]
Remove a redundant assignment, found by clang

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

10 years agoGroup Unix-like platforms together in the platform documentation.
Michael Kostylev [Sat, 3 Apr 2010 09:45:46 +0000 (09:45 +0000)]
Group Unix-like platforms together in the platform documentation.
patch by Michael Kostylev, michael.kostylev gmail com

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

10 years agominor spelling fixes
Diego Biurrun [Sat, 3 Apr 2010 09:42:40 +0000 (09:42 +0000)]
minor spelling fixes

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

10 years agoUse AVDISCARD_DEFAULT for 0 where appropriate.
Carl Eugen Hoyos [Fri, 2 Apr 2010 23:08:23 +0000 (23:08 +0000)]
Use AVDISCARD_DEFAULT for 0 where appropriate.

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

10 years agoFix buffer size; should hold 2 32-bit integers in hex = 16 chars + terminating
Ronald S. Bultje [Fri, 2 Apr 2010 22:08:57 +0000 (22:08 +0000)]
Fix buffer size; should hold 2 32-bit integers in hex = 16 chars + terminating
zero, so should be 17 bytes, not 9.

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

10 years agoETIME -> ETIMEDOUT. Patch by Sam Gerstein <sgerstein bluefinlab com>.
Sam Gerstein [Fri, 2 Apr 2010 20:14:55 +0000 (20:14 +0000)]
ETIME -> ETIMEDOUT. Patch by Sam Gerstein <sgerstein bluefinlab com>.

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

10 years agoaacenc: Error when an unsupported profile is requested
Alex Converse [Fri, 2 Apr 2010 16:26:10 +0000 (16:26 +0000)]
aacenc: Error when an unsupported profile is requested

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

10 years agoAnother uninitialized value.
Ronald S. Bultje [Fri, 2 Apr 2010 14:58:55 +0000 (14:58 +0000)]
Another uninitialized value.

See http://tranquillity.ath.cx/clang/2010-03-30-1/report-e6KUTb.html#EndPath

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

10 years agoFix uninitialized value in codepath.
Ronald S. Bultje [Fri, 2 Apr 2010 14:58:03 +0000 (14:58 +0000)]
Fix uninitialized value in codepath.

See http://tranquillity.ath.cx/clang/2010-03-30-1/report-40QvF3.html#EndPath

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

10 years agoRemove dead initialization.
Ronald S. Bultje [Fri, 2 Apr 2010 14:56:59 +0000 (14:56 +0000)]
Remove dead initialization.

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

10 years agoRemove dead initialization.
Ronald S. Bultje [Fri, 2 Apr 2010 14:55:01 +0000 (14:55 +0000)]
Remove dead initialization.

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

10 years agoaacenc: Don't lowpass the input unless specifically requested.
Alex Converse [Fri, 2 Apr 2010 14:19:39 +0000 (14:19 +0000)]
aacenc: Don't lowpass the input unless specifically requested.

The heuristic for estimating a good cutoff is busted.

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

10 years agoChange default for bidir_refine to 1.
Michael Niedermayer [Fri, 2 Apr 2010 14:08:51 +0000 (14:08 +0000)]
Change default for bidir_refine to 1.

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

10 years agoOptimize bidir_refine a bit.
Michael Niedermayer [Fri, 2 Apr 2010 14:04:15 +0000 (14:04 +0000)]
Optimize bidir_refine a bit.
compiled code is less tham 1/4 the size.
a tiny bit faster

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

10 years agoReplace the last occurrance of CODEC_TYPE_ with AVMEDIA_TYPE_
Martin Storsjö [Fri, 2 Apr 2010 13:33:51 +0000 (13:33 +0000)]
Replace the last occurrance of CODEC_TYPE_ with AVMEDIA_TYPE_

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

10 years agoChange bidir refine hash code so we only need to perform a single
Michael Niedermayer [Fri, 2 Apr 2010 12:34:08 +0000 (12:34 +0000)]
Change bidir refine hash code so we only need to perform a single
hash calculation for the whole function.
negligibly faster (about 0.1%)

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

10 years agoChange a case of CODEC_TYPE_ into AVMEDIA_TYPE_
Martin Storsjö [Fri, 2 Apr 2010 11:33:02 +0000 (11:33 +0000)]
Change a case of CODEC_TYPE_ into AVMEDIA_TYPE_
This was accidentally overwritten in the recent merge of the theora/vorbis codepaths

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

10 years agoReduce the size of the bidir refine hashtable from 4096 to 256 and
Michael Niedermayer [Fri, 2 Apr 2010 11:06:29 +0000 (11:06 +0000)]
Reduce the size of the bidir refine hashtable from 4096 to 256 and
change the hash function to something more sane and simple.
about 1/3 faster, no meassureable change in psnr or size and i gues
its even same md5 with my test file but i forgot testing that.

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

10 years agoMove comment that belonged to cmp() back to cmp().
Michael Niedermayer [Fri, 2 Apr 2010 01:13:59 +0000 (01:13 +0000)]
Move comment that belonged to cmp() back to cmp().

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

10 years agoslice dice, inline and outline cmp()
Michael Niedermayer [Fri, 2 Apr 2010 01:07:03 +0000 (01:07 +0000)]
slice dice, inline and outline cmp()
motion_est.o is now less than half its previous size.
No speedchange meassureable.

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

10 years agoav_builtin_constant_p()
Michael Niedermayer [Fri, 2 Apr 2010 01:03:27 +0000 (01:03 +0000)]
av_builtin_constant_p()

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

10 years agoImplement cmdutils.c:read_file(), and use it in ffmpeg.c for reading
Stefano Sabatini [Thu, 1 Apr 2010 22:34:22 +0000 (22:34 +0000)]
Implement cmdutils.c:read_file(), and use it in ffmpeg.c for reading
the second pass encoding log file.

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

10 years agoMerge Vorbis / Theora depayloaders.
Josh Allmann [Thu, 1 Apr 2010 21:43:22 +0000 (21:43 +0000)]
Merge Vorbis / Theora depayloaders.

Patch by Josh Allmann <joshua DOT allmann AT gmail DOT com>.

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

10 years agoReindent after r22766.
Josh Allmann [Thu, 1 Apr 2010 21:42:10 +0000 (21:42 +0000)]
Reindent after r22766.

Patch by Josh Allmann <joshua DOT allmann AT gmail DOT com>.

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

10 years agoRename functions / comments from "Theora" to "Xiph" where relevant.
Josh Allmann [Thu, 1 Apr 2010 21:41:48 +0000 (21:41 +0000)]
Rename functions / comments from "Theora" to "Xiph" where relevant.

Patch by Josh Allmann <joshua DOT allmann AT gmail DOT com>.

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

10 years agoRename rtpdec_theora.[ch] to rtpdec_xiph.[ch], as a preparation for merging
Josh Allmann [Thu, 1 Apr 2010 21:40:56 +0000 (21:40 +0000)]
Rename rtpdec_theora.[ch] to rtpdec_xiph.[ch], as a preparation for merging
the Vorbis / theora depacketizers.

Patch by Josh Allmann <joshua DOT allmann AT gmail DOT com>.

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

10 years agoAdd -t option to ffplay.
Robert Krüger [Thu, 1 Apr 2010 20:56:23 +0000 (20:56 +0000)]
Add -t option to ffplay.

Patch by Robert Krüger, krueger signal7 de

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

10 years agoStore range coder state transition table.
Michael Niedermayer [Thu, 1 Apr 2010 18:51:08 +0000 (18:51 +0000)]
Store range coder state transition table.
Use a better table, 2% compression gain for foreman

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

10 years agoAllow hardcoding of ulaw and alaw tables.
Reimar Döffinger [Thu, 1 Apr 2010 17:54:15 +0000 (17:54 +0000)]
Allow hardcoding of ulaw and alaw tables.

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

10 years agoChange/simplify the tableprint/tablegen API.
Reimar Döffinger [Thu, 1 Apr 2010 17:11:47 +0000 (17:11 +0000)]
Change/simplify the tableprint/tablegen API.

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

10 years agoConvert two "m" constraints to MANGLE to fix compilation with some compilers.
Reimar Döffinger [Thu, 1 Apr 2010 16:52:14 +0000 (16:52 +0000)]
Convert two "m" constraints to MANGLE to fix compilation with some compilers.

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

10 years agoFix typo: CODEC_FLAG2_SSIM is in flags2, not in flags.
Takashi Mochizuki [Thu, 1 Apr 2010 15:52:50 +0000 (15:52 +0000)]
Fix typo: CODEC_FLAG2_SSIM is in flags2, not in flags.
Patch by Takashi Mochizuki mochi (A) da2 (.) so (dash) net (dot) ne (.) jp

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

10 years agoLimit probing to probesize.
Michael Niedermayer [Thu, 1 Apr 2010 12:09:33 +0000 (12:09 +0000)]
Limit probing to probesize.

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

10 years agoFix flvdec start-of-frame.
Howard Chu [Thu, 1 Apr 2010 08:02:20 +0000 (08:02 +0000)]
Fix flvdec start-of-frame.
Patch by Howard Chu hyc highlandsun com

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

10 years agoCosmetics: indentation
Bobby Bingham [Thu, 1 Apr 2010 06:41:27 +0000 (06:41 +0000)]
Cosmetics: indentation

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

10 years agoDon't create unnecessary refereces to pictures
Bobby Bingham [Thu, 1 Apr 2010 06:41:25 +0000 (06:41 +0000)]
Don't create unnecessary refereces to pictures

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

10 years agoHook decoder up to libavfilter's direct rendering for ffplay
Bobby Bingham [Thu, 1 Apr 2010 06:41:21 +0000 (06:41 +0000)]
Hook decoder up to libavfilter's direct rendering for ffplay

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

10 years agoAdd function to export EDGE_WIDTH from libavcodec.
Bobby Bingham [Thu, 1 Apr 2010 06:41:16 +0000 (06:41 +0000)]
Add function to export EDGE_WIDTH from libavcodec.

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

10 years agoDocument API addition of avcodec_copy_context().
Ronald S. Bultje [Wed, 31 Mar 2010 21:10:52 +0000 (21:10 +0000)]
Document API addition of avcodec_copy_context().

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

10 years agoFix FFM-based streaming from ffmpeg to ffserver. The basic problem is that
Ronald S. Bultje [Wed, 31 Mar 2010 21:02:34 +0000 (21:02 +0000)]
Fix FFM-based streaming from ffmpeg to ffserver. The basic problem is that
we'd memset() the codec context to zero, thereby setting audio input to U8
and video to YUV420P. For most video encoders, that actually works, but for
most audio codecs, it doesn't. This patch changes defaults to those set by
avcodec_context_get_defaults() and have ffmpeg figure out the optimal encoding
format itself if not set explicitely (as it does for the non-ffserver-cases
also).

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

10 years agoAdd avcodec_copy_context().
Ronald S. Bultje [Wed, 31 Mar 2010 20:40:49 +0000 (20:40 +0000)]
Add avcodec_copy_context().

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

10 years agoAdd entry for the addition of av_match_ext() to the public API.
Stefano Sabatini [Wed, 31 Mar 2010 19:06:02 +0000 (19:06 +0000)]
Add entry for the addition of av_match_ext() to the public API.

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

10 years ago Make av_match_ext() declaration public (move its declaration out of
Stefano Sabatini [Wed, 31 Mar 2010 19:03:03 +0000 (19:03 +0000)]
 Make av_match_ext() declaration public (move its declaration out of
 the #ifdef HAVE_AV_CONFIG_H block in avformat.h).

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

10 years agoReplace some "m" constraints by MANGLE to avoid issues with some compilers not
Reimar Döffinger [Wed, 31 Mar 2010 17:00:33 +0000 (17:00 +0000)]
Replace some "m" constraints by MANGLE to avoid issues with some compilers not
being able to compile it and deduplicate the code at the same time.

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

10 years agoFix a few typos/grammar nits from r22739.
Jai Menon [Wed, 31 Mar 2010 14:15:01 +0000 (14:15 +0000)]
Fix a few typos/grammar nits from r22739.

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

10 years agoFix likely typo in r15937.
Carl Eugen Hoyos [Wed, 31 Mar 2010 14:13:49 +0000 (14:13 +0000)]
Fix likely typo in r15937.

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

10 years agoAdd AVFMT_FLAG_NOFILLIN and AVFMT_FLAG_NOPARSE.
Michael Niedermayer [Wed, 31 Mar 2010 12:55:16 +0000 (12:55 +0000)]
Add AVFMT_FLAG_NOFILLIN and AVFMT_FLAG_NOPARSE.

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

10 years agoReplace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY.
Jean-Daniel Dupas [Wed, 31 Mar 2010 12:29:58 +0000 (12:29 +0000)]
Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY.

Patch by Jean-Daniel Dupas, devlists shadowlab org

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

10 years agoProbe aac codecs for CODEC_ID_PROBE.
Joakim Plate [Wed, 31 Mar 2010 10:45:15 +0000 (10:45 +0000)]
Probe aac codecs for CODEC_ID_PROBE.

Patch by Joakim Plate, elupus ecce se

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

10 years agoRemove superfluous space from a conversion table.
Anton Khirnov [Wed, 31 Mar 2010 09:22:31 +0000 (09:22 +0000)]
Remove superfluous space from a conversion table.

Patch by Anton Khirnov, wyskas gmail

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

10 years agoH264: Copy h264dsp when creating new slice threads
Alexander Strange [Wed, 31 Mar 2010 03:55:42 +0000 (03:55 +0000)]
H264: Copy h264dsp when creating new slice threads

Fixes slice multithreading (broken in r22565)
Fixes issue1815

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

10 years agoBetter documentation of -vsync
Michael Niedermayer [Wed, 31 Mar 2010 00:41:31 +0000 (00:41 +0000)]
Better documentation of -vsync

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

10 years agoIssue a more general message when the function which sets an option
Stefano Sabatini [Tue, 30 Mar 2010 23:46:30 +0000 (23:46 +0000)]
Issue a more general message when the function which sets an option
fails.

It may fail not only because of an invalid value for the option, but
also for other reasons, e.g. memory problems etc.

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

10 years agoUpdate APIchanges after the enum CodecType -> enum AVMediaType
Stefano Sabatini [Tue, 30 Mar 2010 23:42:06 +0000 (23:42 +0000)]
Update APIchanges after the enum CodecType -> enum AVMediaType
transition.

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

10 years agoMove AVMediaType from libavcodec to libavutil.
Stefano Sabatini [Tue, 30 Mar 2010 23:31:16 +0000 (23:31 +0000)]
Move AVMediaType from libavcodec to libavutil.

This allows applications/libraries which require that symbol
(e.g. libavfilter) to be compiled without to depend on the presence of
libavcodec/avcodec.h, which may not be installed.

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

10 years agoDefine AVMediaType enum, and use it instead of enum CodecType, which
Stefano Sabatini [Tue, 30 Mar 2010 23:30:55 +0000 (23:30 +0000)]
Define AVMediaType enum, and use it instead of enum CodecType, which
is deprecated and will be dropped at the next major bump.

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

10 years agoAdd spectral extension to the E-AC-3 decoder.
Carl Eugen Hoyos [Tue, 30 Mar 2010 22:09:14 +0000 (22:09 +0000)]
Add spectral extension to the E-AC-3 decoder.

Original patch by Justin, updated and resubmitted by
Christophe Gisquet, christophe D gisquet A gmail

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

10 years agoFix implicit weight for b frames in mbaff.
Michael Niedermayer [Tue, 30 Mar 2010 21:05:11 +0000 (21:05 +0000)]
Fix implicit weight for b frames in mbaff.

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

10 years agoMake sure the EC code does not attempt to use inter based concealment if there
Michael Niedermayer [Tue, 30 Mar 2010 20:46:46 +0000 (20:46 +0000)]
Make sure the EC code does not attempt to use inter based concealment if there
is no reference frame available. (this can happen because the EC code will attempt
to use reference frames even for I/IDR frames)

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

10 years agoSplit out code that auto-chooses a default pix_fmt/sample_fmt in their own
Ronald S. Bultje [Tue, 30 Mar 2010 19:37:07 +0000 (19:37 +0000)]
Split out code that auto-chooses a default pix_fmt/sample_fmt in their own
functions.

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

10 years agoconfigure: restore -mdynamic-no-pic on darwin (missing since r20497)
Alexander Strange [Tue, 30 Mar 2010 16:28:00 +0000 (16:28 +0000)]
configure: restore -mdynamic-no-pic on darwin (missing since r20497)

Darwin compilers default to PIC on, so -mdynamic-no-pic (which disables it
again) needs to be added to cflags before enable pic is checked.

Fixes compilation without --enable-shared at least the 10.6 system compiler
for x86-32.
Fixes speed regression on all darwin arches except x86-64.

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

10 years agoReplace @returns by @return.
Benoit Fouet [Tue, 30 Mar 2010 15:50:57 +0000 (15:50 +0000)]
Replace @returns by @return.

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

10 years agoSet VDPAU H264 picture parameter field_order_cnt and frame_num at the
Stephen Warren [Tue, 30 Mar 2010 08:10:29 +0000 (08:10 +0000)]
Set VDPAU H264 picture parameter field_order_cnt and frame_num at the
start of decoding a picture instead of at the end.
Fixes mmco01.264

Patch by Stephen Warren

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

10 years agoFix VDPAU for H.264 streams with long reference frames.
Stephen Warren [Tue, 30 Mar 2010 07:52:44 +0000 (07:52 +0000)]
Fix VDPAU for H.264 streams with long reference frames.

Patch by Stephen Warren.

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

10 years agoAdd missing entry for the YOP demuxer and video decoder addition.
Stefano Sabatini [Mon, 29 Mar 2010 23:34:08 +0000 (23:34 +0000)]
Add missing entry for the YOP demuxer and video decoder addition.

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

10 years agoDocument url_exist().
Stefano Sabatini [Mon, 29 Mar 2010 22:29:14 +0000 (22:29 +0000)]
Document url_exist().

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

10 years agoImplement YOP demuxer and video decoder.
Mohamed Naufal [Mon, 29 Mar 2010 22:17:01 +0000 (22:17 +0000)]
Implement YOP demuxer and video decoder.

Patch by Mohamed Naufal gmailify(naufal11).

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

10 years agoInclude appropriate header in table generators instead of using a dummy
Reimar Döffinger [Mon, 29 Mar 2010 21:32:38 +0000 (21:32 +0000)]
Include appropriate header in table generators instead of using a dummy
av_cold define.

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

10 years agoAdd some documentation about the table generation code.
Reimar Döffinger [Mon, 29 Mar 2010 21:01:45 +0000 (21:01 +0000)]
Add some documentation about the table generation code.

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

10 years agoFix indentation.
Reimar Döffinger [Mon, 29 Mar 2010 20:58:19 +0000 (20:58 +0000)]
Fix indentation.

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

10 years agoSome spelling fixes.
Reimar Döffinger [Mon, 29 Mar 2010 19:17:49 +0000 (19:17 +0000)]
Some spelling fixes.

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

10 years agoSimplify interleaving code.
Ronald S. Bultje [Mon, 29 Mar 2010 17:37:03 +0000 (17:37 +0000)]
Simplify interleaving code.

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

10 years agoAdd a timeout to the select() call. Patch by Sam Gerstein <sgerstein bluefinlab
Sam Gerstein [Mon, 29 Mar 2010 17:36:08 +0000 (17:36 +0000)]
Add a timeout to the select() call. Patch by Sam Gerstein <sgerstein bluefinlab
com>.

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

10 years agoCosmetics : add a space after ",".
Jai Menon [Mon, 29 Mar 2010 12:53:35 +0000 (12:53 +0000)]
Cosmetics : add a space after ",".

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

10 years agoindent
Loren Merritt [Mon, 29 Mar 2010 02:50:41 +0000 (02:50 +0000)]
indent

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

10 years agooptimize init_vlc().
Loren Merritt [Mon, 29 Mar 2010 02:50:23 +0000 (02:50 +0000)]
optimize init_vlc().
Reduce worst case time from O(N^2) to O(N*log(N)).
Speedup average case by a factor of 10 in ffv2 (total decoding speed +4-25%),
factor of 1.3 in ffvhuff (total +0.5%),
factor of 1.8 in indeo5 (total +1%),
factor of 1.1 in mjpeg (total +0.1%).

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

10 years agoUpdate x264 presets in line with latest x264 changes.
Lou Logan [Mon, 29 Mar 2010 01:34:33 +0000 (01:34 +0000)]
Update x264 presets in line with latest x264 changes.

Patch by Lou Logan.

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

10 years agoClarify (Open)Solaris section of the documentation.
Michael Kostylev [Sun, 28 Mar 2010 20:16:09 +0000 (20:16 +0000)]
Clarify (Open)Solaris section of the documentation.
patch by Michael Kostylev, michael.kostylev gmail com

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

10 years agoAdd myself as co-maintainer of tta.c
Jai Menon [Sun, 28 Mar 2010 17:21:02 +0000 (17:21 +0000)]
Add myself as co-maintainer of tta.c

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

10 years agoTTA : Check if the output buffer size is within bounds.
Jai Menon [Sun, 28 Mar 2010 17:17:48 +0000 (17:17 +0000)]
TTA : Check if the output buffer size is within bounds.

Fixes issue 1848.

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

10 years agoImplement support to RTMP, RTMPT, RTMPE, RTMPTE, RTMPS protocols via
Howard Chu [Sun, 28 Mar 2010 13:39:36 +0000 (13:39 +0000)]
Implement support to RTMP, RTMPT, RTMPE, RTMPTE, RTMPS protocols via
librtmp.

Patch by Howard Chu <hyc * highlandsun * com>.

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

10 years agoDocument url_seek().
Stefano Sabatini [Sun, 28 Mar 2010 10:31:22 +0000 (10:31 +0000)]
Document url_seek().

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

10 years agoImplement -convert_tags option, which converts showed tag names to the
Stefano Sabatini [Sun, 28 Mar 2010 10:04:10 +0000 (10:04 +0000)]
Implement -convert_tags option, which converts showed tag names to the
FFmpeg generic tag names.

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

10 years agoFix NUT (de)muxer warnings:
Vitor Sessak [Sun, 28 Mar 2010 09:59:58 +0000 (09:59 +0000)]
Fix NUT (de)muxer warnings:
CC    libavformat/nutdec.o
libavformat/nutdec.c: In function ‘read_seek’:
libavformat/nutdec.c:862: warning: passing argument 3 of ‘av_tree_find’ from incompatible pointer type
./libavutil/tree.h:44: note: expected ‘int (*)(void *, const void *)’ but argument is of type ‘int (*)(struct Syncpoint *, struct Syncpoint *)’
libavformat/nutdec.c:871: warning: passing argument 3 of ‘av_tree_find’ from incompatible pointer type
./libavutil/tree.h:44: note: expected ‘int (*)(void *, const void *)’ but argument is of type ‘int (*)(struct Syncpoint *, struct Syncpoint *)’
libavformat/nutdec.c:879: warning: passing argument 3 of ‘av_tree_find’ from incompatible pointer type
./libavutil/tree.h:44: note: expected ‘int (*)(void *, const void *)’ but argument is of type ‘int (*)(struct Syncpoint *, struct Syncpoint *)’
CC    libavformat/nutenc.o
libavformat/nutenc.c: In function ‘write_packet’:
libavformat/nutenc.c:680: warning: passing argument 3 of ‘av_tree_find’ from incompatible pointer type
./libavutil/tree.h:44: note: expected ‘int (*)(void *, const void *)’ but argument is of type ‘int (*)(struct Syncpoint *, struct Syncpoint *)’

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

10 years agoInitialize ssrc and base_timestamp using ff_random_get_seed()
Martin Storsjö [Sun, 28 Mar 2010 08:48:45 +0000 (08:48 +0000)]
Initialize ssrc and base_timestamp using ff_random_get_seed()

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

10 years agocorrect first pts for ogg skeleton
Aurelien Jacobs [Sun, 28 Mar 2010 01:15:08 +0000 (01:15 +0000)]
correct first pts for ogg skeleton

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