platform/upstream/libav.git
14 years agofate: store last version in per-slot file
Måns Rullgård [Tue, 17 Aug 2010 20:36:22 +0000 (20:36 +0000)]
fate: store last version in per-slot file

This allows the same workdir to be used by multiple slots.

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

14 years agoadd LAVF_API_OLD_METADATA define to disable the deprecated metadata API
Aurelien Jacobs [Tue, 17 Aug 2010 20:23:19 +0000 (20:23 +0000)]
add LAVF_API_OLD_METADATA define to disable the deprecated metadata API

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

14 years agoadd LAVF_API_MAX_STREAMS define to disable the deprecated MAX_STREAMS API
Aurelien Jacobs [Tue, 17 Aug 2010 19:30:21 +0000 (19:30 +0000)]
add LAVF_API_MAX_STREAMS define to disable the deprecated MAX_STREAMS API

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

14 years agoFix out-of-tree build
Måns Rullgård [Tue, 17 Aug 2010 18:48:56 +0000 (18:48 +0000)]
Fix out-of-tree build

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

14 years agoAdd APIchanges entry after the addition of AV_NE in r24814.
Stefano Sabatini [Tue, 17 Aug 2010 18:27:54 +0000 (18:27 +0000)]
Add APIchanges entry after the addition of AV_NE in r24814.

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

14 years agoDefine macro AV_NE() and use it in libavdevice.
Stefano Sabatini [Tue, 17 Aug 2010 18:25:34 +0000 (18:25 +0000)]
Define macro AV_NE() and use it in libavdevice.

Help further refactoring.

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

14 years agoAdd APIchanges entry after libavfilter audio framework addition of
Stefano Sabatini [Tue, 17 Aug 2010 18:13:14 +0000 (18:13 +0000)]
Add APIchanges entry after libavfilter audio framework addition of
r24811.

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

14 years agoCosmetics: apply misc style fixes.
Stefano Sabatini [Tue, 17 Aug 2010 18:08:09 +0000 (18:08 +0000)]
Cosmetics: apply misc style fixes.

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

14 years agoImplement libavfilter audio framework.
S.N. Hemanth Meenakshisundaram [Tue, 17 Aug 2010 18:08:03 +0000 (18:08 +0000)]
Implement libavfilter audio framework.

Patch by S.N. Hemanth Meenakshisundaram * smeenaks * ucsd * edu *.

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

14 years agoSet the correct type for the output links.
Stefano Sabatini [Tue, 17 Aug 2010 18:07:57 +0000 (18:07 +0000)]
Set the correct type for the output links.

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

14 years agoAdd missing checks in avfilter_default_get_video_buffer().
Stefano Sabatini [Tue, 17 Aug 2010 15:12:28 +0000 (15:12 +0000)]
Add missing checks in avfilter_default_get_video_buffer().

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

14 years agoAdd missing NULL checks in avfilter_ref_buffer().
Stefano Sabatini [Tue, 17 Aug 2010 15:12:22 +0000 (15:12 +0000)]
Add missing NULL checks in avfilter_ref_buffer().

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

14 years agoRemove dep/depend targets and related variables.
Diego Biurrun [Tue, 17 Aug 2010 15:02:33 +0000 (15:02 +0000)]
Remove dep/depend targets and related variables.
We no longer create dependency files directly, so the rules are now pointless.

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

14 years agoAdd hflip filter.
Stefano Sabatini [Tue, 17 Aug 2010 14:59:12 +0000 (14:59 +0000)]
Add hflip filter.

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

14 years agoSkip adding SDL_CFLAGS to CFLAGS for the ffplay.d target.
Diego Biurrun [Tue, 17 Aug 2010 14:58:44 +0000 (14:58 +0000)]
Skip adding SDL_CFLAGS to CFLAGS for the ffplay.d target.
We no longer create .d files directly, so the rule is pointless.

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

14 years agomatroskadec: minor simplification
Aurelien Jacobs [Tue, 17 Aug 2010 14:25:14 +0000 (14:25 +0000)]
matroskadec: minor simplification
patch from reimar

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

