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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 years agoapplehttp: Handle a .. path segment in the base url
Martin Storsjö [Sat, 2 Oct 2010 21:58:36 +0000 (21:58 +0000)]
applehttp: Handle a .. path segment in the base url

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

9 years agoReindent
Martin Storsjö [Sat, 2 Oct 2010 21:58:13 +0000 (21:58 +0000)]
Reindent

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

9 years agoapplehttp: Allow the base url to be a local file name, too
Martin Storsjö [Sat, 2 Oct 2010 21:57:58 +0000 (21:57 +0000)]
applehttp: Allow the base url to be a local file name, too

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

9 years agoSupport decoding of FLAC files without a STREAMINFO header.
Justin Ruggles [Sat, 2 Oct 2010 20:37:43 +0000 (20:37 +0000)]
Support decoding of FLAC files without a STREAMINFO header.

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

9 years agoRemove pointless -vn option, the file has no video stream.
Reimar Döffinger [Sat, 2 Oct 2010 10:00:48 +0000 (10:00 +0000)]
Remove pointless -vn option, the file has no video stream.

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

9 years agoRename fate-gsm test to the more accurate fate-gsm-ms
Reimar Döffinger [Sat, 2 Oct 2010 09:56:21 +0000 (09:56 +0000)]
Rename fate-gsm test to the more accurate fate-gsm-ms
and add a test for regular GSM as fate-gsm.

Fixes a 8kHz sample from issue 113.

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

9 years agoFix GSM decoding: regular GSM and MSGSM do not use the same
Reimar Döffinger [Sat, 2 Oct 2010 09:51:26 +0000 (09:51 +0000)]
Fix GSM decoding: regular GSM and MSGSM do not use the same
bitstream endianness, so they cannot reuse the same code
without a lot of function call overhead.
Thus use templating to compile two different binaries.

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

9 years agoAvoid cast of double nan to int.
Stefano Sabatini [Sat, 2 Oct 2010 09:50:56 +0000 (09:50 +0000)]
Avoid cast of double nan to int.
It may cause exceptions on some platform.

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

9 years agoDocument url_get_filename().
Stefano Sabatini [Sat, 2 Oct 2010 09:16:52 +0000 (09:16 +0000)]
Document url_get_filename().

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

9 years agoAdd init and uninit functions to cmdutils, reduces code duplication
Reimar Döffinger [Sat, 2 Oct 2010 08:44:33 +0000 (08:44 +0000)]
Add init and uninit functions to cmdutils, reduces code duplication
between ffmpeg and ffplay and avoids a valgrind error by freeing
avformat_opts->key.

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

9 years agoMake FRAPS decoder use PC range instead of TV range
Jason Garrett-Glaser [Sat, 2 Oct 2010 08:39:34 +0000 (08:39 +0000)]
Make FRAPS decoder use PC range instead of TV range
FRAPS appears to output PC range streams.  I can't guarantee this is true of
all versions.

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

9 years ago10l fix h263 encoder resolution test, array size is 8 not 7
Baptiste Coudurier [Sat, 2 Oct 2010 01:26:00 +0000 (01:26 +0000)]
10l fix h263 encoder resolution test, array size is 8 not 7

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

9 years agoffmpeg: replace MAX_STREAMS by an arbitrary sanity check
Aurelien Jacobs [Fri, 1 Oct 2010 21:56:09 +0000 (21:56 +0000)]
ffmpeg: replace MAX_STREAMS by an arbitrary sanity check

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

9 years agoffmpeg: dynamically allocate bitstream_filters
Aurelien Jacobs [Fri, 1 Oct 2010 21:54:20 +0000 (21:54 +0000)]
ffmpeg: dynamically allocate bitstream_filters

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

9 years agoffmpeg: dynamically allocate stream_maps
Aurelien Jacobs [Fri, 1 Oct 2010 21:52:09 +0000 (21:52 +0000)]
ffmpeg: dynamically allocate stream_maps

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

