libav.git
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)]
indent

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
types.

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)]
Increase VIDEO_PICTURE_QUEUE_SIZE to 2.
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)]
reindent

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
addresses.

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

10 years agomkvenc: Don't try to write packets with unknown timestamps
David Conrad [Tue, 9 Mar 2010 04:23:33 +0000 (04:23 +0000)]
mkvenc: Don't try to write packets with unknown timestamps

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

10 years agomkvenc: write dts for VFW mode
David Conrad [Tue, 9 Mar 2010 04:23:28 +0000 (04:23 +0000)]
mkvenc: write dts for VFW mode

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

10 years agoFix encoder metadata string langcode in mov muxer
Baptiste Coudurier [Tue, 9 Mar 2010 01:53:16 +0000 (01:53 +0000)]
Fix encoder metadata string langcode in mov muxer

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

10 years agoCorrectly mark mov metadata as utf-8, using iso language code
Baptiste Coudurier [Tue, 9 Mar 2010 01:21:09 +0000 (01:21 +0000)]
Correctly mark mov metadata as utf-8, using iso language code

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

10 years agoBump avcodec minor version for kgv1 decoder
Daniel Verkamp [Tue, 9 Mar 2010 01:20:20 +0000 (01:20 +0000)]
Bump avcodec minor version for kgv1 decoder

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

10 years agoFix build on configurations without fast av_log2()
Måns Rullgård [Tue, 9 Mar 2010 01:19:28 +0000 (01:19 +0000)]
Fix build on configurations without fast av_log2()

This is a bit hackish.  I will try to think of something nicer, but
this will do for now.

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

10 years agoIn mov demuxer, convert mac encoded strings to utf-8
Baptiste Coudurier [Tue, 9 Mar 2010 01:03:42 +0000 (01:03 +0000)]
In mov demuxer, convert mac encoded strings to utf-8

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

10 years agoKega Game Video (KGV1) decoder
Daniel Verkamp [Tue, 9 Mar 2010 01:03:09 +0000 (01:03 +0000)]
Kega Game Video (KGV1) decoder

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

10 years agoPreallocate index entries in mov demuxer, huge speedup
Baptiste Coudurier [Tue, 9 Mar 2010 00:46:26 +0000 (00:46 +0000)]
Preallocate index entries in mov demuxer, huge speedup

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

10 years agoFix interlaced vc-3 decoding, issue #1753
Baptiste Coudurier [Tue, 9 Mar 2010 00:37:13 +0000 (00:37 +0000)]
Fix interlaced vc-3 decoding, issue #1753

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

10 years agovp3: Set pict_type
David Conrad [Tue, 9 Mar 2010 00:29:26 +0000 (00:29 +0000)]
vp3: Set pict_type

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

10 years agovp3: Allocate a dummy reference frame if we have no keyframe
David Conrad [Tue, 9 Mar 2010 00:29:22 +0000 (00:29 +0000)]
vp3: Allocate a dummy reference frame if we have no keyframe

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

10 years agovp3: use FF_BUFFER_TYPE_COPY
David Conrad [Tue, 9 Mar 2010 00:29:19 +0000 (00:29 +0000)]
vp3: use FF_BUFFER_TYPE_COPY

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

10 years agovp3: Don't leak buffers on errors
David Conrad [Tue, 9 Mar 2010 00:29:16 +0000 (00:29 +0000)]
vp3: Don't leak buffers on errors

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

10 years agovp3: Simplify buffer management
David Conrad [Tue, 9 Mar 2010 00:29:12 +0000 (00:29 +0000)]
vp3: Simplify buffer management

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

10 years agovp3: be less spammy on broken files
David Conrad [Tue, 9 Mar 2010 00:29:09 +0000 (00:29 +0000)]
vp3: be less spammy on broken files

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

10 years agoIn mpegts muxer, write adts header if aac bitstream does not contain it
Baptiste Coudurier [Tue, 9 Mar 2010 00:18:49 +0000 (00:18 +0000)]
In mpegts muxer, write adts header if aac bitstream does not contain it

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