14 years agomatroskadec: fix integer overflow
Aurelien Jacobs [Tue, 17 Aug 2010 14:05:23 +0000 (14:05 +0000)]
matroskadec: fix integer overflow
patch from reimar

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

14 years agoMention lowres if SDL can't provide the needed resolution.
Carl Eugen Hoyos [Tue, 17 Aug 2010 08:13:14 +0000 (08:13 +0000)]
Mention lowres if SDL can't provide the needed resolution.

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

14 years agoFix SDL crash on specific hardware.
Mike Scheutzow [Tue, 17 Aug 2010 07:47:44 +0000 (07:47 +0000)]
Fix SDL crash on specific hardware.

Patch by Mike Scheutzow, mjs973 optonline net

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

14 years agoMove do_exit() up for upcoming patch.
Mike Scheutzow [Tue, 17 Aug 2010 07:46:09 +0000 (07:46 +0000)]
Move do_exit() up for upcoming patch.

Patch by Mike Scheutzow, mjs973 optonline net

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

14 years agofft-test: format error output more readably
Måns Rullgård [Mon, 16 Aug 2010 20:34:06 +0000 (20:34 +0000)]
fft-test: format error output more readably

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

14 years agoAdd RTP depacketization of VP8
Josh Allmann [Mon, 16 Aug 2010 14:23:35 +0000 (14:23 +0000)]
Add RTP depacketization of VP8

Patch by Josh Allmann, joshua dot allmann at gmail

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

14 years agoAdd RTP packetization of VP8
Josh Allmann [Mon, 16 Aug 2010 14:21:17 +0000 (14:21 +0000)]
Add RTP packetization of VP8

Patch by Josh Allmann, joshua dot allmann at gmail

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

14 years agoPrint error messages in case of connection failure or name resolution failure
Ronald S. Bultje [Sat, 14 Aug 2010 20:34:51 +0000 (20:34 +0000)]
Print error messages in case of connection failure or name resolution failure
in tcp.c.

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

14 years agoPrevent overflow on random input.
Ronald S. Bultje [Fri, 13 Aug 2010 20:06:18 +0000 (20:06 +0000)]
Prevent overflow on random input.

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

14 years agoRemove use of MAX_STREAMS in MMSContext->streams[] array. Instead, dynamically
Ronald S. Bultje [Fri, 13 Aug 2010 17:30:01 +0000 (17:30 +0000)]
Remove use of MAX_STREAMS in MMSContext->streams[] array. Instead, dynamically
allocate the array.

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

14 years agoSet fixed chunksize for ASF header in MMS streams, as per MSDN documentation.
Zhentan Feng [Fri, 13 Aug 2010 17:08:57 +0000 (17:08 +0000)]
Set fixed chunksize for ASF header in MMS streams, as per MSDN documentation.
This fixes playback of at least one MMST stream.

Patch by Zhentan Feng <spyfeng gmail com>.

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

14 years agoFix wrong command prefix for timing test in MMST protocol.
Zhentan Feng [Fri, 13 Aug 2010 17:02:37 +0000 (17:02 +0000)]
Fix wrong command prefix for timing test in MMST protocol.

Patch by Zhentan Feng <spyfeng gmail com>.

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

14 years agoRemove some stray +s in VP8
Jason Garrett-Glaser [Fri, 13 Aug 2010 02:02:07 +0000 (02:02 +0000)]
Remove some stray +s in VP8

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

14 years agoAdd RTP depacketization of MP4A-LATM
Martin Storsjö [Thu, 12 Aug 2010 21:07:17 +0000 (21:07 +0000)]
Add RTP depacketization of MP4A-LATM

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

14 years agoCosmetics: put "{" on the same line of the "struct" keyword in struct
Stefano Sabatini [Thu, 12 Aug 2010 18:20:58 +0000 (18:20 +0000)]
Cosmetics: put "{" on the same line of the "struct" keyword in struct
definitions.

More consistent with the rest of FFmpeg.

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

14 years agoAdd APIchanges entry after the addition of av_get_image_linesize() of
Stefano Sabatini [Thu, 12 Aug 2010 15:09:44 +0000 (15:09 +0000)]
Add APIchanges entry after the addition of av_get_image_linesize() of
r24787.

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

