platform/upstream/libav.git
14 years agoMake iff.c:decode_init return the value returned by
Stefano Sabatini [Sat, 13 Mar 2010 19:19:40 +0000 (19:19 +0000)]
Make iff.c:decode_init return the value returned by
avctx->get_buffer() in case of error, rather than AVERROR_UNKNOWN
which is deprecated, and mark AVERROR_UNKNOWN for deletion at the next
major bump.

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

14 years agoCODEC_ID_XVID is not used anywhere, remove it at next major bump
Aurelien Jacobs [Sat, 13 Mar 2010 18:19:36 +0000 (18:19 +0000)]
CODEC_ID_XVID is not used anywhere, remove it at next major bump

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

14 years agobump minor avcodec version for libxvid codec id change (r22489)
Aurelien Jacobs [Sat, 13 Mar 2010 18:17:25 +0000 (18:17 +0000)]
bump minor avcodec version for libxvid codec id change (r22489)

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

14 years agoMake the scale filter pass the pkt.pos information to the output
Stefano Sabatini [Sat, 13 Mar 2010 12:33:44 +0000 (12:33 +0000)]
Make the scale filter pass the pkt.pos information to the output
picref.

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

14 years agoBump libavfilter minor version and add APIchanges entry after the
Stefano Sabatini [Sat, 13 Mar 2010 11:41:15 +0000 (11:41 +0000)]
Bump libavfilter minor version and add APIchanges entry after the
addition of the AVFilterPicRef.pos field.

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

14 years agoMake ffplay pass the packet.pos information to the filterchain, get it
Stefano Sabatini [Sat, 13 Mar 2010 11:27:07 +0000 (11:27 +0000)]
Make ffplay pass the packet.pos information to the filterchain, get it
again from the filterchain and pass it back to output_picture2().

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

14 years agoAdd AVFilterPicRef.pos field and make libavfilter propagate stream
Stefano Sabatini [Sat, 13 Mar 2010 11:27:05 +0000 (11:27 +0000)]
Add AVFilterPicRef.pos field and make libavfilter propagate stream
byte position information, as stored in the pkt.pos, through the
filterchain.

Note that the pos field is added *non* at the end of the
AVFilterPicRef struct, thus breaking ABI compatibility, which is
allowed as the API is still considered non-stable.

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

14 years agoExtend the slice filter to make it issue slice height values randomly
Stefano Sabatini [Sat, 13 Mar 2010 10:41:25 +0000 (10:41 +0000)]
Extend the slice filter to make it issue slice height values randomly
choosen between 8 and 32 when the supplied parameter is the string
"random".

This is useful for testing the slice support, but it is not supposed
to be used for other purposes and this interface may change in the
future, thus it is not documented.

The randomization algorithm adopted is the standard Numerical Recipes
LCG.

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

14 years agovp3: Split out motion vectors to their own array
David Conrad [Sat, 13 Mar 2010 10:25:41 +0000 (10:25 +0000)]
vp3: Split out motion vectors to their own array

1.5% faster overall decode on my penryn

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

14 years agoAdd APIchanges entry for the libavutil/error.h addition.
Stefano Sabatini [Sat, 13 Mar 2010 09:59:36 +0000 (09:59 +0000)]
Add APIchanges entry for the libavutil/error.h addition.

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

14 years agoAdd missing parentheses around the AVERROR_PATCHWELCOME macro
Stefano Sabatini [Sat, 13 Mar 2010 09:52:43 +0000 (09:52 +0000)]
Add missing parentheses around the AVERROR_PATCHWELCOME macro
definition.

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

14 years agoMove error code definitions from libavcodec/avcodec.h to
Stefano Sabatini [Sat, 13 Mar 2010 09:43:24 +0000 (09:43 +0000)]
Move error code definitions from libavcodec/avcodec.h to
libavutil/error.h.

Error code definitions and handling code belong to libavutil, where
they can be shared by all the libav* libraries.

See the thread:
Subject: [FFmpeg-devel] [PATCH] Move error codes definitions from lavc to lavu
Date: Sun, 19 Jul 2009 12:09:16 +0200

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

14 years agotheora: Add support for 4:2:2 and 4:4:4 subsampling
David Conrad [Sat, 13 Mar 2010 05:59:22 +0000 (05:59 +0000)]
theora: Add support for 4:2:2 and 4:4:4 subsampling

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

14 years agovp3: remove unneeded error, this is internal and doesn't happen
David Conrad [Sat, 13 Mar 2010 05:59:18 +0000 (05:59 +0000)]
vp3: remove unneeded error, this is internal and doesn't happen

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

14 years agovp3: Make fragment_width _height by plane
David Conrad [Sat, 13 Mar 2010 05:56:15 +0000 (05:56 +0000)]
vp3: Make fragment_width _height by plane

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

14 years agovp3: we only need a temp MV array of size 4
David Conrad [Sat, 13 Mar 2010 05:56:11 +0000 (05:56 +0000)]
vp3: we only need a temp MV array of size 4

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

14 years agovp3: Use memset to clear the fragment array
David Conrad [Sat, 13 Mar 2010 05:56:08 +0000 (05:56 +0000)]
vp3: Use memset to clear the fragment array

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

14 years agovp3: Init MVs to 0
David Conrad [Sat, 13 Mar 2010 05:56:05 +0000 (05:56 +0000)]
vp3: Init MVs to 0

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

14 years agovp3: Simplify init_block_mapping
David Conrad [Sat, 13 Mar 2010 05:56:01 +0000 (05:56 +0000)]
vp3: Simplify init_block_mapping

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

