ffmpeg.git
9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 years agoDocument the behavior of av_metadata_get() if the prev parameter is
Stefano Sabatini [Sat, 27 Mar 2010 21:14:16 +0000 (21:14 +0000)]
Document the behavior of av_metadata_get() if the prev parameter is
NULL.

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

9 years agoUse more appropriate return values in txd demuxer.
Reimar Döffinger [Sat, 27 Mar 2010 19:10:24 +0000 (19:10 +0000)]
Use more appropriate return values in txd demuxer.

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

9 years agoeacdata: fix a memleak, return partial packets and use proper return values.
Reimar Döffinger [Sat, 27 Mar 2010 19:09:46 +0000 (19:09 +0000)]
eacdata: fix a memleak, return partial packets and use proper return values.

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

9 years agomisc wording and grammar fixes
Diego Biurrun [Sat, 27 Mar 2010 13:30:22 +0000 (13:30 +0000)]
misc wording and grammar fixes

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

9 years agoClearer CODEC_CAP_DR1 documentation.
Reimar Döffinger [Sat, 27 Mar 2010 13:22:07 +0000 (13:22 +0000)]
Clearer CODEC_CAP_DR1 documentation.

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

9 years agoClarify where the list of supported formats is.
Diego Biurrun [Sat, 27 Mar 2010 13:17:56 +0000 (13:17 +0000)]
Clarify where the list of supported formats is.

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

9 years ago10l: Initialize tag to NULL in show_stream, fix metadata showing in
Stefano Sabatini [Sat, 27 Mar 2010 12:35:40 +0000 (12:35 +0000)]
10l: Initialize tag to NULL in show_stream, fix metadata showing in
streams.

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

9 years agoClarify which parts of libswscale remain GPL.
Diego Biurrun [Sat, 27 Mar 2010 11:31:30 +0000 (11:31 +0000)]
Clarify which parts of libswscale remain GPL.

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

9 years agolibswscale: Relicense almost all x86 assembler optimizations as LGPL.
Diego Biurrun [Sat, 27 Mar 2010 11:31:02 +0000 (11:31 +0000)]
libswscale: Relicense almost all x86 assembler optimizations as LGPL.

This is of course done with permissions from the authors. The only GPL
component left are MMX optimizations for YUV to RGB conversion.

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

9 years agoUse av_strerror() in print_error().
Stefano Sabatini [Fri, 26 Mar 2010 22:46:47 +0000 (22:46 +0000)]
Use av_strerror() in print_error().

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

9 years agoUse the newly available x264 parameters in ffmpeg in the x264 preset files.
Lou Logan [Fri, 26 Mar 2010 22:40:55 +0000 (22:40 +0000)]
Use the newly available x264 parameters in ffmpeg in the x264 preset files.

Patch by Lou Logan.

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

9 years agoDon't report EINTR from select as an error, retry select instead
Martin Storsjö [Fri, 26 Mar 2010 16:04:38 +0000 (16:04 +0000)]
Don't report EINTR from select as an error, retry select instead

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

9 years agoAdd (Open)Solaris section to platform documentation.
Diego Biurrun [Fri, 26 Mar 2010 09:56:57 +0000 (09:56 +0000)]
Add (Open)Solaris section to platform documentation.

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

9 years agoHAVE_MMX2 implies HAVE_MMX, so checking the latter is enough.
Diego Biurrun [Fri, 26 Mar 2010 07:57:54 +0000 (07:57 +0000)]
HAVE_MMX2 implies HAVE_MMX, so checking the latter is enough.

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

9 years agoh264: Use + instead of | in some places
Alexander Strange [Fri, 26 Mar 2010 05:04:03 +0000 (05:04 +0000)]
h264: Use + instead of | in some places

6 insns less on x86-64/gcc 4.2.

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

9 years agolibxvid: Clear extradata pointer when freeing it.
Ramiro Polla [Fri, 26 Mar 2010 04:12:28 +0000 (04:12 +0000)]
libxvid: Clear extradata pointer when freeing it.
Fixes crash when avcodec_close() tried freeing it again.
Fixes issue 1846.

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