14 years agoDeprecate ff_get_plane_bytewidth() in favor of
Stefano Sabatini [Thu, 12 Aug 2010 15:06:04 +0000 (15:06 +0000)]
Deprecate ff_get_plane_bytewidth() in favor of
av_get_image_linesize().

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

14 years agoImplement av_get_image_linesize() and use it in
Stefano Sabatini [Thu, 12 Aug 2010 15:05:58 +0000 (15:05 +0000)]
Implement av_get_image_linesize() and use it in
ff_get_plane_bytewidth().

The new implementation is more generic, more compact and more correct.

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

14 years agoSend OPTIONS request at a regular basis to standard RTSP servers as well,
Ronald S. Bultje [Thu, 12 Aug 2010 13:39:38 +0000 (13:39 +0000)]
Send OPTIONS request at a regular basis to standard RTSP servers as well,
this prevents a time-out which closes the TCP connection and kills our
session.

see "Re: [FFmpeg-devel] [PATCH] rtsp.c: keep-alive" thread on mailinglist.

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

14 years agoAdd another missing file from r24799.
Ronald S. Bultje [Thu, 12 Aug 2010 02:01:33 +0000 (02:01 +0000)]
Add another missing file from r24799.

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

14 years agoVP5/6/8: ~7% faster arithmetic decoding
Jason Garrett-Glaser [Thu, 12 Aug 2010 01:11:32 +0000 (01:11 +0000)]
VP5/6/8: ~7% faster arithmetic decoding
Grab from the bitstream in 16-bit chunks instead of 8-bit chunks.
TODO: grab in 32-bit chunks on 64-bit systems.

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

14 years agoFix segv when stream copy and validate_tag fails, st->codec->codec is not set
Baptiste Coudurier [Thu, 12 Aug 2010 00:35:19 +0000 (00:35 +0000)]
Fix segv when stream copy and validate_tag fails, st->codec->codec is not set

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

14 years ago100L, fix vf_scale, since copy_ref_props now copy w and h, we must update them
Baptiste Coudurier [Thu, 12 Aug 2010 00:33:18 +0000 (00:33 +0000)]
100L, fix vf_scale, since copy_ref_props now copy w and h, we must update them

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

14 years agoAdd missing mms.c from r24779.
Ronald S. Bultje [Wed, 11 Aug 2010 23:45:05 +0000 (23:45 +0000)]
Add missing mms.c from r24779.

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

14 years agoMove functions and structs shared between MMSH and MMST into their own file,
Zhentan Feng [Wed, 11 Aug 2010 22:50:17 +0000 (22:50 +0000)]
Move functions and structs shared between MMSH and MMST into their own file,
mms.c. Patch by Zhentan Feng <spyfeng gmail com>.

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

14 years agoExtract fields that are to be shared between MMST/MMSH into a common struct,
Zhentan Feng [Wed, 11 Aug 2010 22:43:54 +0000 (22:43 +0000)]
Extract fields that are to be shared between MMST/MMSH into a common struct,
MMSContext. The other MMST-specific members go into MMSTContext.

Patch by Zhentan Feng <spyfeng gmail com>.

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

14 years agoUse FFALIGN() in mmst.c where appropriate. Noticed by Benoit Fouet.
Ronald S. Bultje [Wed, 11 Aug 2010 22:27:29 +0000 (22:27 +0000)]
Use FFALIGN() in mmst.c where appropriate. Noticed by Benoit Fouet.

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

14 years agoApply misc cosmetics: add empty newlines for separating function
Stefano Sabatini [Wed, 11 Aug 2010 16:22:16 +0000 (16:22 +0000)]
Apply misc cosmetics: add empty newlines for separating function
declarations and fix weird indent.

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

14 years agoSet type on buffer in get_video_buffer().
S.N. Hemanth Meenakshisundaram [Wed, 11 Aug 2010 15:38:50 +0000 (15:38 +0000)]
Set type on buffer in get_video_buffer().

Patch by S.N. Hemanth Meenakshisundaram reverse("skaneems") + "@ucsd.edu".

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

14 years agoAdd APIchanges entry for the AVFilterBufferRef changes in r24773.
Stefano Sabatini [Wed, 11 Aug 2010 15:29:40 +0000 (15:29 +0000)]
Add APIchanges entry for the AVFilterBufferRef changes in r24773.

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

