platform/upstream/libav.git
16 years agoUse __typeof__ instead of GCC-specific typeof keyword.
Diego Pettenò [Thu, 2 Oct 2008 20:01:13 +0000 (20:01 +0000)]
Use __typeof__ instead of GCC-specific typeof keyword.
The typeof keyword is disabled by default when building with -std=c99
as it's a GNU extension.
ICC supports the __typeof__ keyword as well as typeof.

Patch by Diego 'Flameeyes' Pettenò %flameeyes A gmail P com%

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

16 years agofix warning reported by Intel C compiler:
Diego Pettenò [Thu, 2 Oct 2008 19:24:26 +0000 (19:24 +0000)]
fix warning reported by Intel C compiler:
libavcodec/h264_parser.c(77): warning #589: transfer of control
bypasses initialization of:
           variable "v" (declared at line 58)
                 goto found;
This new form also improves readability.

Patch by Diego 'Flameeyes' Pettenò %flameeyes A gmail P com%

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

16 years agoIntel C compiler warns on this assignment in this if(), probably
Diego Pettenò [Thu, 2 Oct 2008 19:20:11 +0000 (19:20 +0000)]
Intel C compiler warns on this assignment in this if(), probably
because it's being assigned as a constant. To avoid a spurious warning,
split it into two instructions, which should also make it more logical
once the FIXME is resolved.
patch by Diego 'Flameeyes' Pettenò %flameeyes A gmail P com%

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

16 years agoRemove duplicate "const" qualifier for *matrix.
Diego Pettenò [Thu, 2 Oct 2008 19:09:56 +0000 (19:09 +0000)]
Remove duplicate "const" qualifier for *matrix.
This silences out a warning when compiling with Intel C Compiler.
Patch by Diego 'Flameeyes' Pettenò %flameeyes A gmail P com%

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

16 years agox264 has removed the b-rdo and bime options, and instead integrated
Jason Garrett-Glaser [Thu, 2 Oct 2008 19:05:35 +0000 (19:05 +0000)]
x264 has removed the b-rdo and bime options, and instead integrated
them into the subme number to attempt to reduce the number of
unnecessary options.  subme now scales up to 9.
Patch by Jason Garett-Glaser %darkshikari A gmail P com%

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

16 years agoMinGW runtime 3.15 has a wrapper for usleep().
Ramiro Polla [Thu, 2 Oct 2008 17:43:27 +0000 (17:43 +0000)]
MinGW runtime 3.15 has a wrapper for usleep().

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

16 years agoSpecify minimum version for some MinGW packages.
Ramiro Polla [Thu, 2 Oct 2008 17:39:30 +0000 (17:39 +0000)]
Specify minimum version for some MinGW packages.

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

16 years agoUse M_PI from libavutil/mathematics.h instead of defining PI ourselves
Reimar Döffinger [Thu, 2 Oct 2008 16:29:15 +0000 (16:29 +0000)]
Use M_PI from libavutil/mathematics.h instead of defining PI ourselves
in libavcodec/apiexample.c.

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

16 years agoMake 8svx codec context table pointer const to match the type of the
Reimar Döffinger [Thu, 2 Oct 2008 16:29:06 +0000 (16:29 +0000)]
Make 8svx codec context table pointer const to match the type of the
array.

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

16 years agospelling cosmetics
Diego Biurrun [Thu, 2 Oct 2008 16:28:58 +0000 (16:28 +0000)]
spelling cosmetics

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

16 years agoUse enum typers instead of int.
Diego Pettenò [Thu, 2 Oct 2008 16:03:00 +0000 (16:03 +0000)]
Use enum typers instead of int.
Patch by Diego 'Flameeyes' Pettenò: flameeyes gmail

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

16 years agoRemove useless cyuv_decode_end function
Reimar Döffinger [Thu, 2 Oct 2008 15:52:12 +0000 (15:52 +0000)]
Remove useless cyuv_decode_end function

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

16 years agoAdd (additional) const to many global tables.
Reimar Döffinger [Thu, 2 Oct 2008 15:52:04 +0000 (15:52 +0000)]
Add (additional) const to many global tables.

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

16 years agoUse "static const" instead of "const static"
Reimar Döffinger [Thu, 2 Oct 2008 15:51:44 +0000 (15:51 +0000)]
Use "static const" instead of "const static"

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