9 years agoh264: Remove unused function argument
Alexander Strange [Fri, 26 Mar 2010 03:31:56 +0000 (03:31 +0000)]
h264: Remove unused function argument

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

9 years agoh264: Simplify decode_cabac_residual() specialization
Alexander Strange [Fri, 26 Mar 2010 03:29:31 +0000 (03:29 +0000)]
h264: Simplify decode_cabac_residual() specialization

Gives more consistent inlining with some compilers (such as llvm).

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

9 years agoFix updating condition for the probe_size variable in the internal
Micah F. Galizia [Fri, 26 Mar 2010 01:12:14 +0000 (01:12 +0000)]
Fix updating condition for the probe_size variable in the internal
loop of ff_probe_input_buffer(), making sure that probe_size is always
set to probe_max_size in the last iteration.

Also make the function return an error if we get to the max probe
length and still cannot figure out what the format is.

Patch by Micah Galizia micahgalizia A gmail D com.

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

9 years agoReorder platform sections alphabetically.
Diego Biurrun [Fri, 26 Mar 2010 00:38:53 +0000 (00:38 +0000)]
Reorder platform sections alphabetically.

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

9 years agoAdd FreeBSD subsection with compilation instructions.
Diego Biurrun [Fri, 26 Mar 2010 00:37:32 +0000 (00:37 +0000)]
Add FreeBSD subsection with compilation instructions.

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

9 years agoAdd APIchanges entry after av_strerror() addition.
Stefano Sabatini [Thu, 25 Mar 2010 22:52:50 +0000 (22:52 +0000)]
Add APIchanges entry after av_strerror() addition.

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

9 years agoImplement av_strerror().
Stefano Sabatini [Thu, 25 Mar 2010 22:46:35 +0000 (22:46 +0000)]
Implement av_strerror().

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

9 years agoPrefer '///< ...' doxygen inline syntax over '/**< ... */'.
Stefano Sabatini [Thu, 25 Mar 2010 22:46:32 +0000 (22:46 +0000)]
Prefer '///< ...' doxygen inline syntax over '/**< ... */'.

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

9 years agoUse consistent punctuation rules for the error message descriptions.
Stefano Sabatini [Thu, 25 Mar 2010 22:46:28 +0000 (22:46 +0000)]
Use consistent punctuation rules for the error message descriptions.

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

9 years agoReassemble the RTSP URL before replacing hostname with the numerical IP
Martin Storsjö [Thu, 25 Mar 2010 22:21:09 +0000 (22:21 +0000)]
Reassemble the RTSP URL before replacing hostname with the numerical IP

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

9 years agoSimplify ff_rtsp_send_cmd_with_content_async, remove an unnecessary buffer
Martin Storsjö [Thu, 25 Mar 2010 22:04:41 +0000 (22:04 +0000)]
Simplify ff_rtsp_send_cmd_with_content_async, remove an unnecessary buffer

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

9 years agoRemove a redundant null pointer check
Martin Storsjö [Thu, 25 Mar 2010 21:53:42 +0000 (21:53 +0000)]
Remove a redundant null pointer check

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

9 years agoDon't force basic auth in RTSP, but retry with the server-specified method on failure
Martin Storsjö [Thu, 25 Mar 2010 21:49:43 +0000 (21:49 +0000)]
Don't force basic auth in RTSP, but retry with the server-specified method on failure

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

9 years agoActually parse the auth headers in RTSP
Martin Storsjö [Thu, 25 Mar 2010 21:48:58 +0000 (21:48 +0000)]
Actually parse the auth headers in RTSP

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

9 years agoMake RTSP use the generic http authentication code
Martin Storsjö [Thu, 25 Mar 2010 21:47:33 +0000 (21:47 +0000)]
Make RTSP use the generic http authentication code

Still hardcoded to use Basic auth, without parsing the reply headers

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

9 years agoAdd separate method/url parameters to the rtsp_send_cmd functions
Martin Storsjö [Thu, 25 Mar 2010 21:46:14 +0000 (21:46 +0000)]
Add separate method/url parameters to the rtsp_send_cmd functions

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