9 years agoffmpeg: dynamically allocate output_codecs
Aurelien Jacobs [Fri, 1 Oct 2010 21:51:12 +0000 (21:51 +0000)]
ffmpeg: dynamically allocate output_codecs

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

9 years agoffmpeg: dynamically allocate input_codecs
Aurelien Jacobs [Fri, 1 Oct 2010 21:41:27 +0000 (21:41 +0000)]
ffmpeg: dynamically allocate input_codecs

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

9 years agoffmpeg: dynamically allocate input_files_ts_scale
Aurelien Jacobs [Fri, 1 Oct 2010 21:36:13 +0000 (21:36 +0000)]
ffmpeg: dynamically allocate input_files_ts_scale

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

9 years agoffmpeg: dynamically allocate streamid_map
Aurelien Jacobs [Fri, 1 Oct 2010 21:34:59 +0000 (21:34 +0000)]
ffmpeg: dynamically allocate streamid_map

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

9 years agoffmpeg: add a grow_array() helper function
Aurelien Jacobs [Fri, 1 Oct 2010 21:29:37 +0000 (21:29 +0000)]
ffmpeg: add a grow_array() helper function

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

9 years agoFix reference to nonexistent function.
Stefano Sabatini [Fri, 1 Oct 2010 18:32:53 +0000 (18:32 +0000)]
Fix reference to nonexistent function.

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

9 years agortsp: Return a queued packet if it has been in the queue for longer than max_delay
Martin Storsjö [Fri, 1 Oct 2010 17:52:26 +0000 (17:52 +0000)]
rtsp: Return a queued packet if it has been in the queue for longer than max_delay

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

9 years agortpdec: Reorder received RTP packets according to the seq number
Martin Storsjö [Fri, 1 Oct 2010 17:50:24 +0000 (17:50 +0000)]
rtpdec: Reorder received RTP packets according to the seq number

Reordering is enabled only when receiving over UDP.

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

9 years agortpdec: Split out the part of rtp_parse_packet that does the parsing of new packets
Martin Storsjö [Fri, 1 Oct 2010 17:46:10 +0000 (17:46 +0000)]
rtpdec: Split out the part of rtp_parse_packet that does the parsing of new packets

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

9 years agoFix indentation of ff_id3v2_read
Reimar Döffinger [Fri, 1 Oct 2010 17:45:18 +0000 (17:45 +0000)]
Fix indentation of ff_id3v2_read

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

9 years agoReindent/rewrap
Martin Storsjö [Fri, 1 Oct 2010 17:44:53 +0000 (17:44 +0000)]
Reindent/rewrap

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

9 years agortsp: Reorganize if statements in rtsp_read_play
Martin Storsjö [Fri, 1 Oct 2010 17:44:18 +0000 (17:44 +0000)]
rtsp: Reorganize if statements in rtsp_read_play

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

9 years agortsp/rtpdec: Allow rtp_parse_packet to take ownership of the packet buffer
Martin Storsjö [Fri, 1 Oct 2010 17:43:27 +0000 (17:43 +0000)]
rtsp/rtpdec: Allow rtp_parse_packet to take ownership of the packet buffer

Do the same change for ff_rdt_parse_packet, too, to keep the interfaces
similar.

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

9 years agortsp: Use a dynamically allocated receive buffer
Martin Storsjö [Fri, 1 Oct 2010 17:41:31 +0000 (17:41 +0000)]
rtsp: Use a dynamically allocated receive buffer

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

9 years agoFix weird indent.
Stefano Sabatini [Fri, 1 Oct 2010 16:02:10 +0000 (16:02 +0000)]
Fix weird indent.

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

9 years agoavassert: add missing #include <stdlib.h>
Måns Rullgård [Fri, 1 Oct 2010 13:55:20 +0000 (13:55 +0000)]
avassert: add missing #include <stdlib.h>

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

