10 years agoDon't use shell syntax to set variables for make.
Ramiro Polla [Fri, 12 Mar 2010 02:23:59 +0000 (02:23 +0000)]
Don't use shell syntax to set variables for make.

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

10 years agoFix spelling.
Ronald S. Bultje [Thu, 11 Mar 2010 17:42:53 +0000 (17:42 +0000)]
Fix spelling.

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

10 years agoFix a crash in the H.263 RTP packetizer
Martin Storsjö [Thu, 11 Mar 2010 16:26:14 +0000 (16:26 +0000)]
Fix a crash in the H.263 RTP packetizer

If size == 1 and buf[0] == 0 and buf[1] == 0 (the first byte after the
buffer), it would set size = -1 and crash in the later memcpy.

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

10 years agoPrevent memory leak introduced in r22389 in Bink demuxer: pass partial packets to...
Peter Ross [Thu, 11 Mar 2010 12:29:02 +0000 (12:29 +0000)]
Prevent memory leak introduced in r22389 in Bink demuxer: pass partial packets to decoder.

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

10 years agoMake rdft speed user configureable.
Michael Niedermayer [Thu, 11 Mar 2010 11:25:51 +0000 (11:25 +0000)]
Make rdft speed user configureable.
Change default speed back to a slower variant.

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

10 years agoMake binkaudio work with ff_float_to_int16_interleave_c (martin at martin dot st)
Peter Ross [Thu, 11 Mar 2010 10:52:34 +0000 (10:52 +0000)]
Make binkaudio work with ff_float_to_int16_interleave_c (martin at martin dot st)

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

10 years agoCosmetics, break a long line, fix brace placement
Martin Storsjö [Thu, 11 Mar 2010 08:33:04 +0000 (08:33 +0000)]
Cosmetics, break a long line, fix brace placement

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

10 years agoRTSP muxer: Create the SDP with the numerical IP of the peer
Martin Storsjö [Thu, 11 Mar 2010 08:24:18 +0000 (08:24 +0000)]
RTSP muxer: Create the SDP with the numerical IP of the peer
instead of using the original host name

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

10 years agooggdec: Seek to keyframes
David Conrad [Thu, 11 Mar 2010 07:18:00 +0000 (07:18 +0000)]
oggdec: Seek to keyframes

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

10 years agooggdec: Determine pts and filepos on a packet basis in read_timestamp
David Conrad [Thu, 11 Mar 2010 07:17:56 +0000 (07:17 +0000)]
oggdec: Determine pts and filepos on a packet basis in read_timestamp

This takes into account whether the granule defines the start or end times
of packets, and sets the correct file offset of the associated page.

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

10 years agooggdec: Move PTS/DTS calculation to a function
David Conrad [Thu, 11 Mar 2010 07:17:53 +0000 (07:17 +0000)]
oggdec: Move PTS/DTS calculation to a function

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

10 years agooggdec: Fix memory leak in setting up vorbis headers
David Conrad [Thu, 11 Mar 2010 07:17:49 +0000 (07:17 +0000)]
oggdec: Fix memory leak in setting up vorbis headers

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

10 years agooggdec: Don't use ogg_stream's seq for vorbis or speex headers
David Conrad [Thu, 11 Mar 2010 07:17:46 +0000 (07:17 +0000)]
oggdec: Don't use ogg_stream's seq for vorbis or speex headers

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

10 years agooggdec: Fix duration calculation for streams with non-zero start
David Conrad [Thu, 11 Mar 2010 07:17:43 +0000 (07:17 +0000)]
oggdec: Fix duration calculation for streams with non-zero start

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

10 years agooggdec: Parse skeleton to determine the start time of each stream
David Conrad [Thu, 11 Mar 2010 07:17:40 +0000 (07:17 +0000)]
oggdec: Parse skeleton to determine the start time of each stream

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

10 years agooggdec: Check that we have a codec in gptopts (needed for skeleton)
David Conrad [Thu, 11 Mar 2010 07:17:36 +0000 (07:17 +0000)]
oggdec: Check that we have a codec in gptopts (needed for skeleton)

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

10 years agooggdec: Move ogg_find_stream and ogg_gptopts to oggdec.h
David Conrad [Thu, 11 Mar 2010 07:17:33 +0000 (07:17 +0000)]
oggdec: Move ogg_find_stream and ogg_gptopts to oggdec.h

(skeleton will need them)

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