14 years agoResize data and linesize in AVFilterBufferRef to 8.
S.N. Hemanth Meenakshisundaram [Wed, 11 Aug 2010 15:25:42 +0000 (15:25 +0000)]
Resize data and linesize in AVFilterBufferRef to 8.

This is required to make AVFilterBufferRef able to contain also audio
data, required by audio filtering integration.

Patch by S.N. Hemanth Meenakshisundaram smeen?ks@ucsd.ed?.

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

14 years agoExtend and clarify documentation for -ac ffmpeg option.
Stefano Sabatini [Wed, 11 Aug 2010 14:49:41 +0000 (14:49 +0000)]
Extend and clarify documentation for -ac ffmpeg option.

Fix roundup issue #2061.

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

14 years agoAdd documentation for the pm parameter of the av_metadata_set*
Stefano Sabatini [Wed, 11 Aug 2010 14:38:19 +0000 (14:38 +0000)]
Add documentation for the pm parameter of the av_metadata_set*
functions.

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

14 years agoFix reference to a wrong parameter name in the metadata API functions
Stefano Sabatini [Wed, 11 Aug 2010 14:38:16 +0000 (14:38 +0000)]
Fix reference to a wrong parameter name in the metadata API functions
doxies.

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

14 years agoAdd APIchanges entry after av_picture_data_copy() addition.
Stefano Sabatini [Wed, 11 Aug 2010 14:22:19 +0000 (14:22 +0000)]
Add APIchanges entry after av_picture_data_copy() addition.

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

14 years agoAdd av_picture_data_copy() and reimplement av_picture_copy() as a
S.N. Hemanth Meenakshisundaram [Wed, 11 Aug 2010 14:18:52 +0000 (14:18 +0000)]
Add av_picture_data_copy() and reimplement av_picture_copy() as a
wrapper of it.

The new function is more generic, and does not depend on the
definition of the AVPicture struct.

Patch by S.N. Hemanth Meenakshisundaram s + "meenakshisundaram".substr(0, 7) + "@ucsd.edu".

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

14 years agoFix typo.
Stefano Sabatini [Wed, 11 Aug 2010 11:49:44 +0000 (11:49 +0000)]
Fix typo.

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

14 years agoAdd APIchanges entry after avfilter_open() change in r24765.
Stefano Sabatini [Wed, 11 Aug 2010 11:49:08 +0000 (11:49 +0000)]
Add APIchanges entry after avfilter_open() change in r24765.

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

14 years agoChange avfilter_open() signature, from:
Stefano Sabatini [Wed, 11 Aug 2010 11:44:51 +0000 (11:44 +0000)]
Change avfilter_open() signature, from:
AVFilterContext *avfilter_open(AVFilter *filter, const char *inst_name);
to:
int avfilter_open(AVFilterContext **filter_ctx, AVFilter *filter, const char *inst_name);

This way it is possible to propagate an error code telling the reason
of the failure.

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

14 years agoAdd APIchanges entry after AVFilterBufferRef changes in r24763.
Stefano Sabatini [Wed, 11 Aug 2010 11:10:22 +0000 (11:10 +0000)]
Add APIchanges entry after AVFilterBufferRef changes in r24763.

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

14 years agoSeparate video specific BufferRef properties into VideoProps.
S.N. Hemanth Meenakshisundaram [Wed, 11 Aug 2010 11:06:04 +0000 (11:06 +0000)]
Separate video specific BufferRef properties into VideoProps.

Define a new struct AVFilterBufferRefVideoProps and add a type field
to AVFilterBufferRef.

Video specific properties in AVFilterBufferRefVideoProps are now
referred to by *video pointer in AVFilterBufferRef.

Patch by S.N. Hemanth Meenakshisundaram smeenaks->ucsd.edu.

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

14 years agoNit: fix weird spacing.
Stefano Sabatini [Wed, 11 Aug 2010 09:13:58 +0000 (09:13 +0000)]
Nit: fix weird spacing.

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