9 years agoMake wmaprodec.c:decode_init() return AVERROR_INVALIDDATA /
Stefano Sabatini [Thu, 25 Mar 2010 21:01:35 +0000 (21:01 +0000)]
Make wmaprodec.c:decode_init() return AVERROR_INVALIDDATA /
AVERROR_PATCHWELCOME in case of invalid / unsupported number of
channels specified, rather than return AVERROR_NOTSUPP.

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

9 years ago10l, update ref value for ffm since default flags changed and are stored in the file
Baptiste Coudurier [Thu, 25 Mar 2010 20:45:26 +0000 (20:45 +0000)]
10l, update ref value for ffm since default flags changed and are stored in the file

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

9 years agoReindent
Martin Storsjö [Thu, 25 Mar 2010 19:47:26 +0000 (19:47 +0000)]
Reindent

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

9 years agoEnable mbtree by default, and remove it from presets
Baptiste Coudurier [Thu, 25 Mar 2010 19:39:06 +0000 (19:39 +0000)]
Enable mbtree by default, and remove it from presets

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

9 years agoEnable more libx264 options, aq, psy, rc lookahead and ssim
Baptiste Coudurier [Thu, 25 Mar 2010 19:25:21 +0000 (19:25 +0000)]
Enable more libx264 options, aq, psy, rc lookahead and ssim

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

9 years agoMatroska muxer : Don't create audio tracks for unsupported audio codecs.
Jai Menon [Thu, 25 Mar 2010 14:34:19 +0000 (14:34 +0000)]
Matroska muxer : Don't create audio tracks for unsupported audio codecs.

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

9 years agoAdd a changelog entry for http digest auth
Martin Storsjö [Thu, 25 Mar 2010 14:01:38 +0000 (14:01 +0000)]
Add a changelog entry for http digest auth

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

9 years agoAdd support for http digest authentication
Martin Storsjö [Thu, 25 Mar 2010 13:58:26 +0000 (13:58 +0000)]
Add support for http digest authentication

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

9 years agoReindent
Martin Storsjö [Thu, 25 Mar 2010 07:14:41 +0000 (07:14 +0000)]
Reindent

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

9 years agoAdd a lowercase parameter to ff_data_to_hex
Martin Storsjö [Thu, 25 Mar 2010 07:13:20 +0000 (07:13 +0000)]
Add a lowercase parameter to ff_data_to_hex

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

9 years agoMake audio_read_packet() return AVERROR_EOF rather than AVERROR(EOF) =
Stefano Sabatini [Thu, 25 Mar 2010 00:41:54 +0000 (00:41 +0000)]
Make audio_read_packet() return AVERROR_EOF rather than AVERROR(EOF) =
AVERROR(-1) = 1.

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

9 years agoMake ff_rtsp_send_cmd simply call ff_rtsp_send_cmd_with_content
Martin Storsjö [Wed, 24 Mar 2010 23:06:58 +0000 (23:06 +0000)]
Make ff_rtsp_send_cmd simply call ff_rtsp_send_cmd_with_content

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

9 years agoFix warnings in NUT demuxer:
Vitor Sessak [Wed, 24 Mar 2010 22:44:06 +0000 (22:44 +0000)]
Fix warnings in NUT demuxer:

libavformat/nutdec.c: In function ‘read_seek’:
libavformat/nutdec.c:862: warning: passing argument 4 of ‘av_tree_find’ from incompatible pointer type
./libavutil/tree.h:44: note: expected ‘void **’ but argument is of type ‘struct Syncpoint **’
libavformat/nutdec.c:871: warning: passing argument 4 of ‘av_tree_find’ from incompatible pointer type
./libavutil/tree.h:44: note: expected ‘void **’ but argument is of type ‘struct Syncpoint **’

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

9 years agoIssue a warning if the received CSeq isn't the expected one
Luca Barbato [Wed, 24 Mar 2010 22:38:48 +0000 (22:38 +0000)]
Issue a warning if the received CSeq isn't the expected one

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

