platform/upstream/libav.git
14 years agoAdd validity checks for the unsharp filter.
Stefano Sabatini [Fri, 8 Oct 2010 23:36:35 +0000 (23:36 +0000)]
Add validity checks for the unsharp filter.

Prevent crash.

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

14 years agomove av_find_stream_info() info struct to AVStream to avoid messy (re)allocation
Aurelien Jacobs [Fri, 8 Oct 2010 22:01:19 +0000 (22:01 +0000)]
move av_find_stream_info() info struct to AVStream to avoid messy (re)allocation

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

14 years agoCheck for more 'indent -kr' whitespace details.
Michael Niedermayer [Fri, 8 Oct 2010 19:11:36 +0000 (19:11 +0000)]
Check for more 'indent -kr' whitespace details.

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

14 years agoFix compilation on FreeBSD, use AF_UNSPEC instead of PF_UNSPEC
Martin Storsjö [Fri, 8 Oct 2010 18:07:40 +0000 (18:07 +0000)]
Fix compilation on FreeBSD, use AF_UNSPEC instead of PF_UNSPEC

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

14 years agosapenc: Mark the muxer as depending on network functions
Martin Storsjö [Fri, 8 Oct 2010 17:48:13 +0000 (17:48 +0000)]
sapenc: Mark the muxer as depending on network functions

Hide all code mentioning IPv6 behind HAVE_STRUCT_SOCKADDR_IN6.

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