14 years agoAdd empty newlines between function descriptions and @params, improve
Stefano Sabatini [Wed, 11 Aug 2010 09:13:53 +0000 (09:13 +0000)]
Add empty newlines between function descriptions and @params, improve
readability.

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

14 years agoremove b4_stride/mb_stride.
Pascal Massimino [Wed, 11 Aug 2010 08:27:38 +0000 (08:27 +0000)]
remove b4_stride/mb_stride.
correct mb_xy to use mb_width.
tighten allocations.
reduce the amount of zeroing.

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

14 years agoAdd a mapping for the V4L2_PIX_FMT_NV12 format to PIX_FMT_NV12 for
Pete Eberlein [Wed, 11 Aug 2010 07:34:33 +0000 (07:34 +0000)]
Add a mapping for the V4L2_PIX_FMT_NV12 format to PIX_FMT_NV12 for
video4linux2 devices. This is used by Sensoray Model 2253 cards.
Patch by Pete Eberlein (pete AT sensoray DOT com)

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

14 years agofix over-allocation. confused b4_stride with mb_width.
Pascal Massimino [Wed, 11 Aug 2010 05:24:19 +0000 (05:24 +0000)]
fix over-allocation. confused b4_stride with mb_width.

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

14 years agoFix mem leak when trying to open a non-existing image file (issue 2126).
Przemysław Sobala [Tue, 10 Aug 2010 17:27:22 +0000 (17:27 +0000)]
Fix mem leak when trying to open a non-existing image file (issue 2126).

Patch by Przemysław Sobala, psobala wp-sa pl

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

14 years ago2 lines spacing between versions in Changelog should be enough for readability
Aurelien Jacobs [Tue, 10 Aug 2010 16:49:48 +0000 (16:49 +0000)]
2 lines spacing between versions in Changelog should be enough for readability
and may avoid some confusion for patch submitters

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

14 years agoget rid of MAX_STREAMS limit in nutdec
Aurelien Jacobs [Tue, 10 Aug 2010 16:36:36 +0000 (16:36 +0000)]
get rid of MAX_STREAMS limit in nutdec

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

14 years agortpenc_xiph: Clarify that num_frames shouldn't ever get larger than max_frames_per_packet
Martin Storsjö [Tue, 10 Aug 2010 08:37:19 +0000 (08:37 +0000)]
rtpenc_xiph: Clarify that num_frames shouldn't ever get larger than max_frames_per_packet

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

14 years agoget rid of MAX_STREAMS limit in mpegts
Aurelien Jacobs [Mon, 9 Aug 2010 23:21:08 +0000 (23:21 +0000)]
get rid of MAX_STREAMS limit in mpegts

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

14 years agoget rid of MAX_STREAMS limit in RTSP
Aurelien Jacobs [Mon, 9 Aug 2010 23:00:13 +0000 (23:00 +0000)]
get rid of MAX_STREAMS limit in RTSP

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

14 years agoget rid of MAX_STREAMS limit in RDT
Aurelien Jacobs [Mon, 9 Aug 2010 22:58:54 +0000 (22:58 +0000)]
get rid of MAX_STREAMS limit in RDT

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

14 years agoFix buffer overrun if idx is negative (it can be down to -23>>4), by prepending
Ronald S. Bultje [Mon, 9 Aug 2010 13:54:59 +0000 (13:54 +0000)]
Fix buffer overrun if idx is negative (it can be down to -23>>4), by prepending
two padding zeroes before it. Should fix fate failures on openBSD and crashes
on MacOSX (that I cannot reproduce).

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

14 years agortpenc_xiph: Set the ident value via a define
Martin Storsjö [Mon, 9 Aug 2010 10:31:59 +0000 (10:31 +0000)]
rtpenc_xiph: Set the ident value via a define

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

14 years agortpenc_xiph: Don't needlessly cast pointers to integers
Martin Storsjö [Mon, 9 Aug 2010 10:23:26 +0000 (10:23 +0000)]
rtpenc_xiph: Don't needlessly cast pointers to integers

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

14 years agoMake hex_to_data a lavf internal function
Martin Storsjö [Mon, 9 Aug 2010 10:05:33 +0000 (10:05 +0000)]
Make hex_to_data a lavf internal function

This is useful for other future RTP depacketizers

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