16 years agocosmetics: Change comment style for consistency.
Diego Biurrun [Thu, 2 Oct 2008 15:50:24 +0000 (15:50 +0000)]
cosmetics: Change comment style for consistency.

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

16 years agoUpdate copyright years.
Diego Biurrun [Thu, 2 Oct 2008 15:44:59 +0000 (15:44 +0000)]
Update copyright years.

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

16 years agoGlobally set LC_ALL=C to prevent locale issues from breaking tests.
Diego Biurrun [Thu, 2 Oct 2008 15:44:24 +0000 (15:44 +0000)]
Globally set LC_ALL=C to prevent locale issues from breaking tests.

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

16 years agoRename some variables and add some comments to try to be a bit more clear.
Benoit Fouet [Thu, 2 Oct 2008 15:27:13 +0000 (15:27 +0000)]
Rename some variables and add some comments to try to be a bit more clear.

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

16 years agoAllow using DECLARE_ALIGNED with Sun cc.
Carl Eugen Hoyos [Thu, 2 Oct 2008 10:47:05 +0000 (10:47 +0000)]
Allow using DECLARE_ALIGNED with Sun cc.

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

16 years agoRename copy_picture to ff_copy_picture.
Carl Eugen Hoyos [Thu, 2 Oct 2008 00:27:09 +0000 (00:27 +0000)]
Rename copy_picture to ff_copy_picture.

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

16 years agoFix memleak for currupt input.
Carl Eugen Hoyos [Wed, 1 Oct 2008 21:47:49 +0000 (21:47 +0000)]
Fix memleak for currupt input.

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

16 years agocosmetics, remove useless spaces
Baptiste Coudurier [Wed, 1 Oct 2008 20:45:06 +0000 (20:45 +0000)]
cosmetics, remove useless spaces

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

16 years agoCosmetics: reindent
David Conrad [Wed, 1 Oct 2008 14:48:54 +0000 (14:48 +0000)]
Cosmetics: reindent

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

16 years agoUnneeded else
David Conrad [Wed, 1 Oct 2008 14:48:35 +0000 (14:48 +0000)]
Unneeded else

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

16 years agoUnneeded braces
David Conrad [Wed, 1 Oct 2008 14:48:16 +0000 (14:48 +0000)]
Unneeded braces

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

16 years agoReturn if unpacking motion vectors for a keyframe
David Conrad [Wed, 1 Oct 2008 14:48:00 +0000 (14:48 +0000)]
Return if unpacking motion vectors for a keyframe

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

16 years agoCosmetics: indentation
David Conrad [Wed, 1 Oct 2008 14:44:30 +0000 (14:44 +0000)]
Cosmetics: indentation

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

16 years agoVisible width/height fields were added in Theora 3.2
David Conrad [Wed, 1 Oct 2008 14:43:08 +0000 (14:43 +0000)]
Visible width/height fields were added in Theora 3.2

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

16 years agofilter_limit_values only needs 7 bits, make its tables smaller
David Conrad [Wed, 1 Oct 2008 14:40:29 +0000 (14:40 +0000)]
filter_limit_values only needs 7 bits, make its tables smaller

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

16 years agoFix indentation.
Benoit Fouet [Wed, 1 Oct 2008 12:48:26 +0000 (12:48 +0000)]
Fix indentation.

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

16 years agoUse parse_packet vfunc in RTPDynamicProtocolHandler instead of hardcoding
Ronald S. Bultje [Wed, 1 Oct 2008 12:38:41 +0000 (12:38 +0000)]
Use parse_packet vfunc in RTPDynamicProtocolHandler instead of hardcoding
the use of rdt_parse_packet(). See "RDT/Realmedia patches #2" thread on ML.

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

16 years agoThis patch refactors RDT packet header parsing so that it can be used in
Ronald S. Bultje [Wed, 1 Oct 2008 12:37:07 +0000 (12:37 +0000)]
This patch refactors RDT packet header parsing so that it can be used in
rtsp.c to detect the ID of the packet source also in case of TCP streams.
This allows proper playback of RDT streams with multiple stream types, e.g.
audio + video. Accepted by LucaB in "RDT/Realmedia patches #2" thread on ML.

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

16 years agoRemove useless context variable.
Benoit Fouet [Wed, 1 Oct 2008 08:29:19 +0000 (08:29 +0000)]
Remove useless context variable.

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