9 years agoSplit out http authentication handling into a separate file
Martin Storsjö [Wed, 24 Mar 2010 22:32:05 +0000 (22:32 +0000)]
Split out http authentication handling into a separate file

This prepares for adding support for more authentication methods

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

9 years agoFix warning:
Vitor Sessak [Wed, 24 Mar 2010 19:58:12 +0000 (19:58 +0000)]
Fix warning:
libavformat/nut.c: In function ‘ff_nut_free_sp’:
libavformat/nut.c:80: warning: passing argument 4 of ‘av_tree_enumerate’ from incompatible pointer type
./libavutil/tree.h:92: note: expected ‘int (*)(void *, void *)’ but argument is of type ‘void (*)(void *, void *)’

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

9 years agoHandle errors returned from ff_rtsp_read_reply in udp_read_packet properly
Martin Storsjö [Wed, 24 Mar 2010 18:52:27 +0000 (18:52 +0000)]
Handle errors returned from ff_rtsp_read_reply in udp_read_packet properly

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

9 years agoMove put_le16_nolen() to asf.c and give it a ff_ prefix. This way, it is easier
Zhentan Feng [Wed, 24 Mar 2010 18:40:43 +0000 (18:40 +0000)]
Move put_le16_nolen() to asf.c and give it a ff_ prefix. This way, it is easier
to share it with e.g. MMS.

Patch by Zhentan Feng <spyfeng gmail com>.

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

9 years agoaacenc: Merge quantize_band_cost() with quantize_and_encode_band().
Alex Converse [Wed, 24 Mar 2010 17:09:21 +0000 (17:09 +0000)]
aacenc: Merge quantize_band_cost() with quantize_and_encode_band().

If these two functions aren't matched results may be unexpected.

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

9 years agoSilence ridiculous gcc warning.
Carl Eugen Hoyos [Wed, 24 Mar 2010 11:11:25 +0000 (11:11 +0000)]
Silence ridiculous gcc warning.

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

9 years agoMask away AVSEEK_FORCE properly in some checks in url_fseek()
Tomas Härdin [Wed, 24 Mar 2010 10:41:58 +0000 (10:41 +0000)]
Mask away AVSEEK_FORCE properly in some checks in url_fseek()
Patch by Tomas Härdin $(name).$(s/ä/a/ $(surname)) AT codemill DOT se

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

9 years agoPut ff_flac_write_header() in a separate C file to allow it to be shared without
Justin Ruggles [Tue, 23 Mar 2010 23:58:45 +0000 (23:58 +0000)]
Put ff_flac_write_header() in a separate C file to allow it to be shared without
duplicating code or adding a dependency on vorbiscomment.o.

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

9 years agox11grab: AVFormatParameters are always passed from av_open_input_stream(),
Ramiro Polla [Tue, 23 Mar 2010 23:35:36 +0000 (23:35 +0000)]
x11grab: AVFormatParameters are always passed from av_open_input_stream(),
there is no need to check for it.

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

9 years agoAltiVec implies a PPC CPU, so there is no need to check for both.
Diego Biurrun [Tue, 23 Mar 2010 22:59:14 +0000 (22:59 +0000)]
AltiVec implies a PPC CPU, so there is no need to check for both.

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

9 years agoDo not compile AltiVec code when AltiVec is not available; not even in
Diego Biurrun [Tue, 23 Mar 2010 20:12:52 +0000 (20:12 +0000)]
Do not compile AltiVec code when AltiVec is not available; not even in
runtime cpudetection mode.
Fixes compilation with '--enable-runtime-cpudetect --disable-altivec'.

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

9 years agoBump minor version, I forgot in the last commit
Vitor Sessak [Tue, 23 Mar 2010 20:03:20 +0000 (20:03 +0000)]
Bump minor version, I forgot in the last commit

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

9 years agoImplement the discrete sine/cosine transforms DCT-I and DST-I
Vitor Sessak [Tue, 23 Mar 2010 19:48:16 +0000 (19:48 +0000)]
Implement the discrete sine/cosine transforms DCT-I and DST-I

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