14 years agohttp: Return EOF at the end of the content even if the connection isn't closed
Martin Storsjö [Mon, 9 Aug 2010 08:14:48 +0000 (08:14 +0000)]
http: Return EOF at the end of the content even if the connection isn't closed

We do request Connection: close, but some servers ignore it.

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

14 years agoFix handling of truncated files. Should fix random FATE breakages.
Vitor Sessak [Mon, 9 Aug 2010 07:17:01 +0000 (07:17 +0000)]
Fix handling of truncated files. Should fix random FATE breakages.

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

14 years agoindent
Ramiro Polla [Sun, 8 Aug 2010 18:18:13 +0000 (18:18 +0000)]
indent

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

14 years agoswscale-test: get strides using av_fill_image_linesizes() from libavcore
Ramiro Polla [Sun, 8 Aug 2010 18:14:43 +0000 (18:14 +0000)]
swscale-test: get strides using av_fill_image_linesizes() from libavcore

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

14 years agoOnly check for for libvpx decoder/encoder if libvpx is enabled.
Diego Biurrun [Sun, 8 Aug 2010 08:51:15 +0000 (08:51 +0000)]
Only check for for libvpx decoder/encoder if libvpx is enabled.

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

14 years agofix configure when --enable-libvpx is not specified
Ramiro Polla [Sun, 8 Aug 2010 02:43:26 +0000 (02:43 +0000)]
fix configure when --enable-libvpx is not specified

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

14 years agoSplit libvpx check into decoder and encoder check.
Frank Barchard [Sun, 8 Aug 2010 00:06:24 +0000 (00:06 +0000)]
Split libvpx check into decoder and encoder check.
This allows using a libvpx that has been configured as decoder/encoder only.
patch by Frank Barchard, fbarchard google com

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

14 years agoSplit h264dsp and h264pred in configure.
Jason Garrett-Glaser [Sat, 7 Aug 2010 23:10:25 +0000 (23:10 +0000)]
Split h264dsp and h264pred in configure.
Many H.264 derivatives, like RV40 and VP8, use the H.264 prediction functions
but not the weight/loopfilter functions.
This should reduce the size of builds with one of these derivatives but without
H.264 decoding itself.

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

14 years agooggparsevorbis: Add some sanity checks to header packet ordering/presence.
Alex Converse [Sat, 7 Aug 2010 21:30:34 +0000 (21:30 +0000)]
oggparsevorbis: Add some sanity checks to header packet ordering/presence.

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

14 years agoApply misc docs fixes spotted by Diego.
Stefano Sabatini [Sat, 7 Aug 2010 21:06:46 +0000 (21:06 +0000)]
Apply misc docs fixes spotted by Diego.

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

14 years agoFix VfW spelling.
Stefano Sabatini [Sat, 7 Aug 2010 21:06:43 +0000 (21:06 +0000)]
Fix VfW spelling.

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

14 years agoFix spelling in comment(s)
Reinhard Tartler [Sat, 7 Aug 2010 14:11:43 +0000 (14:11 +0000)]
Fix spelling in comment(s)

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

14 years agoH.264: 8% faster CAVLC zero-run decoding
Jason Garrett-Glaser [Sat, 7 Aug 2010 12:30:44 +0000 (12:30 +0000)]
H.264: 8% faster CAVLC zero-run decoding

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

14 years agoAdd RTP packetization of Theora and Vorbis
Josh Allmann [Sat, 7 Aug 2010 11:16:07 +0000 (11:16 +0000)]
Add RTP packetization of Theora and Vorbis

Patch by Josh Allmann, joshua dot allmann at gmail

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

14 years agoFix the compilation of some libavcodec/lib* files which were not
Stefano Sabatini [Sat, 7 Aug 2010 01:36:35 +0000 (01:36 +0000)]
Fix the compilation of some libavcodec/lib* files which were not
including libavcore/imgutils.h, which was required since the recent
avcodec_check_dimensions() -> av_check_image_size() transition.

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

14 years agoAdd APIchanges entries after the last recent libavfilter renames.
Stefano Sabatini [Sat, 7 Aug 2010 01:24:42 +0000 (01:24 +0000)]
Add APIchanges entries after the last recent libavfilter renames.

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