16 years agoMerge declaration and assignment.
Benoit Fouet [Wed, 1 Oct 2008 08:27:37 +0000 (08:27 +0000)]
Merge declaration and assignment.

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

16 years agoInterleaved forward/backward channels processing in order to increase chances
Siarhei Siamashka [Wed, 1 Oct 2008 07:28:34 +0000 (07:28 +0000)]
Interleaved forward/backward channels processing in order to increase chances
of stepping on already cached data for the cores with extremely small data
cache.
Patch by Siarhei Siamashka: name dot surname at gmail

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

16 years agoCosmetics: indentation
David Conrad [Tue, 30 Sep 2008 19:51:02 +0000 (19:51 +0000)]
Cosmetics: indentation

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

16 years agoMerge (vp3|theora)_calculate_pixel_addresses
David Conrad [Tue, 30 Sep 2008 19:50:43 +0000 (19:50 +0000)]
Merge (vp3|theora)_calculate_pixel_addresses

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

16 years agoMissed hunks of last commit
David Conrad [Tue, 30 Sep 2008 19:22:20 +0000 (19:22 +0000)]
Missed hunks of last commit

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

16 years agoRemove unused vp3 debugging info
David Conrad [Tue, 30 Sep 2008 19:18:22 +0000 (19:18 +0000)]
Remove unused vp3 debugging info

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

16 years agoMove iv_decode_frame function to remove a forward declaration.
Benoit Fouet [Tue, 30 Sep 2008 14:43:55 +0000 (14:43 +0000)]
Move iv_decode_frame function to remove a forward declaration.

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

16 years agoRemove useless lines.
Benoit Fouet [Tue, 30 Sep 2008 14:41:11 +0000 (14:41 +0000)]
Remove useless lines.

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

16 years agoReindent whole file.
Benoit Fouet [Tue, 30 Sep 2008 14:22:10 +0000 (14:22 +0000)]
Reindent whole file.

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

16 years agoReindent after previous patches.
Ronald S. Bultje [Tue, 30 Sep 2008 13:27:19 +0000 (13:27 +0000)]
Reindent after previous patches.

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

16 years agoImplement a RTSPTransport field, which allows proper separation of server
Ronald S. Bultje [Tue, 30 Sep 2008 13:26:20 +0000 (13:26 +0000)]
Implement a RTSPTransport field, which allows proper separation of server
types and their non-standard extensions, and the data they serve. Practically,
this patch allows Real servers to serve normal non-RDT (standard RTP) data.
See discussion on ML in "Realmedia patch" thread.

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

16 years agoRemove access to rdt_data struct in functions called outside of the
Ronald S. Bultje [Tue, 30 Sep 2008 13:23:33 +0000 (13:23 +0000)]
Remove access to rdt_data struct in functions called outside of the
DynamicProtocol* context. Doing so could lead to problems if we're accessing
Real servers serving non-RDT data (or the other way around). Temporarily,
this patch adds a _subscribe2() function which will soon be removed in one
of the subsequent commits. OK'ed by Luca in "Realmedia patch" thread on ML.

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

16 years agoSend improper UDP SETUP request, which is what Realmedia servers expect.
Ronald S. Bultje [Tue, 30 Sep 2008 13:20:23 +0000 (13:20 +0000)]
Send improper UDP SETUP request, which is what Realmedia servers expect.
See discussion on ML in "Realmedia patch" thread.

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

16 years agoRename RTSPProtocol to RTSPLowerTransport, so that its name properly tells us
Ronald S. Bultje [Tue, 30 Sep 2008 13:18:41 +0000 (13:18 +0000)]
Rename RTSPProtocol to RTSPLowerTransport, so that its name properly tells us
that it only describes the lower-level transport (TCP vs. UDP) and not the
actual data layout (e.g. RDT vs. RTP). See discussion in "Realmedia patch"
thread on ML.

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

16 years agoIndent.
Benoit Fouet [Tue, 30 Sep 2008 11:55:40 +0000 (11:55 +0000)]
Indent.

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

16 years agoSimplify iv_free_func().
Benoit Fouet [Tue, 30 Sep 2008 11:55:20 +0000 (11:55 +0000)]
Simplify iv_free_func().

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

16 years agoMove allocated buffer out of YUV buffer structure.
Benoit Fouet [Tue, 30 Sep 2008 11:51:44 +0000 (11:51 +0000)]
Move allocated buffer out of YUV buffer structure.

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

