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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 years agoIn mpegts muxer, search for h264 aud nal, it might not be the first nal.
Baptiste Coudurier [Mon, 8 Mar 2010 23:59:05 +0000 (23:59 +0000)]
In mpegts muxer, search for h264 aud nal, it might not be the first nal.
Improve ther error message when bitstream is malformated and tell user to use
the bitstream filter.

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

9 years agoRemove definition of match_ext(), which is declared under #ifdef
Stefano Sabatini [Mon, 8 Mar 2010 23:51:53 +0000 (23:51 +0000)]
Remove definition of match_ext(), which is declared under #ifdef
HAVE_AV_CONFIG_H and so not publicly declared, and currently unused.

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

9 years agompegts vbr muxing, activated when muxing rate is not supplied by the
Baptiste Coudurier [Mon, 8 Mar 2010 23:46:19 +0000 (23:46 +0000)]
mpegts vbr muxing, activated when muxing rate is not supplied by the
user.

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

9 years agoReplace last occurrence of the deprecated match_ext() with
Stefano Sabatini [Mon, 8 Mar 2010 23:46:04 +0000 (23:46 +0000)]
Replace last occurrence of the deprecated match_ext() with
av_match_ext().

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

9 years agoStart continuity counter at 0 for pmt as well
Baptiste Coudurier [Mon, 8 Mar 2010 22:44:03 +0000 (22:44 +0000)]
Start continuity counter at 0 for pmt as well

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

9 years agoMore descriptive names for av_stristr() parameters
Måns Rullgård [Mon, 8 Mar 2010 22:16:05 +0000 (22:16 +0000)]
More descriptive names for av_stristr() parameters

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

9 years agocosmetics: indent
Måns Rullgård [Mon, 8 Mar 2010 21:29:01 +0000 (21:29 +0000)]
cosmetics: indent

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

9 years agoMerge two adjacent ifdef blocks
Måns Rullgård [Mon, 8 Mar 2010 21:28:58 +0000 (21:28 +0000)]
Merge two adjacent ifdef blocks

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

9 years agoMove gcc attribute macros to new header libavutil/attributes.h
Måns Rullgård [Mon, 8 Mar 2010 21:28:56 +0000 (21:28 +0000)]
Move gcc attribute macros to new header libavutil/attributes.h

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

9 years agoMove ff_sqrt() to libavutil/intmath.h
Måns Rullgård [Mon, 8 Mar 2010 21:19:56 +0000 (21:19 +0000)]
Move ff_sqrt() to libavutil/intmath.h

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

9 years agoStart continuity counter at 0 for streams
Baptiste Coudurier [Mon, 8 Mar 2010 20:59:00 +0000 (20:59 +0000)]
Start continuity counter at 0 for streams

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

9 years ago10l typo, fix ts total bit rate computation
Baptiste Coudurier [Mon, 8 Mar 2010 20:57:42 +0000 (20:57 +0000)]
10l typo, fix ts total bit rate computation

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

9 years agoAdd missing includes in bfin and sh4 files
Måns Rullgård [Mon, 8 Mar 2010 20:17:51 +0000 (20:17 +0000)]
Add missing includes in bfin and sh4 files

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

9 years agocheckheaders: skip per-arch headers not meant for direct inclusion
Måns Rullgård [Mon, 8 Mar 2010 20:17:47 +0000 (20:17 +0000)]
checkheaders: skip per-arch headers not meant for direct inclusion

Some of the per-arch headers are only meant to be used through
the parent header of the same name.  Testing these standalone
does not make sense.

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

9 years agoARM: add some missing includes
Måns Rullgård [Mon, 8 Mar 2010 19:59:54 +0000 (19:59 +0000)]
ARM: add some missing includes

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

9 years agoCheck for allocation failure for c->lumMmx2FilterCode and c->chrMmx2FilterCode.
Reimar Döffinger [Mon, 8 Mar 2010 19:41:57 +0000 (19:41 +0000)]
Check for allocation failure for c->lumMmx2FilterCode and c->chrMmx2FilterCode.

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

9 years agoFix memleak due to incorrect VirtualFree arguments: size must be 0 for MEM_RELEASE.
Reimar Döffinger [Mon, 8 Mar 2010 19:37:10 +0000 (19:37 +0000)]
Fix memleak due to incorrect VirtualFree arguments: size must be 0 for MEM_RELEASE.

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

9 years agoARM: fix dct-test
Måns Rullgård [Mon, 8 Mar 2010 19:00:05 +0000 (19:00 +0000)]
ARM: fix dct-test

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

9 years agoSkip mpegaudio3.h in checkheaders
Måns Rullgård [Mon, 8 Mar 2010 18:54:39 +0000 (18:54 +0000)]
Skip mpegaudio3.h in checkheaders

This unused header is a placeholder for work in progress(?).

This makes checkheaders pass again.

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

9 years agoAdd lots of missing includes
Måns Rullgård [Mon, 8 Mar 2010 18:43:52 +0000 (18:43 +0000)]
Add lots of missing includes

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

9 years agoSkip the tablegen fragments in checkheaders
Måns Rullgård [Mon, 8 Mar 2010 18:43:47 +0000 (18:43 +0000)]
Skip the tablegen fragments in checkheaders

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

9 years agoAdd TESTOBJS make variable for extra objects used by test apps
Måns Rullgård [Mon, 8 Mar 2010 18:43:44 +0000 (18:43 +0000)]
Add TESTOBJS make variable for extra objects used by test apps

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

9 years agoRemove unused fast_memcpy() function in dct-test
Måns Rullgård [Mon, 8 Mar 2010 18:43:41 +0000 (18:43 +0000)]
Remove unused fast_memcpy() function in dct-test

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

9 years agoSkip cmdutils_common_opts.h fragment in checkheaders
Måns Rullgård [Mon, 8 Mar 2010 18:43:38 +0000 (18:43 +0000)]
Skip cmdutils_common_opts.h fragment in checkheaders

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

9 years agoDefine HAVE_AV_CONFIG_H for checkheaders in libs
Måns Rullgård [Mon, 8 Mar 2010 18:43:35 +0000 (18:43 +0000)]
Define HAVE_AV_CONFIG_H for checkheaders in libs

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

9 years agoMove dctref prototypes to a header file
Måns Rullgård [Mon, 8 Mar 2010 18:43:33 +0000 (18:43 +0000)]
Move dctref prototypes to a header file

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

9 years agoDefine HAVE_AV_CONFIG_H when building test apps
Måns Rullgård [Mon, 8 Mar 2010 18:43:29 +0000 (18:43 +0000)]
Define HAVE_AV_CONFIG_H when building test apps

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

9 years agoMove resolve_host() to ffserver.c
Måns Rullgård [Mon, 8 Mar 2010 18:43:27 +0000 (18:43 +0000)]
Move resolve_host() to ffserver.c

This deprecated function is only used by ffserver, yet does not have
a prototype visible there.

In the long term, ffserver should be made IPv6-aware.  In the meantime,
this change removes cruft from lavf and fixes some warnings in ffserver.

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