14 years agoAdd a space between the else and { in mpegenc.c in the line i added.
Michael Niedermayer [Fri, 8 Oct 2010 15:41:41 +0000 (15:41 +0000)]
Add a space between the else and { in mpegenc.c in the line i added.

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

14 years agoAdd a SAP (Session Announcement Protocol, RFC 2974) muxer
Martin Storsjö [Fri, 8 Oct 2010 12:05:04 +0000 (12:05 +0000)]
Add a SAP (Session Announcement Protocol, RFC 2974) muxer

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

14 years agosdp: Only specify the TTL for IPv4 addresses
Martin Storsjö [Fri, 8 Oct 2010 11:58:47 +0000 (11:58 +0000)]
sdp: Only specify the TTL for IPv4 addresses

According to RFC 4566, a TTL value must not be present for IPv6 multicast.

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

14 years agoFix headers so that "make checkheaders" passes again
Martin Storsjö [Fri, 8 Oct 2010 08:56:36 +0000 (08:56 +0000)]
Fix headers so that "make checkheaders" passes again

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

14 years agortsp: Factorize out code for opening a chained RTP muxer
Martin Storsjö [Fri, 8 Oct 2010 08:54:53 +0000 (08:54 +0000)]
rtsp: Factorize out code for opening a chained RTP muxer

The new object file is added to the SDP demuxer in the makefile, since it
is needed in both the RTSP muxer and demuxer and in the SDP demuxer, due
to the current code coupling.

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

14 years agortsp: Make rtsp_rtp_mux_open reusable
Martin Storsjö [Fri, 8 Oct 2010 08:51:05 +0000 (08:51 +0000)]
rtsp: Make rtsp_rtp_mux_open reusable

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

14 years agortsp: Remove the start_time field from RTSPState, use AVFormatContext->start_time_rea...
Martin Storsjö [Fri, 8 Oct 2010 08:50:29 +0000 (08:50 +0000)]
rtsp: Remove the start_time field from RTSPState, use AVFormatContext->start_time_realtime instead

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

14 years agoAdd protocol documentation on the connect option to the udp protocol
Martin Storsjö [Fri, 8 Oct 2010 08:49:56 +0000 (08:49 +0000)]
Add protocol documentation on the connect option to the udp protocol

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

14 years agoReindent
Martin Storsjö [Fri, 8 Oct 2010 08:43:10 +0000 (08:43 +0000)]
Reindent

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

14 years agoudp: Add an option for connecting the udp socket
Martin Storsjö [Fri, 8 Oct 2010 08:42:30 +0000 (08:42 +0000)]
udp: Add an option for connecting the udp socket

This allows us to find out the local sending address via getsockname,
otherwise we just get INADDR_ANY (or similar for v6).

This also makes writes return ECONNREFUSED if nobody is listening on the
receiving port.

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

14 years agortpdec: Set prev_ret properly when parsing more data from mpegts RTP packets
Martin Storsjö [Fri, 8 Oct 2010 08:40:08 +0000 (08:40 +0000)]
rtpdec: Set prev_ret properly when parsing more data from mpegts RTP packets

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

14 years agortpdec: Store the previous return value for mpegts when it was -1, too
Martin Storsjö [Fri, 8 Oct 2010 07:28:17 +0000 (07:28 +0000)]
rtpdec: Store the previous return value for mpegts when it was -1, too

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

14 years agortpdec: Keep track of the previous return value from rtp_parse_packet_internal for...
Robert Schlabbach [Fri, 8 Oct 2010 07:26:42 +0000 (07:26 +0000)]
rtpdec: Keep track of the previous return value from rtp_parse_packet_internal for mpegts packets

Patch by Robert Schlabbach, robert_s at gmx dot net

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

14 years agoIn gxf muxer, round up number of lines mod 16 in mpeg umf data, based patch by Reuben...
Baptiste Coudurier [Thu, 7 Oct 2010 19:41:04 +0000 (19:41 +0000)]
In gxf muxer, round up number of lines mod 16 in mpeg umf data, based patch by Reuben Martin, reuben dot m at gmail dot com

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

14 years agoUpdate gxf regression tests because of r25399
Baptiste Coudurier [Thu, 7 Oct 2010 19:37:37 +0000 (19:37 +0000)]
Update gxf regression tests because of r25399

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

14 years agoIn gxf muxer, fix number of flt entries based on patch by Reuben Martin, reuben dot...
Baptiste Coudurier [Thu, 7 Oct 2010 19:35:55 +0000 (19:35 +0000)]
In gxf muxer, fix number of flt entries based on patch by Reuben Martin, reuben dot m at gmail dot com

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

14 years agofix bitstream filter option mapping when using -newvideo and friends
Aurelien Jacobs [Thu, 7 Oct 2010 19:25:48 +0000 (19:25 +0000)]
fix bitstream filter option mapping when using -newvideo and friends
There was an off-by-one when addressing bitstream_filters[] in this situation.

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

14 years agoAdd d modifier to asm argument to fix nasm compilation.
Reimar Döffinger [Thu, 7 Oct 2010 19:18:18 +0000 (19:18 +0000)]
Add d modifier to asm argument to fix nasm compilation.

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

14 years agoIn gxf muxer, write umf media for mpeg1video, patch by Reuben Martin, reuben dot...
Reuben Martin [Thu, 7 Oct 2010 19:17:06 +0000 (19:17 +0000)]
In gxf muxer, write umf media for mpeg1video, patch by Reuben Martin, reuben dot m at gmail dot com

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

14 years agoIn gxf muxer, fix flt entry offset, patch by Reuben Martin, reuben dot m at gmail...
Reuben Martin [Thu, 7 Oct 2010 19:15:35 +0000 (19:15 +0000)]
In gxf muxer, fix flt entry offset, patch by Reuben Martin, reuben dot m at gmail dot com

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

14 years agoremove useless local variable
Aurelien Jacobs [Thu, 7 Oct 2010 19:10:51 +0000 (19:10 +0000)]
remove useless local variable

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

14 years agoremove useless local allocated start_time array
Aurelien Jacobs [Thu, 7 Oct 2010 19:05:31 +0000 (19:05 +0000)]
remove useless local allocated start_time array

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

14 years agoSet myself as maintainer for rtpenc* and sdp.c, as requested by Luca A
Martin Storsjö [Thu, 7 Oct 2010 11:18:16 +0000 (11:18 +0000)]
Set myself as maintainer for rtpenc* and sdp.c, as requested by Luca A

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

14 years agolibmp3lame: don't check unused function in detection
Rafaël Carré [Thu, 7 Oct 2010 08:38:39 +0000 (08:38 +0000)]
libmp3lame: don't check unused function in detection

hip_decode_init() isn't used by the wrapper, and can be absent from the
library if lame was configured with --disable-decoder (like it is done
for windows builds of VLC)

Unfortunately this also removes the way to detect a libmp3lame more recent
than the buggy 3.98.2

Patch by Rafaël Carré, rafael carre at gmail

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

14 years agoReindent
Martin Storsjö [Thu, 7 Oct 2010 08:00:03 +0000 (08:00 +0000)]
Reindent

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

14 years agosdp: Don't require the explicit ?multicast option
Martin Storsjö [Thu, 7 Oct 2010 07:59:35 +0000 (07:59 +0000)]
sdp: Don't require the explicit ?multicast option

No such option is used anywhere else. Instead, detect the address type.

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

14 years agoConvert ff_is_multicast_address to take a struct sockaddr parameter
Martin Storsjö [Thu, 7 Oct 2010 07:58:56 +0000 (07:58 +0000)]
Convert ff_is_multicast_address to take a struct sockaddr parameter

Not all users of this function will have a full struct sockaddr_storage
available, and casting other sockaddrs to sockaddr_storage is wrong,
while any sockaddr can be cast to a base sockaddr.

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

14 years agoShare the is_multicast_address function
Martin Storsjö [Thu, 7 Oct 2010 07:54:52 +0000 (07:54 +0000)]
Share the is_multicast_address function

The header probably isn't the right permanent place for this function, but
it is quite small, and consensus seems to be that it can stay in the
header for now, instead of creating a new file network.c just for this one.

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

14 years agoMove multicast address identification fallback macros to network.h from udp.c
Martin Storsjö [Thu, 7 Oct 2010 07:53:31 +0000 (07:53 +0000)]
Move multicast address identification fallback macros to network.h from udp.c

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

14 years agoWarn if muxing mpeg ps is attempted without a VBV buffer size.
Michael Niedermayer [Thu, 7 Oct 2010 01:57:39 +0000 (01:57 +0000)]
Warn if muxing mpeg ps is attempted without a VBV buffer size.

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

14 years agoPass RC parameters on stream copy to the muxer.
Michael Niedermayer [Thu, 7 Oct 2010 01:57:35 +0000 (01:57 +0000)]
Pass RC parameters on stream copy to the muxer.

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

14 years agoInit SCR in mpeg muxer based on first DTS.
Michael Niedermayer [Thu, 7 Oct 2010 00:32:22 +0000 (00:32 +0000)]
Init SCR in mpeg muxer based on first DTS.
This fixes issues if the first DTS is far away from 0.

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

14 years agoproperly check for FF_API_MAX_STREAMS instead of LIBAVFORMAT_VERSION_MAJOR
Aurelien Jacobs [Wed, 6 Oct 2010 21:43:46 +0000 (21:43 +0000)]
properly check for FF_API_MAX_STREAMS instead of LIBAVFORMAT_VERSION_MAJOR

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

14 years agoadd new streams API without MAX_STREAMS limit
Aurelien Jacobs [Wed, 6 Oct 2010 20:56:14 +0000 (20:56 +0000)]
add new streams API without MAX_STREAMS limit
(disabled until next major bump)

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

14 years agodynamically use nb_streams instead of static use of MAX_STREAMS
Aurelien Jacobs [Wed, 6 Oct 2010 20:52:26 +0000 (20:52 +0000)]
dynamically use nb_streams instead of static use of MAX_STREAMS

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

14 years agodocument the fact that av_new_stream() can't be called in a background thread
Aurelien Jacobs [Wed, 6 Oct 2010 20:49:25 +0000 (20:49 +0000)]
document the fact that av_new_stream() can't be called in a background thread

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

14 years agoMove handling of ID3v2 to common utils.c code, reducing code duplication
Reimar Döffinger [Wed, 6 Oct 2010 20:21:07 +0000 (20:21 +0000)]
Move handling of ID3v2 to common utils.c code, reducing code duplication
and supporting it for more formats, fixing issue 2258.

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

14 years agocosmetic: break long line
Aurelien Jacobs [Wed, 6 Oct 2010 18:54:10 +0000 (18:54 +0000)]
cosmetic: break long line

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

14 years agoMove the definitions of AVSEEK_SIZE to make it appear before the
Stefano Sabatini [Wed, 6 Oct 2010 18:42:46 +0000 (18:42 +0000)]
Move the definitions of AVSEEK_SIZE to make it appear before the
description of url_seek(), which references it.

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

14 years agocustom build system documentation
Michael Niedermayer [Wed, 6 Oct 2010 17:53:02 +0000 (17:53 +0000)]
custom build system documentation

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

14 years agoFix default value of time_offset_length.
John Stebbins [Wed, 6 Oct 2010 17:50:05 +0000 (17:50 +0000)]
Fix default value of time_offset_length.
Patch by John Stebbins stebbins jetheaddev com.

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

14 years agoMention to send a patch before changing API or ABI.
Carl Eugen Hoyos [Wed, 6 Oct 2010 17:43:15 +0000 (17:43 +0000)]
Mention to send a patch before changing API or ABI.

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

14 years agortpdec: Handle RTP header extension
Robert Schlabbach [Wed, 6 Oct 2010 16:59:14 +0000 (16:59 +0000)]
rtpdec: Handle RTP header extension

This fixes roundup issue 2270.

Patch by Robert Schlabbach, robert_s at gmx dot net

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

14 years agoAdd RTP depacketization of the X-QT QuickTime format
Martin Storsjö [Wed, 6 Oct 2010 12:42:18 +0000 (12:42 +0000)]
Add RTP depacketization of the X-QT QuickTime format

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

14 years agoconfigure: Set _DARWIN_C_SOURCE while testing for struct ipv6_mreq
Martin Storsjö [Wed, 6 Oct 2010 12:30:17 +0000 (12:30 +0000)]
configure: Set _DARWIN_C_SOURCE while testing for struct ipv6_mreq

On OS X, this struct is only available if _DARWIN_C_SOURCE is defined,
when we have _POSIX_C_SOURCE defined. This allows the struct to be found,
enabling proper IPv6 multicast functionality on OS X.

The define is already set within the file that uses the struct. Setting it
only for this test in configure avoids having to keep it defined for the
whole build.

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

14 years agoRemove unused variable.
Carl Eugen Hoyos [Wed, 6 Oct 2010 11:40:09 +0000 (11:40 +0000)]
Remove unused variable.

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

14 years agoUse retry_transfer_wrapper() in url_write() as its callers do not expect it to stop...
Michael Niedermayer [Wed, 6 Oct 2010 11:18:43 +0000 (11:18 +0000)]
Use retry_transfer_wrapper() in url_write() as its callers do not expect it to stop in the middle.

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

14 years agoFactor retry_transfer_wrapper() out of url_read_complete()
Michael Niedermayer [Wed, 6 Oct 2010 11:18:38 +0000 (11:18 +0000)]
Factor retry_transfer_wrapper() out of url_read_complete()

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

14 years agodoc,win32: add note about the use of dllimport for global data in MSVC++
Ramiro Polla [Wed, 6 Oct 2010 03:14:07 +0000 (03:14 +0000)]
doc,win32: add note about the use of dllimport for global data in MSVC++

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

14 years agodoc,win32: update note on which files to use with shared libraries in msvc
Ramiro Polla [Wed, 6 Oct 2010 02:58:19 +0000 (02:58 +0000)]
doc,win32: update note on which files to use with shared libraries in msvc

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

14 years agodoc: mention xmm clobber macros usage
Ramiro Polla [Wed, 6 Oct 2010 02:46:22 +0000 (02:46 +0000)]
doc: mention xmm clobber macros usage

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

14 years agofft: mark xmm registers as clobbered in ff_imdct_calc_sse
Ramiro Polla [Wed, 6 Oct 2010 01:27:02 +0000 (01:27 +0000)]
fft: mark xmm registers as clobbered in ff_imdct_calc_sse

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

14 years agoCheck whether compiler supports xmm registers in asm clobber list
Ramiro Polla [Wed, 6 Oct 2010 01:26:13 +0000 (01:26 +0000)]
Check whether compiler supports xmm registers in asm clobber list

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

14 years agoMMX, MMX2, SSE2 and SSSE3 optimizations for pred16x16/8x8_plane H264 intra
Ronald S. Bultje [Tue, 5 Oct 2010 22:06:18 +0000 (22:06 +0000)]
MMX, MMX2, SSE2 and SSSE3 optimizations for pred16x16/8x8_plane H264 intra
prediction (plus some with different rounding for svq3/rv40). Speedup (for
SSSE3) about ~6-fold, 3.6% faster overall with cathedral sample.

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

14 years agomovdec: Free the previous extradata
Martin Storsjö [Tue, 5 Oct 2010 21:36:30 +0000 (21:36 +0000)]
movdec: Free the previous extradata

If multiple stsd atoms are parsed for the same stream, the old
extradata would be leaked.

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

14 years agomovdec: Split out ff_mov_read_stsd
Martin Storsjö [Tue, 5 Oct 2010 21:35:44 +0000 (21:35 +0000)]
movdec: Split out ff_mov_read_stsd

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

14 years agoffmpeg: Fix prototype of some OPT_FUNC2 functions. They must return an int.
Aurelien Jacobs [Tue, 5 Oct 2010 21:05:07 +0000 (21:05 +0000)]
ffmpeg: Fix prototype of some OPT_FUNC2 functions. They must return an int.

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

14 years agovorbiscomment: add DISCNUMBER to the metadata conv table
Anton Khirnov [Tue, 5 Oct 2010 20:11:07 +0000 (20:11 +0000)]
vorbiscomment: add DISCNUMBER to the metadata conv table
patch by Anton Khirnov  anton _at_ khirnov _dot_ net

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

14 years agoconfigure: Consolidate rtsp/sdp deps to use _select
Martin Storsjö [Tue, 5 Oct 2010 20:10:01 +0000 (20:10 +0000)]
configure: Consolidate rtsp/sdp deps to use _select

This makes e.g. --disable-everything --enable-demuxer=rtsp actually
enable the rtsp demuxer and everything else that is needed.

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

14 years agoconfigure: Add the http protocol as an auto-enabled dependency of the rtsp demuxer...
Martin Storsjö [Tue, 5 Oct 2010 19:47:09 +0000 (19:47 +0000)]
configure: Add the http protocol as an auto-enabled dependency of the rtsp demuxer and muxer

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

14 years agortsp/sdp: Move code into correct ifdefs
Martin Storsjö [Tue, 5 Oct 2010 19:46:25 +0000 (19:46 +0000)]
rtsp/sdp: Move code into correct ifdefs

This makes the code dependencies correct. Previously, the SDP demuxer
wasn't buildable on its own.

This also reverts rev 25343.

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

14 years agofind_info_tag: Make sure the output buffer is null terminated
Martin Storsjö [Tue, 5 Oct 2010 19:33:56 +0000 (19:33 +0000)]
find_info_tag: Make sure the output buffer is null terminated

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

14 years agoDo not assume PIX_FMT_YUV420P will remain the only supported output format for H264.
Carl Eugen Hoyos [Tue, 5 Oct 2010 17:24:18 +0000 (17:24 +0000)]
Do not assume PIX_FMT_YUV420P will remain the only supported output format for H264.

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

14 years agoudp: Define _DARWIN_C_SOURCE
Martin Storsjö [Tue, 5 Oct 2010 16:35:33 +0000 (16:35 +0000)]
udp: Define _DARWIN_C_SOURCE

This is required in order to get the IP_MULTICAST_TTL define.

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

14 years agoudp: Return the actual error code on errors, instead of AVERROR(EIO)
Martin Storsjö [Tue, 5 Oct 2010 14:09:30 +0000 (14:09 +0000)]
udp: Return the actual error code on errors, instead of AVERROR(EIO)

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

14 years agoSet proper error if server flags indicate that it doesn't support mmst. This
qrtt1 [Tue, 5 Oct 2010 14:04:46 +0000 (14:04 +0000)]
Set proper error if server flags indicate that it doesn't support mmst. This
prevents a read-after-close-induced segfault later. Fixes issue 2266.

Patch by qrtt1 <chingyichan dot tw gmail com>.

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

14 years agoCosmetics, lots of.
Tobias Bindhammer [Tue, 5 Oct 2010 12:14:30 +0000 (12:14 +0000)]
Cosmetics, lots of.

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

14 years agoSkip unnecessary calculations in 4col-mode.
Tobias Bindhammer [Tue, 5 Oct 2010 12:14:27 +0000 (12:14 +0000)]
Skip unnecessary calculations in 4col-mode.

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

14 years agoAdd possibility to crop screens inside of encoded frames.
Tobias Bindhammer [Tue, 5 Oct 2010 12:14:23 +0000 (12:14 +0000)]
Add possibility to crop screens inside of encoded frames.

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

14 years agoAdd check for height when cropping.
Tobias Bindhammer [Tue, 5 Oct 2010 12:14:20 +0000 (12:14 +0000)]
Add check for height when cropping.

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

14 years agoIntroduce palette with dynamic size.
Tobias Bindhammer [Tue, 5 Oct 2010 12:14:14 +0000 (12:14 +0000)]
Introduce palette with dynamic size.

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

14 years agoRemove some pointless CONFIG_RTSP_DEMUXER #ifdefs.
Diego Biurrun [Tue, 5 Oct 2010 11:06:32 +0000 (11:06 +0000)]
Remove some pointless CONFIG_RTSP_DEMUXER #ifdefs.
They reside within a large CONFIG_RTSP_DEMUXER block and are thus pointless.

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

14 years agoAdd some #endif comments to ease understanding.
Diego Biurrun [Tue, 5 Oct 2010 11:03:48 +0000 (11:03 +0000)]
Add some #endif comments to ease understanding.

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

14 years agomatroskaenc: write metadata
Anton Khirnov [Tue, 5 Oct 2010 09:40:43 +0000 (09:40 +0000)]
matroskaenc: write metadata
patch by Anton Khirnov   anton _at_ khirnov _dot_ net

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

14 years agoUpdate av_cmp_q() documentation after r25338.
Stefano Sabatini [Tue, 5 Oct 2010 08:44:18 +0000 (08:44 +0000)]
Update av_cmp_q() documentation after r25338.

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

14 years agoAdd selftest code for av_cmp_q().
Michael Niedermayer [Tue, 5 Oct 2010 01:43:34 +0000 (01:43 +0000)]
Add selftest code for av_cmp_q().

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

14 years agoMake av_cmp_q() work with infinities and NAN.
Michael Niedermayer [Tue, 5 Oct 2010 01:43:31 +0000 (01:43 +0000)]
Make av_cmp_q() work with infinities and NAN.

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

14 years agoMove aspect ratio 0/0 avoidance code so the values in the sps struct are not missed.
Michael Niedermayer [Tue, 5 Oct 2010 01:43:25 +0000 (01:43 +0000)]
Move aspect ratio 0/0 avoidance code so the values in the sps struct are not missed.
This preempts issues with av_cmp_q(0/0, X)

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

14 years agoxdcam hd422 720p24 fourcc in mov
Baptiste Coudurier [Mon, 4 Oct 2010 20:23:36 +0000 (20:23 +0000)]
xdcam hd422 720p24 fourcc in mov

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

14 years agomms: remove dependency on MAX_STREAM API
Aurelien Jacobs [Mon, 4 Oct 2010 19:45:12 +0000 (19:45 +0000)]
mms: remove dependency on MAX_STREAM API

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

14 years agoAdd a test for av_parse_video_rate().
Stefano Sabatini [Mon, 4 Oct 2010 13:41:06 +0000 (13:41 +0000)]
Add a test for av_parse_video_rate().

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

14 years agoUse av_parse_and_eval_expr() in av_parse_video_rate(), simplify.
Stefano Sabatini [Mon, 4 Oct 2010 13:41:04 +0000 (13:41 +0000)]
Use av_parse_and_eval_expr() in av_parse_video_rate(), simplify.

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

14 years agoMake av_d2q() manage the case in which the value to convert is inf.
Stefano Sabatini [Mon, 4 Oct 2010 13:41:01 +0000 (13:41 +0000)]
Make av_d2q() manage the case in which the value to convert is inf.

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

14 years agosnowdsp: Explicitly state the operand sizes
İsmail Dönmez [Mon, 4 Oct 2010 13:08:13 +0000 (13:08 +0000)]
snowdsp: Explicitly state the operand sizes

Fixes compilation with clang's builtin assembler

Patch by İsmail Dönmez, ismail at namtrac dot org

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

14 years agoAdd protocol documentation on RTSP
Martin Storsjö [Mon, 4 Oct 2010 07:06:58 +0000 (07:06 +0000)]
Add protocol documentation on RTSP

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

14 years agocosmetic: break long line
Aurelien Jacobs [Sun, 3 Oct 2010 20:23:16 +0000 (20:23 +0000)]
cosmetic: break long line

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

14 years agoyadif: Explicit wordlength for compare. Fixes compile with clang.
İsmail Dönmez [Sun, 3 Oct 2010 20:01:36 +0000 (20:01 +0000)]
yadif: Explicit wordlength for compare. Fixes compile with clang.

Patch by İsmail Dönmez: ismail at namtrac dot org

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

14 years agortpdec_svq3: Don't look for the unused RTP_FLAG_KEY flag
Martin Storsjö [Sun, 3 Oct 2010 18:55:46 +0000 (18:55 +0000)]
rtpdec_svq3: Don't look for the unused RTP_FLAG_KEY flag

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

14 years agoFix typo, -flags 4mv => -flags mv4.
Stefano Sabatini [Sun, 3 Oct 2010 17:15:18 +0000 (17:15 +0000)]
Fix typo, -flags 4mv => -flags mv4.

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

14 years agortsp: In the muxer, show the generated with verbose log level
Martin Storsjö [Sun, 3 Oct 2010 11:56:38 +0000 (11:56 +0000)]
rtsp: In the muxer, show the generated with verbose log level

It is only useful for debugging, so it doesn't have to be shown every time.

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

14 years agortsp: Show the received SDP
Martin Storsjö [Sun, 3 Oct 2010 11:55:16 +0000 (11:55 +0000)]
rtsp: Show the received SDP

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

14 years agoUse SLIBSUF instead of .so, as a more generic dynamic library suffix.
Víctor Paesa [Sun, 3 Oct 2010 09:49:36 +0000 (09:49 +0000)]
Use SLIBSUF instead of .so, as a more generic dynamic library suffix.

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

14 years ago100l, fix sws_getCachedContext. It did not set the colorspace details,
Reimar Döffinger [Sun, 3 Oct 2010 07:53:40 +0000 (07:53 +0000)]
100l, fix sws_getCachedContext. It did not set the colorspace details,
but worse it did not set up destination dimensions, thus every user
of it would necessarily fail.

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

14 years agoAdd the CODEC_CAP_CHANNEL_CONF capability code and add
Benjamin Larsson [Sat, 2 Oct 2010 22:18:02 +0000 (22:18 +0000)]
Add the CODEC_CAP_CHANNEL_CONF capability code and add
that flag to the dca codec. This capability when set
will make sure the codec will initialize the channel
configuration instead of trusting the container. This
fixes issue 2137 and issue 850.

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

14 years agoapplehttp: Add comments to make_absolute_url
Martin Storsjö [Sat, 2 Oct 2010 21:59:16 +0000 (21:59 +0000)]
applehttp: Add comments to make_absolute_url

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