16 years agoRemove useless initializations.
Benoit Fouet [Tue, 30 Sep 2008 11:46:37 +0000 (11:46 +0000)]
Remove useless initializations.

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

16 years agoCheck allocations on init.
Benoit Fouet [Tue, 30 Sep 2008 09:54:13 +0000 (09:54 +0000)]
Check allocations on init.

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

16 years agoRemove useless test.
Benoit Fouet [Tue, 30 Sep 2008 09:41:04 +0000 (09:41 +0000)]
Remove useless test.

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

16 years agoCosmetics
Benoit Fouet [Tue, 30 Sep 2008 09:35:53 +0000 (09:35 +0000)]
Cosmetics

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

16 years agouse uint8_t instead of unsigned char
Benoit Fouet [Tue, 30 Sep 2008 09:32:14 +0000 (09:32 +0000)]
use uint8_t instead of unsigned char

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

16 years agoCorrector type fits in 8 bits.
Benoit Fouet [Tue, 30 Sep 2008 09:26:49 +0000 (09:26 +0000)]
Corrector type fits in 8 bits.

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

16 years agoRemove useless casts and use variable instead of its type in sizeof.
Benoit Fouet [Tue, 30 Sep 2008 09:08:27 +0000 (09:08 +0000)]
Remove useless casts and use variable instead of its type in sizeof.

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

16 years agoChange table types to uint8_t
Benoit Fouet [Tue, 30 Sep 2008 09:05:34 +0000 (09:05 +0000)]
Change table types to uint8_t

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

16 years agoDowngrade severity of leftover bits in header packets, and don't check for the commen...
David Conrad [Tue, 30 Sep 2008 04:18:22 +0000 (04:18 +0000)]
Downgrade severity of leftover bits in header packets, and don't check for the comment header

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

16 years agosupport negative ctts in some way, unset wrong dts
Baptiste Coudurier [Tue, 30 Sep 2008 02:44:57 +0000 (02:44 +0000)]
support negative ctts in some way, unset wrong dts

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

16 years agoAllocate 1 line more in the chroma plane for H.264, this avoids some
Michael Niedermayer [Tue, 30 Sep 2008 01:45:53 +0000 (01:45 +0000)]
Allocate 1 line more in the chroma plane for H.264, this avoids some
out of array reads with mmx/sse2 code.
Fixes issue327.

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

16 years agoReplace second (and wrong) call to avcodec_align_dimensions() by adjusting
Michael Niedermayer [Tue, 30 Sep 2008 01:07:25 +0000 (01:07 +0000)]
Replace second (and wrong) call to avcodec_align_dimensions() by adjusting
stride_align. This is not particularly pretty and I will gladly implement
something else if someone has an idea!

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

16 years agoDo not attempt to perform error concealment in lowres mode as this is
Michael Niedermayer [Tue, 30 Sep 2008 00:28:13 +0000 (00:28 +0000)]
Do not attempt to perform error concealment in lowres mode as this is
not supported currently.

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

16 years agoatrac3: ensure input frame is not overwritten (it is const)
Aurelien Jacobs [Mon, 29 Sep 2008 22:22:46 +0000 (22:22 +0000)]
atrac3: ensure input frame is not overwritten (it is const)
this fixes the following warning:
atrac3.c:889: warning: assignment discards qualifiers from pointer target type

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

16 years agoUse skip_frame for keyframe-only decoding rather than #ifdef
David Conrad [Mon, 29 Sep 2008 22:04:35 +0000 (22:04 +0000)]
Use skip_frame for keyframe-only decoding rather than #ifdef

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

16 years agoFix a warning about an undefined function when compiling h264.c
Carl Eugen Hoyos [Mon, 29 Sep 2008 15:41:55 +0000 (15:41 +0000)]
Fix a warning about an undefined function when compiling h264.c

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

16 years agoRemove some format string warnings.
Diego Pettenò [Mon, 29 Sep 2008 07:15:49 +0000 (07:15 +0000)]
Remove some format string warnings.
patch by Diego Pettenò, flameeyes gmail com

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

16 years agoUniformly define _XOPEN_SOURCE to 600.
Diego Biurrun [Mon, 29 Sep 2008 06:22:12 +0000 (06:22 +0000)]
Uniformly define _XOPEN_SOURCE to 600.
The feature_tests.h header from Sun systems (Solaris/OpenSolaris) will abort
the build if _XOPEN_SOURCE is defined to 500, and C99 is requested (as well
as POSIX.1-2001), and will only accept it to be defined to 600.
inspired by a patch from Diego Pettenò, flameeyes gmail com

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