14 years agooggdec: Set packet duration for ogm streams
David Conrad [Sat, 13 Mar 2010 05:55:57 +0000 (05:55 +0000)]
oggdec: Set packet duration for ogm streams

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

14 years agomatroskadec: add support for SIPR audio tracks
Aurelien Jacobs [Fri, 12 Mar 2010 23:49:06 +0000 (23:49 +0000)]
matroskadec: add support for SIPR audio tracks

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

14 years agoexport rm_reorder_sipr_data() for future use by matroska demuxer
Aurelien Jacobs [Fri, 12 Mar 2010 23:35:59 +0000 (23:35 +0000)]
export rm_reorder_sipr_data() for future use by matroska demuxer

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

14 years agoexport sipr_subpk_size for future use by matroska demuxer
Aurelien Jacobs [Fri, 12 Mar 2010 23:34:30 +0000 (23:34 +0000)]
export sipr_subpk_size for future use by matroska demuxer

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

14 years agolibxvid is producing standard mpeg4 so it don't need its own codec id
Aurelien Jacobs [Fri, 12 Mar 2010 23:24:54 +0000 (23:24 +0000)]
libxvid is producing standard mpeg4 so it don't need its own codec id

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

14 years agoReplace BSD-specific integer types by their POSIX equivalents.
Diego Biurrun [Fri, 12 Mar 2010 17:29:19 +0000 (17:29 +0000)]
Replace BSD-specific integer types by their POSIX equivalents.
Mark bktr_init function as av_cold.
Tested to work by Michael Kostylev on the NetBSD FATE box.

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

14 years agoAdd _XOPEN_SOURCE=600 to CPPFLAGS on NetBSD.
Diego Biurrun [Fri, 12 Mar 2010 17:28:02 +0000 (17:28 +0000)]
Add _XOPEN_SOURCE=600 to CPPFLAGS on NetBSD.

This make NetBSD compile out of the box at the cost of a hack, but a
locally contained one that is preferable to the one used in the wild.
Currently the NetBSD FATE box adds -D_NETBSD_SOURCE to CPPFLAGS to work
around broken system headers. Since it is unlikely for NetBSD to fix their
headers, it is better to use a standard flag instead of a system-specific one.

As a sideeffect, this allows getting rid of a local _NETBSD_SOURCE definition.

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

14 years agoFix guess_mv() so that it works correctly with 4x4 MV blocks.
Michael Niedermayer [Fri, 12 Mar 2010 16:59:21 +0000 (16:59 +0000)]
Fix guess_mv() so that it works correctly with 4x4 MV blocks.

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

14 years agoFix indention
Michael Niedermayer [Fri, 12 Mar 2010 15:23:26 +0000 (15:23 +0000)]
Fix indention

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

14 years agoAlways reset slice_table.
Michael Niedermayer [Fri, 12 Mar 2010 15:21:45 +0000 (15:21 +0000)]
Always reset slice_table.
Previously, the area of a lost slice would be left at the slice number of the previous
frame which could occasionally match the number of the next slice and thus a non existing
slice could have been used for prediction leading to additional decoding errors in otherwise
undamaged slices.

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

14 years agoPrint skip_frames variable.
Michael Niedermayer [Fri, 12 Mar 2010 15:12:05 +0000 (15:12 +0000)]
Print skip_frames variable.

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

14 years agoDocument --disable-everything in configure --help.
Ramiro Polla [Fri, 12 Mar 2010 13:03:40 +0000 (13:03 +0000)]
Document --disable-everything in configure --help.

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

14 years agofix compilation with --disable-everything --enable-muxer=mpegts
Aurelien Jacobs [Fri, 12 Mar 2010 12:26:47 +0000 (12:26 +0000)]
fix compilation with --disable-everything --enable-muxer=mpegts

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

14 years agofix compilation with --disable-everything --enable-decoder=twinvq
Aurelien Jacobs [Fri, 12 Mar 2010 12:25:44 +0000 (12:25 +0000)]
fix compilation with --disable-everything --enable-decoder=twinvq

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

14 years agooggdec: Pass packets to header() until the stream is done with them
David Conrad [Fri, 12 Mar 2010 05:17:01 +0000 (05:17 +0000)]
oggdec: Pass packets to header() until the stream is done with them

This fixes some old ogm files that had the 3rd vorbis header after a data
packet in another stream. This is invalid in ogg, but this change shouldn't
affect the behaviour of any valid file.

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

14 years agooggdec: Parse ogm chapters
David Conrad [Fri, 12 Mar 2010 05:16:57 +0000 (05:16 +0000)]
oggdec: Parse ogm chapters

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

14 years agooggdec: Cosmetics
David Conrad [Fri, 12 Mar 2010 05:16:54 +0000 (05:16 +0000)]
oggdec: Cosmetics

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

14 years agooggdec: Read ogm metadata
David Conrad [Fri, 12 Mar 2010 05:16:51 +0000 (05:16 +0000)]
oggdec: Read ogm metadata

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

14 years agoConst correctness for vorbis_comment
David Conrad [Fri, 12 Mar 2010 05:16:47 +0000 (05:16 +0000)]
Const correctness for vorbis_comment

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

14 years agooggdec: Metadata is per-stream; don't merge multiple streams' together
David Conrad [Fri, 12 Mar 2010 05:16:44 +0000 (05:16 +0000)]
oggdec: Metadata is per-stream; don't merge multiple streams' together

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

14 years agoAdd ff_ prefix to vorbis_comment
David Conrad [Fri, 12 Mar 2010 05:16:39 +0000 (05:16 +0000)]
Add ff_ prefix to vorbis_comment

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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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