14 years agoRename fields:
S.N. Hemanth Meenakshisundaram [Sat, 7 Aug 2010 01:15:34 +0000 (01:15 +0000)]
Rename fields:

AVFilterLink.srcpic    ->  AVFilterLink.src_buf
AVFilterLink.cur_pic   ->  AVFilterLink.cur_buf
AVFilterLink.outpic    ->  AVFilterLink.out_buf

The new names are more generic and more consistent, since the struct
they contain, which was named AVFilterPicRef, has been renamed to
AVFilterBufferRef.

Patch by S.N. Hemanth Meenakshisundaram %smeenaks%ucsd%edu%.

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

14 years agoRename functions and fields:
S.N. Hemanth Meenakshisundaram [Sat, 7 Aug 2010 01:15:27 +0000 (01:15 +0000)]
Rename functions and fields:

avfilter_(un)ref_pic       -> avfilter_(un)ref_buffer
avfilter_copy_picref_props -> avfilter_copy_buffer_ref_props
AVFilterBufferRef.pic      -> AVFilterBufferRef.buffer

They have been renamed to allow sharing with audio.

Patch by S.N. Hemanth Meenakshisundaram $smeenaks$ucsd$edu$.

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

14 years agoRename AVFilterPicRef to AVFilterBufferRef.
S.N. Hemanth Meenakshisundaram [Sat, 7 Aug 2010 01:15:19 +0000 (01:15 +0000)]
Rename AVFilterPicRef to AVFilterBufferRef.

The struct is going to be used for storing audio buffer references as
well, and the new name is more generic.

Patch by S.N. Hemanth Meenakshisundaram @smeenaks@ucsd@edu@.

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

14 years agoAdd APIchanges entry after r24728.
Stefano Sabatini [Sat, 7 Aug 2010 00:19:45 +0000 (00:19 +0000)]
Add APIchanges entry after r24728.

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

14 years agoMove format from AVFilterBuffer to AVFilterPicRef.
S.N. Hemanth Meenakshisundaram [Sat, 7 Aug 2010 00:02:26 +0000 (00:02 +0000)]
Move format from AVFilterBuffer to AVFilterPicRef.

Patch by S.N. Hemanth Meenakshisundaram |smeenaks|ucsd|edu|.

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

14 years agoFix the size of the data to be copied from an AVFilterBuffer to an
S.N. Hemanth Meenakshisundaram [Sat, 7 Aug 2010 00:02:21 +0000 (00:02 +0000)]
Fix the size of the data to be copied from an AVFilterBuffer to an
AVFilterBuffereRef in avfilter_default_get_video_buffer().

The error was being caused by the previous patch which resized
AVFilterBuffer's data and linesize arrays to 8.

Patch by S.N. Hemanth Meenakshisundaram" &smeenaks&ucsd&edu&.

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

14 years agoApply misc fixes spotted by Diego to protocols.texi.
Stefano Sabatini [Fri, 6 Aug 2010 23:15:35 +0000 (23:15 +0000)]
Apply misc fixes spotted by Diego to protocols.texi.

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

14 years agoRemove audio_beos entries in indevs.texi and output.devs, BeOS audio
Stefano Sabatini [Fri, 6 Aug 2010 23:15:31 +0000 (23:15 +0000)]
Remove audio_beos entries in indevs.texi and output.devs, BeOS audio
support has been dropped.

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

14 years agoApply misc fixes spotted by Diego to indevs.texi and outdevs.texi.
Stefano Sabatini [Fri, 6 Aug 2010 23:15:27 +0000 (23:15 +0000)]
Apply misc fixes spotted by Diego to indevs.texi and outdevs.texi.

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

14 years agoRename the chapter Devices -> Input Devices, as the file is about
Stefano Sabatini [Fri, 6 Aug 2010 23:15:23 +0000 (23:15 +0000)]
Rename the chapter Devices -> Input Devices, as the file is about
input devices.

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

14 years agoshowfiltfmts: destroy filter context before exit
Måns Rullgård [Fri, 6 Aug 2010 22:25:44 +0000 (22:25 +0000)]
showfiltfmts: destroy filter context before exit

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