16 years agocosmetics: Consistently use #ifdef in preprocessor directives.
Diego Biurrun [Mon, 29 Sep 2008 06:15:51 +0000 (06:15 +0000)]
cosmetics: Consistently use #ifdef in preprocessor directives.

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

16 years agoRemove unused function fast_memcpy.
Diego Biurrun [Mon, 29 Sep 2008 06:06:19 +0000 (06:06 +0000)]
Remove unused function fast_memcpy.

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

16 years agocosmetics: indentation
Diego Biurrun [Mon, 29 Sep 2008 05:41:54 +0000 (05:41 +0000)]
cosmetics: indentation

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

16 years agoRevert mistakely commited hunk.
Michael Niedermayer [Mon, 29 Sep 2008 01:15:54 +0000 (01:15 +0000)]
Revert mistakely commited hunk.

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

16 years agoPrint all cases that are tested, not just the ones that are bad.
Michael Niedermayer [Mon, 29 Sep 2008 01:14:27 +0000 (01:14 +0000)]
Print all cases that are tested, not just the ones that are bad.

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

16 years agoFix infinite loop with spline, bug was introduced in r27612 by me.
Michael Niedermayer [Mon, 29 Sep 2008 01:08:01 +0000 (01:08 +0000)]
Fix infinite loop with spline, bug was introduced in r27612 by me.

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

16 years agofix -uninstalled.pc includedir for out-of-tree builds
Diego Pettenò [Sun, 28 Sep 2008 23:29:23 +0000 (23:29 +0000)]
fix -uninstalled.pc includedir for out-of-tree builds
patch by Diego 'Flameeyes' Pettenò  flameeyes _at_ gmail

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

16 years agoset video_enc->sample_aspect_ratio to fix stream copy
Wolfram Gloger [Sun, 28 Sep 2008 23:24:32 +0000 (23:24 +0000)]
set video_enc->sample_aspect_ratio to fix stream copy
patch by Wolfram Gloger  wmglo _at_ dent.med.uni-muenchen _dot_ de

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

16 years agoGuess picture type from picture coding extension when the main header is damaged.
Michael Niedermayer [Sun, 28 Sep 2008 23:19:12 +0000 (23:19 +0000)]
Guess picture type from picture coding extension when the main header is damaged.

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

16 years agomatroskadec: merge ASS events which share the same pts in the same AVPavket
Aurelien Jacobs [Sun, 28 Sep 2008 23:06:25 +0000 (23:06 +0000)]
matroskadec: merge ASS events which share the same pts in the same AVPavket

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

16 years agomatroskadec: ass events lines must end with a DOS style EOL
Aurelien Jacobs [Sun, 28 Sep 2008 23:01:07 +0000 (23:01 +0000)]
matroskadec: ass events lines must end with a DOS style EOL

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

16 years agomatroskadec: set duration only for CODEC_ID_TEXT subtitles
Aurelien Jacobs [Sun, 28 Sep 2008 22:58:53 +0000 (22:58 +0000)]
matroskadec: set duration only for CODEC_ID_TEXT subtitles

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

16 years agomatroskadec: pass duration as parameter of matroska_fix_ass_packet()
Aurelien Jacobs [Sun, 28 Sep 2008 22:55:28 +0000 (22:55 +0000)]
matroskadec: pass duration as parameter of matroska_fix_ass_packet()

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

16 years agoAVOptions support for ffplay.
Michael Niedermayer [Sun, 28 Sep 2008 19:39:18 +0000 (19:39 +0000)]
AVOptions support for ffplay.

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

16 years agoMove opt_default() and set_context_opts() to cmdutils so it can be used from
Michael Niedermayer [Sun, 28 Sep 2008 19:35:22 +0000 (19:35 +0000)]
Move opt_default() and set_context_opts() to cmdutils so it can be used from
the other tools as well.

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

16 years agoRename opt_default() so it will not conflict with the one from ffmpeg.c
Michael Niedermayer [Sun, 28 Sep 2008 19:33:19 +0000 (19:33 +0000)]
Rename opt_default() so it will not conflict with the one from ffmpeg.c
when it is moved to cmdutils.c/h.

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