10 years agooggdec: Set data_offset to the right value
David Conrad [Thu, 11 Mar 2010 07:17:29 +0000 (07:17 +0000)]
oggdec: Set data_offset to the right value

Otherwise it gets set automatically to a page midstream and prevents seeking
to the first page.

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

10 years agooggdec: Save offset of the page needed to reconstruct the current packet
David Conrad [Thu, 11 Mar 2010 07:17:24 +0000 (07:17 +0000)]
oggdec: Save offset of the page needed to reconstruct the current packet

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

10 years agoImplement framedrop.
Michael Niedermayer [Thu, 11 Mar 2010 02:35:04 +0000 (02:35 +0000)]
Implement framedrop.
Replace SDL timer by a seperate thread, more accurate and less annoying.
frame drop is enabled by default, bug reports welcome.
Fixes issue1191

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

10 years agoindent
Måns Rullgård [Thu, 11 Mar 2010 02:32:14 +0000 (02:32 +0000)]

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

10 years agorandom_seed: try other alternatives if reading /dev/random fails
Måns Rullgård [Thu, 11 Mar 2010 02:32:11 +0000 (02:32 +0000)]
random_seed: try other alternatives if reading /dev/random fails

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

10 years agosha: add missing include
Måns Rullgård [Thu, 11 Mar 2010 02:32:08 +0000 (02:32 +0000)]
sha: add missing include

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

10 years agosnow: remove unused stub functions
Måns Rullgård [Thu, 11 Mar 2010 02:32:05 +0000 (02:32 +0000)]
snow: remove unused stub functions

w53_32_c() and w97_32_c() are defined as stubs when snow encoder is
disabled.  In this case, those functions are not referenced at all
and do thus not need to be defined.

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

10 years agoffplay: use correct format specifiers in printf()
Måns Rullgård [Thu, 11 Mar 2010 02:32:03 +0000 (02:32 +0000)]
ffplay: use correct format specifiers in printf()

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

10 years agoAdd some required casts
Måns Rullgård [Thu, 11 Mar 2010 02:32:01 +0000 (02:32 +0000)]
Add some required casts

These casts are correct and safe.  The pointers are guaranteed to
have proper alignment, and aliasing is not a problem with character

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

10 years agoconfigure: remove stray semicolon
Måns Rullgård [Thu, 11 Mar 2010 00:42:13 +0000 (00:42 +0000)]
configure: remove stray semicolon

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

10 years agoconfigure: use map() function in a couple of places
Måns Rullgård [Thu, 11 Mar 2010 00:39:06 +0000 (00:39 +0000)]
configure: use map() function in a couple of places

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

10 years agoconfigure: add --disable-everything option
Måns Rullgård [Thu, 11 Mar 2010 00:39:02 +0000 (00:39 +0000)]
configure: add --disable-everything option

This disables all codecs, formats, etc.  It saves some typing when
only a few components are desired.

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

10 years agoFix some apparent +- errors in the audio vissualization.
Michael Niedermayer [Wed, 10 Mar 2010 22:43:23 +0000 (22:43 +0000)]
Fix some apparent +- errors in the audio vissualization.
The bugs become only vissible at higher time resolution than what is
used currently.

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

10 years agosparc: fix a few pages of cast warnings
Måns Rullgård [Wed, 10 Mar 2010 22:24:46 +0000 (22:24 +0000)]
sparc: fix a few pages of cast warnings

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

10 years agosparc: fix dsputil prototypes
Måns Rullgård [Wed, 10 Mar 2010 22:24:42 +0000 (22:24 +0000)]
sparc: fix dsputil prototypes

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

10 years agoconfigure: allow mips64el and powerpc64 as values for --arch
Måns Rullgård [Wed, 10 Mar 2010 22:24:39 +0000 (22:24 +0000)]
configure: allow mips64el and powerpc64 as values for --arch

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

10 years agoMake the ntp_time function available to other parts of libavformat, as ff_ntp_time
Martin Storsjö [Wed, 10 Mar 2010 22:21:39 +0000 (22:21 +0000)]
Make the ntp_time function available to other parts of libavformat, as ff_ntp_time

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

10 years agoOnly use .size in ARM assembly when targeting ELF
Martin Storsjö [Wed, 10 Mar 2010 21:39:58 +0000 (21:39 +0000)]
Only use .size in ARM assembly when targeting ELF

This fixes compilation on mingw32ce

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