9 years agoavassert: prettify macro
Måns Rullgård [Fri, 1 Oct 2010 13:55:16 +0000 (13:55 +0000)]
avassert: prettify macro

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

9 years agoRename libavutil/assert.h to avassert.h
Måns Rullgård [Fri, 1 Oct 2010 13:55:13 +0000 (13:55 +0000)]
Rename libavutil/assert.h to avassert.h

This avoids conflicts with the system assert.h.

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

9 years agoFix av_cmp_q() with negative denominators.
Michael Niedermayer [Fri, 1 Oct 2010 12:00:29 +0000 (12:00 +0000)]
Fix av_cmp_q() with negative denominators.

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

9 years agoAdd myself as maintainer of lxfdec.c
Tomas Härdin [Fri, 1 Oct 2010 11:08:28 +0000 (11:08 +0000)]
Add myself as maintainer of lxfdec.c

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

9 years agoAdd demuxer for LXF (Leitch/Harris' VR native stream format)
Tomas Härdin [Fri, 1 Oct 2010 11:08:24 +0000 (11:08 +0000)]
Add demuxer for LXF (Leitch/Harris' VR native stream format)

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

9 years agoAdd pcm_lxf, a decoder for the 20-bit planar PCM format used in LXF
Tomas Härdin [Fri, 1 Oct 2010 11:08:19 +0000 (11:08 +0000)]
Add pcm_lxf, a decoder for the 20-bit planar PCM format used in LXF

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

9 years agoFix a typo in the nameing of av_assert0() in currently not compiled code.
Michael Niedermayer [Thu, 30 Sep 2010 22:52:29 +0000 (22:52 +0000)]
Fix a typo in the nameing of av_assert0() in currently not compiled code.

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

9 years agoav_assert() system.
Michael Niedermayer [Thu, 30 Sep 2010 21:57:31 +0000 (21:57 +0000)]
av_assert() system.
With this the developer can now choose if he wants an assert always enabled or at which
compile time assert level. This can thus replace the #define NDEBUG hacks

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

9 years agoadd FF_API_INOFFICIAL define to disable the deprecated 'inofficial' flag
Aurelien Jacobs [Thu, 30 Sep 2010 20:40:10 +0000 (20:40 +0000)]
add FF_API_INOFFICIAL define to disable the deprecated 'inofficial' flag

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

9 years agoadd FF_API_SET_STRING_OLD define to disable the deprecated av_set_string API
Aurelien Jacobs [Thu, 30 Sep 2010 20:34:35 +0000 (20:34 +0000)]
add FF_API_SET_STRING_OLD define to disable the deprecated av_set_string API

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

9 years agoadd FF_API_USE_LPC define to disable the deprecated AVCodecContext.use_lpc field
Aurelien Jacobs [Thu, 30 Sep 2010 20:31:42 +0000 (20:31 +0000)]
add FF_API_USE_LPC define to disable the deprecated AVCodecContext.use_lpc field

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

9 years agoReturn AVERROR(EINVAL) rather than -1 in case of invalid values.
Stefano Sabatini [Thu, 30 Sep 2010 20:24:49 +0000 (20:24 +0000)]
Return AVERROR(EINVAL) rather than -1 in case of invalid values.

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

9 years agoadd FF_API_SUBTITLE_OLD define to disable the deprecated decode_subtitle API
Aurelien Jacobs [Thu, 30 Sep 2010 20:12:46 +0000 (20:12 +0000)]
add FF_API_SUBTITLE_OLD define to disable the deprecated decode_subtitle API

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

9 years agoadd FF_API_VIDEO_OLD define to disable the deprecated decode_video API
Aurelien Jacobs [Thu, 30 Sep 2010 19:51:22 +0000 (19:51 +0000)]
add FF_API_VIDEO_OLD define to disable the deprecated decode_video API

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