16 years agoDocument the directpred auto value.
Francesco Cosoleto [Sun, 28 Sep 2008 19:11:26 +0000 (19:11 +0000)]
Document the directpred auto value.
Patch by Francesco Cosoleto cosoleto ^^AT^^ gmail @@dot@@ com

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

16 years agoSubstitute the not anymore supported "me" option name with "me_method"
Francesco Cosoleto [Sun, 28 Sep 2008 19:06:46 +0000 (19:06 +0000)]
Substitute the not anymore supported "me" option name with "me_method"
in ffpreset files.
Patch by Francesco Cosoleto cosoleto -- gmail --dot-- com

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

16 years agoMake myself maintainer of the preset files
Robert Swain [Sun, 28 Sep 2008 19:05:34 +0000 (19:05 +0000)]
Make myself maintainer of the preset files

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

16 years agoImplement the force_fps option, which disables the automatic selection
Stefano Sabatini [Sun, 28 Sep 2008 17:34:03 +0000 (17:34 +0000)]
Implement the force_fps option, which disables the automatic selection
of the best framerate amongst the list of supported framerates of the
codec. Use the av_find_nearest_q_idx() function to choose the best
framerate.

See the thread: "Implement in lavc a flag which makes avcodec_open()
to choose the best framerate".

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

16 years agoUse DECLARE_ALIGNED_16() on vorbis windows as they are used in dsputils
Siarhei Siamashka [Sun, 28 Sep 2008 16:16:05 +0000 (16:16 +0000)]
Use DECLARE_ALIGNED_16() on vorbis windows as they are used in dsputils
functions that require such alignment.

Patch by Siarhei Siamashka (siarhei siamashka gmail com)

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

16 years agoSupport loading presets from random paths.
Michael Niedermayer [Sun, 28 Sep 2008 13:09:29 +0000 (13:09 +0000)]
Support loading presets from random paths.
Fixes issue659.

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

16 years agoassdec: don't remove CR, they are part of the spec
Aurelien Jacobs [Sat, 27 Sep 2008 23:12:24 +0000 (23:12 +0000)]
assdec: don't remove CR, they are part of the spec

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

16 years agocosmetics: Break overly long lines, one grammar fix.
Diego Biurrun [Sat, 27 Sep 2008 20:05:12 +0000 (20:05 +0000)]
cosmetics: Break overly long lines, one grammar fix.

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

16 years agospelling/wording/grammar
Diego Biurrun [Sat, 27 Sep 2008 19:51:53 +0000 (19:51 +0000)]
spelling/wording/grammar

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

16 years agoMove doxygen comments for av_gettime from utils.c to avformat.h.
Diego Biurrun [Sat, 27 Sep 2008 17:37:22 +0000 (17:37 +0000)]
Move doxygen comments for av_gettime from utils.c to avformat.h.

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

16 years agoAdd alltools target to build all the tools/ stuff.
Diego Biurrun [Sat, 27 Sep 2008 05:01:57 +0000 (05:01 +0000)]
Add alltools target to build all the tools/ stuff.

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

16 years agoReplace apparently always true condition by assert().
Michael Niedermayer [Sat, 27 Sep 2008 02:39:24 +0000 (02:39 +0000)]
Replace apparently always true condition by assert().

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

16 years agoSimplify pix_fmt_id instead of listing a subset of non-simplified ones.
Michael Niedermayer [Sat, 27 Sep 2008 01:59:50 +0000 (01:59 +0000)]
Simplify pix_fmt_id instead of listing a subset of non-simplified ones.

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

16 years agoCheck the 4th plane too when selecting the pixfmt.
Michael Niedermayer [Sat, 27 Sep 2008 01:50:57 +0000 (01:50 +0000)]
Check the 4th plane too when selecting the pixfmt.
Fixes a crash with Test-4-component-YCCK.jpg.

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

16 years agoReplace 'test' invocation by 'test -n', this should be safer.
Diego Biurrun [Fri, 26 Sep 2008 21:39:22 +0000 (21:39 +0000)]
Replace 'test' invocation by 'test -n', this should be safer.

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

16 years agoAdd support for passing a version string to configure that is appended to
Diego Biurrun [Fri, 26 Sep 2008 21:37:50 +0000 (21:37 +0000)]
Add support for passing a version string to configure that is appended to
FFmpeg's version string output. This can be used by distributions to mark
their packages as being modified versions without hacking the sources.

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