10 years agoOnly reschedule refresh if we successfully removed the scheduled one.
Michael Niedermayer [Wed, 10 Mar 2010 16:11:02 +0000 (16:11 +0000)]
Only reschedule refresh if we successfully removed the scheduled one.
Fixes some spurious error messages.

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

10 years agoIncrease VIDEO_PICTURE_QUEUE_SIZE to 2.
Michael Niedermayer [Wed, 10 Mar 2010 15:45:46 +0000 (15:45 +0000)]
this allows more asynchronous decoding and display thus improving
video smoothness.
It also seems to improve absolute video decoding speed for some reason

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

10 years agoDo not call SDL_SetVideoMode() with the same size as previously
Michael Niedermayer [Wed, 10 Mar 2010 15:39:31 +0000 (15:39 +0000)]
Do not call SDL_SetVideoMode() with the same size as previously
as this blanks the window.

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

10 years agoFix ffm_close return type.
Benoit Fouet [Wed, 10 Mar 2010 14:26:15 +0000 (14:26 +0000)]
Fix ffm_close return type.

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

10 years agoFix memory leak in FFM demuxer
Vitor Sessak [Wed, 10 Mar 2010 13:17:50 +0000 (13:17 +0000)]
Fix memory leak in FFM demuxer

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

10 years agoundef av_always_inline before redefining
Måns Rullgård [Wed, 10 Mar 2010 12:29:44 +0000 (12:29 +0000)]
undef av_always_inline before redefining

Fixes numerous warnings with --enable-small or --disable-optimizations.

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