9 years agoAlways check if ff_alloc_picture() succeeds.
Pavel Pavlov [Tue, 23 Mar 2010 17:58:39 +0000 (17:58 +0000)]
Always check if ff_alloc_picture() succeeds.

Patch by Pavel Pavlov, pavel summit-tech ca

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

9 years agoRemove unused variable, fixes the warning:
Diego Biurrun [Tue, 23 Mar 2010 17:55:08 +0000 (17:55 +0000)]
Remove unused variable, fixes the warning:
libavcodec/h264.c:1562: warning: unused variable `s'

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

9 years agoAdd a loop option to ffplay.
Robert Krüger [Tue, 23 Mar 2010 17:39:51 +0000 (17:39 +0000)]
Add a loop option to ffplay.

Patch by Robert Krüger, krueger signal7 de

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

9 years agoFix seeking in DV when filesize is unknown.
Tomas Härdin [Tue, 23 Mar 2010 17:22:25 +0000 (17:22 +0000)]
Fix seeking in DV when filesize is unknown.

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

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

9 years agoHandle multiple RTSP transport options properly by adding all of them into the mask
Martin Storsjö [Tue, 23 Mar 2010 08:00:37 +0000 (08:00 +0000)]
Handle multiple RTSP transport options properly by adding all of them into the mask

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

9 years agoParse options in the RTSP URL only from the last question mark onwards
Martin Storsjö [Tue, 23 Mar 2010 07:59:23 +0000 (07:59 +0000)]
Parse options in the RTSP URL only from the last question mark onwards

This helps if the URL (erroneously?) contains question marks within the path.

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

9 years agoReconstruct the RTSP URL, in order to remove the auth part from the URL sent to the...
Martin Storsjö [Tue, 23 Mar 2010 07:55:15 +0000 (07:55 +0000)]
Reconstruct the RTSP URL, in order to remove the auth part from the URL sent to the server

Don't modify the user-specified s->filename at all, keep all modifications
locally and in rt->control_uri.

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

9 years agoARM: NEON optimised RDFT
Måns Rullgård [Tue, 23 Mar 2010 03:35:02 +0000 (03:35 +0000)]
ARM: NEON optimised RDFT

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

9 years agoChange ref_index structure so it matches how its organized in h264.
Michael Niedermayer [Tue, 23 Mar 2010 02:17:04 +0000 (02:17 +0000)]
Change ref_index structure so it matches how its organized in h264.
Also revert the related error concealment hotfix.

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

9 years agoMove ff_flac_write_header() to flacenc.h, which removes the Matroska muxer's
Justin Ruggles [Mon, 22 Mar 2010 21:58:38 +0000 (21:58 +0000)]
Move ff_flac_write_header() to flacenc.h, which removes the Matroska muxer's
dependency on flacenc.o and fixes the unnecessary dependency on vorbiscomment.o.

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

9 years agoDisallow VLC coding with more than 8 bits as there are several bugs
Michael Niedermayer [Mon, 22 Mar 2010 21:12:31 +0000 (21:12 +0000)]
Disallow VLC coding with more than 8 bits as there are several bugs
in that code that could lead to broken files.
AC coding is unaffected.

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

9 years agoDont senselessly fail on rawvideo that isnt 3 files per frame.
Michael Niedermayer [Mon, 22 Mar 2010 20:18:42 +0000 (20:18 +0000)]
Dont senselessly fail on rawvideo that isnt 3 files per frame.

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

9 years agoRTP depacketization of Theora
Josh Allmann [Mon, 22 Mar 2010 16:26:29 +0000 (16:26 +0000)]
RTP depacketization of Theora

Patch by Josh Allmann (joshua allmann gmail com)

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

9 years agoReindent
Martin Storsjö [Mon, 22 Mar 2010 15:07:36 +0000 (15:07 +0000)]
Reindent

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

9 years agoAdd support for TCP as lower transport in the RTSP muxer
Martin Storsjö [Mon, 22 Mar 2010 15:07:05 +0000 (15:07 +0000)]
Add support for TCP as lower transport in the RTSP muxer

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

9 years agoThrow out last experimental warning that was printed for colorspaces with more than
Michael Niedermayer [Mon, 22 Mar 2010 15:04:11 +0000 (15:04 +0000)]
Throw out last experimental warning that was printed for colorspaces with more than
8 bits per component. This does no good except scaring users away.

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

9 years agoAdd doxygen docs for av_xiphlacing
Josh Allmann [Mon, 22 Mar 2010 14:57:50 +0000 (14:57 +0000)]
Add doxygen docs for av_xiphlacing

Patch by Josh Allmann (joshua allmann gmail com)

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

9 years agoInterpret valueless attributes in AMR ftmp lines as being 1
Martin Storsjö [Mon, 22 Mar 2010 14:44:28 +0000 (14:44 +0000)]
Interpret valueless attributes in AMR ftmp lines as being 1

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

9 years agoUse the caller's RTSPMessageHeader in rtsp_setup_input_streams
Martin Storsjö [Mon, 22 Mar 2010 14:42:52 +0000 (14:42 +0000)]
Use the caller's RTSPMessageHeader in rtsp_setup_input_streams

Currently, the caller doesn't get the status_code and location for rediects,
since rtsp_setup_input_streams uses a copy of RTSPMessageHeader of its own.

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

9 years agoRemove the word "experimental"
Michael Niedermayer [Mon, 22 Mar 2010 14:26:17 +0000 (14:26 +0000)]
Remove the word "experimental"

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

9 years agoIgnore x264 build=0 as there is no such version, this restores previous
Michael Niedermayer [Sun, 21 Mar 2010 22:23:37 +0000 (22:23 +0000)]
Ignore x264 build=0 as there is no such version, this restores previous
behavior approximately.

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

9 years agoFix FLAC demuxer dependencies.
James Darnley [Sun, 21 Mar 2010 18:06:56 +0000 (18:06 +0000)]
Fix FLAC demuxer dependencies.
Patch by James Darnley <james darnley at gmail>

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

9 years agoDrop AVERROR_NOFMT at the next libavutil major bump.
Stefano Sabatini [Sun, 21 Mar 2010 16:34:06 +0000 (16:34 +0000)]
Drop AVERROR_NOFMT at the next libavutil major bump.

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

9 years agoMake av_open_input_file() return AVERROR_INVALIDDATA rather than
Stefano Sabatini [Sun, 21 Mar 2010 16:34:04 +0000 (16:34 +0000)]
Make av_open_input_file() return AVERROR_INVALIDDATA rather than
AVERROR_NOFMT if the format is unknown / cannot be recognized.

It is returned AVERROR_INVALIDDATA, in the sense that the data is
invalid within what the specific libav* binary supports.

That was the last remaining use of AVERROR_NOFMT, which is going to be
dropped at the next libavutil major bump.

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

9 years agoMake g729dec.c:decode_frame() return AVERROR_INVALIDDATA rather than
Stefano Sabatini [Sun, 21 Mar 2010 16:34:01 +0000 (16:34 +0000)]
Make g729dec.c:decode_frame() return AVERROR_INVALIDDATA rather than
AVERROR_NOFMT in case of invalid / unknown packet size.

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

9 years agoDo not use puts, it adds additional newlines making the generated files
Reimar Döffinger [Sun, 21 Mar 2010 16:29:08 +0000 (16:29 +0000)]
Do not use puts, it adds additional newlines making the generated files
needlessly ugly.

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

9 years agoAdd support for hard-coding the 256kB large dv_vlc_map table.
Reimar Döffinger [Sun, 21 Mar 2010 16:03:45 +0000 (16:03 +0000)]
Add support for hard-coding the 256kB large dv_vlc_map table.

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

9 years agoExtend and move macros to create table printing functions to header.
Reimar Döffinger [Sun, 21 Mar 2010 14:46:32 +0000 (14:46 +0000)]
Extend and move macros to create table printing functions to header.
Simplifies creating custom functions for printing DV VLC-related tables.

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