10 years agoCheck level_prefix a bit (this just checks the max our bitreader can handle,
Michael Niedermayer [Wed, 10 Mar 2010 09:55:03 +0000 (09:55 +0000)]
Check level_prefix a bit (this just checks the max our bitreader can handle,
as i did nt find a limit in the spec)
This should stop cavlc_decode_residual() on a zero bitstream

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

10 years agoIn mpegts muxer, free adts context and temporary data
Baptiste Coudurier [Wed, 10 Mar 2010 09:20:32 +0000 (09:20 +0000)]
In mpegts muxer, free adts context and temporary data

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

10 years agoreindent
Baptiste Coudurier [Wed, 10 Mar 2010 09:19:14 +0000 (09:19 +0000)]

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

10 years agoInclude os_support.h which has a fallback declaration of socklen_t
Dave Yeo [Wed, 10 Mar 2010 07:44:51 +0000 (07:44 +0000)]
Include os_support.h which has a fallback declaration of socklen_t

This fixes compilation on some OSes

Patch by Dave Yeo, daveryeo at telus dot net

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

10 years agoUsing struct timeval requires sys/time.h, fixes compilation on some OSes
Dave Yeo [Wed, 10 Mar 2010 07:43:56 +0000 (07:43 +0000)]
Using struct timeval requires sys/time.h, fixes compilation on some OSes

Patch by Dave Yeo, daveryeo at telus dot net

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

10 years agovfwcap: Add support for UYVY pixel format.
Ramiro Polla [Wed, 10 Mar 2010 05:25:06 +0000 (05:25 +0000)]
vfwcap: Add support for UYVY pixel format.

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

10 years ago10l: fix version.h generation
Måns Rullgård [Wed, 10 Mar 2010 03:10:26 +0000 (03:10 +0000)]
10l: fix version.h generation

Note to self: always test in a clean directory

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

10 years agoRemove .SECONDARY directive
Måns Rullgård [Wed, 10 Mar 2010 02:57:01 +0000 (02:57 +0000)]
Remove .SECONDARY directive

The presence of the .SECONDARY directive caused thing to not always
be correctly rebuilt.  Mentioning the object files explicitly as
targets gives the desired result of make not deleting them without
unpleasant side-effects.

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

10 years agoMake version.h depend on git changes
Måns Rullgård [Wed, 10 Mar 2010 02:56:59 +0000 (02:56 +0000)]
Make version.h depend on git changes

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

10 years agoImprove version.h generation
Måns Rullgård [Wed, 10 Mar 2010 02:56:56 +0000 (02:56 +0000)]
Improve version.h generation

Force version.sh to run whenever the version might have changed,
regardless of what is being built.  This is done by attaching the
dependencies to a dummy file (.version) which is included from the
makefile.  As make will always attempt to rebuild any included files
before considering other rules, this ensures that the real version.h
is (re-)created before it is required by any source file.

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

10 years agoReplace $(G) with more generic $(M) in silent make rules
Måns Rullgård [Wed, 10 Mar 2010 02:56:52 +0000 (02:56 +0000)]
Replace $(G) with more generic $(M) in silent make rules

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

10 years agoPrettify make output for documentation
Måns Rullgård [Wed, 10 Mar 2010 02:56:50 +0000 (02:56 +0000)]
Prettify make output for documentation

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

10 years agoChange dir into doc/ when running texi2html
Måns Rullgård [Wed, 10 Mar 2010 02:56:47 +0000 (02:56 +0000)]
Change dir into doc/ when running texi2html

This silly program always writes its output to the current directory.
Changing directory is better than moving the file afterwards.

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

10 years agovp3: avoid buffer overread in coeff decode
David Conrad [Wed, 10 Mar 2010 00:59:32 +0000 (00:59 +0000)]
vp3: avoid buffer overread in coeff decode

I couldn't measure it to be slower for normal interframe videos.
For the worst case, high-bitrate intra-only videos, it can be 0.7% slower.

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

10 years agoFix indentation after r22414.
Carl Eugen Hoyos [Tue, 9 Mar 2010 23:37:45 +0000 (23:37 +0000)]
Fix indentation after r22414.

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

10 years agoSIMD optimization using float_to_int16_interleave.
Zhou Zongyi [Tue, 9 Mar 2010 23:35:57 +0000 (23:35 +0000)]
SIMD optimization using float_to_int16_interleave.

Patch by Zhou Zongyi, zhouzy A os D pku D edu D cn

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

10 years agoaacsbr: Check that bs_num_env is valid before writing arrays with it as an offset.
Alex Converse [Tue, 9 Mar 2010 21:50:10 +0000 (21:50 +0000)]
aacsbr: Check that bs_num_env is valid before writing arrays with it as an offset.

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

10 years agoaacsbr: Cleanup read_sbr_grid and copy_sbr_grid after the recent overhaul of those...
Alex Converse [Tue, 9 Mar 2010 21:46:46 +0000 (21:46 +0000)]
aacsbr: Cleanup read_sbr_grid and copy_sbr_grid after the recent overhaul of those functions.

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

10 years agoaacsbr: Factor out the common end border case from t_q setup.
Alex Converse [Tue, 9 Mar 2010 21:35:55 +0000 (21:35 +0000)]
aacsbr: Factor out the common end border case from t_q setup.

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

10 years agoaacsbr: read bs_rel_bord directly into t_env.
Alex Converse [Tue, 9 Mar 2010 21:29:43 +0000 (21:29 +0000)]
aacsbr: read bs_rel_bord directly into t_env.

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

10 years agoaacsbr: Make the previous value of bs_num_env local to read_sbr_data().
Alex Converse [Tue, 9 Mar 2010 20:46:41 +0000 (20:46 +0000)]
aacsbr: Make the previous value of bs_num_env local to read_sbr_data().

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

10 years agoaacsbr: Initialize e_a[1] to -1.
Alex Converse [Tue, 9 Mar 2010 20:16:14 +0000 (20:16 +0000)]
aacsbr: Initialize e_a[1] to -1.

This triggers lAPrev (e_a[0]) on the first SBR frame to be -1. The spec is
somewhat ambiguous to what this value should be but this increases the accuracy
of al_sbr_e_44_1 and similar streams from 14 bits to 15 bits.

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

10 years agoReplace many includes of libavutil/common.h with what is actually needed
Måns Rullgård [Tue, 9 Mar 2010 17:39:19 +0000 (17:39 +0000)]
Replace many includes of libavutil/common.h with what is actually needed

This reduces the number of false dependencies on header files and
speeds up compilation.

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

10 years agoDocs: Place the vorbis comment properly, currently it's shown above the table
Martin Storsjö [Tue, 9 Mar 2010 16:44:10 +0000 (16:44 +0000)]
Docs: Place the vorbis comment properly, currently it's shown above the table

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

10 years agolibm.h needs attributes.h
Måns Rullgård [Tue, 9 Mar 2010 16:17:59 +0000 (16:17 +0000)]
libm.h needs attributes.h

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

10 years agoARM: set size of asm functions in object files
Måns Rullgård [Tue, 9 Mar 2010 16:17:56 +0000 (16:17 +0000)]
ARM: set size of asm functions in object files

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

10 years agoUse rt->control_uri consequently instead of s->filename in all RTSP commands
Martin Storsjö [Tue, 9 Mar 2010 16:04:41 +0000 (16:04 +0000)]
Use rt->control_uri consequently instead of s->filename in all RTSP commands

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

10 years agoReplace some printf() with puts() in tableprint.c
Måns Rullgård [Tue, 9 Mar 2010 15:56:19 +0000 (15:56 +0000)]
Replace some printf() with puts() in tableprint.c

This gets rid of a gcc warning about non-literal format strings.

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

10 years agoPrettify make output when generating headers
Måns Rullgård [Tue, 9 Mar 2010 15:56:16 +0000 (15:56 +0000)]
Prettify make output when generating headers

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

10 years agoAdd special case to avoid binary search when appending index entries.
Michael Niedermayer [Tue, 9 Mar 2010 15:19:23 +0000 (15:19 +0000)]
Add special case to avoid binary search when appending index entries.

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

10 years agoMove libm replacements to new header libm.h
Måns Rullgård [Tue, 9 Mar 2010 15:10:23 +0000 (15:10 +0000)]
Move libm replacements to new header libm.h

ffmpeg.c uses lrintf(), which is missing on some systems.  Previously
it picked up the replacement via libavutil/internal.h due to
HAVE_AV_CONFIG_H being erroneously defined.

Moving these replacements to a separate header enables ffmpeg.c to
use them without being exposed to internal interfaces.

This use of a non-public header is justified by the header in question
not being part of the internal interface either.  It should rather be
considered as part of the build system, which is shared between the
libraries and the applications.

This header cannot be installed since the tested conditions depend on
the compiler.

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

10 years agoRTSP: Resolve and use the actual IP address of the peer we're connected to,
Martin Storsjö [Tue, 9 Mar 2010 14:59:40 +0000 (14:59 +0000)]
RTSP: Resolve and use the actual IP address of the peer we're connected to,
instead of using the original host name, since the RTP (and UDP) protocols
may choose another IP address if the host name resolves into several different

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

10 years agoReorder some make rules
Måns Rullgård [Tue, 9 Mar 2010 14:58:29 +0000 (14:58 +0000)]
Reorder some make rules

I like it better this way.

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

10 years agoRemove superflous ifdef CONFIG_{STATIC,SHARED} in makefiles
Måns Rullgård [Tue, 9 Mar 2010 14:58:25 +0000 (14:58 +0000)]
Remove superflous ifdef CONFIG_{STATIC,SHARED} in makefiles

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

10 years agoconfigure: always write shared lib variables to config.mak
Måns Rullgård [Tue, 9 Mar 2010 14:58:22 +0000 (14:58 +0000)]
configure: always write shared lib variables to config.mak

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

10 years agoSimplify static/shared build rules
Måns Rullgård [Tue, 9 Mar 2010 14:58:18 +0000 (14:58 +0000)]
Simplify static/shared build rules

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

10 years agoMove some make rules outside of eval'd block
Måns Rullgård [Tue, 9 Mar 2010 14:58:15 +0000 (14:58 +0000)]
Move some make rules outside of eval'd block

These rules use only global variables and thus do not need to be expanded.

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

10 years agocosmetic: move some makefile variable definitions
Måns Rullgård [Tue, 9 Mar 2010 14:58:11 +0000 (14:58 +0000)]
cosmetic: move some makefile variable definitions

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

10 years agoRemove duplicates from OBJS
Måns Rullgård [Tue, 9 Mar 2010 14:58:08 +0000 (14:58 +0000)]
Remove duplicates from OBJS

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

10 years agoRemove static function name prefixes from American Laser Games MM demuxer
Peter Ross [Tue, 9 Mar 2010 12:37:13 +0000 (12:37 +0000)]
Remove static function name prefixes from American Laser Games MM demuxer

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

10 years agoEnsure Bink demuxer returns AVERROR code when av_get_packet() fails
Peter Ross [Tue, 9 Mar 2010 12:32:08 +0000 (12:32 +0000)]
Ensure Bink demuxer returns AVERROR code when av_get_packet() fails

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

10 years agoEnable tcp_protocol when enabling http
Peter Ross [Tue, 9 Mar 2010 12:09:55 +0000 (12:09 +0000)]
Enable tcp_protocol when enabling http

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

10 years agoaacsbr: Dead code removal.
Alex Converse [Tue, 9 Mar 2010 11:14:14 +0000 (11:14 +0000)]
aacsbr: Dead code removal.

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

10 years agoaacsbr: Remove a slightly incorrect comment.
Alex Converse [Tue, 9 Mar 2010 11:13:45 +0000 (11:13 +0000)]
aacsbr: Remove a slightly incorrect comment.

The two conditions are equivalent.

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

10 years agoRevert r22288 "Increase FF_INPUT_BUFFER_PADDING_SIZE to 64."
Alex Converse [Tue, 9 Mar 2010 10:32:34 +0000 (10:32 +0000)]
Revert r22288 "Increase FF_INPUT_BUFFER_PADDING_SIZE to 64."

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

10 years agoaacsbr: Cleanup the newly merged read_sbr_grid, eliminating several context
Alex Converse [Tue, 9 Mar 2010 10:27:35 +0000 (10:27 +0000)]
aacsbr: Cleanup the newly merged read_sbr_grid, eliminating several context
and some duplicate local variables.

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

10 years agoaacsbr: Move the e_a calculation from sbr_mapping() to read_sbr_grid().
Alex Converse [Tue, 9 Mar 2010 10:26:54 +0000 (10:26 +0000)]
aacsbr: Move the e_a calculation from sbr_mapping() to read_sbr_grid().

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

10 years agoaacsbr: Merge sbr_time_freq_grid into read_sbr_grid (and into copy_sbr_grid).
Alex Converse [Tue, 9 Mar 2010 10:26:25 +0000 (10:26 +0000)]
aacsbr: Merge sbr_time_freq_grid into read_sbr_grid (and into copy_sbr_grid).

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

10 years agoaacsbr: Fail early on illegal envelope counts.
Alex Converse [Tue, 9 Mar 2010 10:25:42 +0000 (10:25 +0000)]
aacsbr: Fail early on illegal envelope counts.

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

10 years agoaacsbr: Check for illegal values of bs_pointer in sbr_read_grid().
Alex Converse [Tue, 9 Mar 2010 09:27:11 +0000 (09:27 +0000)]
aacsbr: Check for illegal values of bs_pointer in sbr_read_grid().

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

10 years agoRevert commit 22378.
Vitor Sessak [Tue, 9 Mar 2010 08:20:11 +0000 (08:20 +0000)]
Revert commit 22378.

It broke FATE and kostya asked me on IRC to revert it.

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

10 years agoFix compilation on powerpc with --disable-altivec
Reinhard Tartler [Tue, 9 Mar 2010 08:07:34 +0000 (08:07 +0000)]
Fix compilation on powerpc with --disable-altivec

in case altivec is disabled, even compilation of code using altivec
keywords or asm must be avoided.

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

10 years agoCheck for reference frames so RV 3/4 won't segfault trying to copy data from
Kostya Shishkov [Tue, 9 Mar 2010 07:14:34 +0000 (07:14 +0000)]
Check for reference frames so RV 3/4 won't segfault trying to copy data from
nonexisting reference.

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

10 years agovp3: correctly clip vp3_draw_horiz_band call
David Conrad [Tue, 9 Mar 2010 06:52:33 +0000 (06:52 +0000)]
vp3: correctly clip vp3_draw_horiz_band call

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

10 years ago10l: Include missing return values in functions made non-void by the previous commit.
Alex Converse [Tue, 9 Mar 2010 06:21:41 +0000 (06:21 +0000)]
10l: Include missing return values in functions made non-void by the previous commit.

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

10 years agoaacsbr: Propagate errors from read_sbr_grid to prevent crashes in malformatted streams.
Alex Converse [Tue, 9 Mar 2010 06:13:48 +0000 (06:13 +0000)]
aacsbr: Propagate errors from read_sbr_grid to prevent crashes in malformatted streams.

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

10 years agoAdd a missing fft.h include to the aacsbr decoder.
Georgi Chorbadzhiyski [Tue, 9 Mar 2010 06:11:45 +0000 (06:11 +0000)]
Add a missing fft.h include to the aacsbr decoder.

Patch by Georgi Chorbadzhiyski gf at unixsol dot org

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

10 years agoAdd missing build dependencies for the AAC decoder caused by adding of SBR.
Georgi Chorbadzhiyski [Tue, 9 Mar 2010 06:10:01 +0000 (06:10 +0000)]
Add missing build dependencies for the AAC decoder caused by adding of SBR.

Patch by Georgi Chorbadzhiyski gf at unixsol dor org

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

10 years agomkvenc: Handle negative timestamps correctly
David Conrad [Tue, 9 Mar 2010 04:23:36 +0000 (04:23 +0000)]
mkvenc: Handle negative timestamps correctly

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