Commit Graph

16096 Commits

Author SHA1 Message Date
Michael Niedermayer
503bc4026d 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
2008-09-30 01:07:25 +00:00
Michael Niedermayer
8c07cee91a 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
2008-09-30 00:28:13 +00:00
Aurelien Jacobs
15ae1959d8 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
2008-09-29 22:22:46 +00:00
David Conrad
068e82bac1 Use skip_frame for keyframe-only decoding rather than #ifdef
Originally committed as revision 15463 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-29 22:04:35 +00:00
Carl Eugen Hoyos
bf615b89e3 Fix a warning about an undefined function when compiling h264.c
Originally committed as revision 15462 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-29 15:41:55 +00:00
Diego Pettenò
dc771f6b5f Remove some format string warnings.
patch by Diego Pettenò, flameeyes gmail com

Originally committed as revision 15461 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-29 07:15:49 +00:00
Diego Biurrun
d0feff2a5b 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
2008-09-29 06:22:12 +00:00
Diego Biurrun
c44c4e181f cosmetics: Consistently use #ifdef in preprocessor directives.
Originally committed as revision 15459 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-29 06:15:51 +00:00
Diego Biurrun
92ca910542 Remove unused function fast_memcpy.
Originally committed as revision 27673 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-29 06:06:19 +00:00
Diego Biurrun
ed2164f37e cosmetics: indentation
Originally committed as revision 27672 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-29 05:41:54 +00:00
Michael Niedermayer
8335a9f0cb Revert mistakely commited hunk.
Originally committed as revision 27671 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-29 01:15:54 +00:00
Michael Niedermayer
0473e31faa 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
2008-09-29 01:14:27 +00:00
Michael Niedermayer
f830d8244a 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
2008-09-29 01:08:01 +00:00
Diego Pettenò
1d44d365ac 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
2008-09-28 23:29:23 +00:00
Wolfram Gloger
143df82789 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
2008-09-28 23:24:32 +00:00
Michael Niedermayer
ed16f91f26 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
2008-09-28 23:19:12 +00:00
Aurelien Jacobs
d5e34dcb72 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
2008-09-28 23:06:25 +00:00
Aurelien Jacobs
3df2be9fa7 matroskadec: ass events lines must end with a DOS style EOL
Originally committed as revision 15454 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-28 23:01:07 +00:00
Aurelien Jacobs
1bb4a1a1c4 matroskadec: set duration only for CODEC_ID_TEXT subtitles
Originally committed as revision 15453 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-28 22:58:53 +00:00
Aurelien Jacobs
e7d4b7431d matroskadec: pass duration as parameter of matroska_fix_ass_packet()
Originally committed as revision 15452 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-28 22:55:28 +00:00
Michael Niedermayer
e43d7a18d8 AVOptions support for ffplay.
Originally committed as revision 15451 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-28 19:39:18 +00:00
Michael Niedermayer
85663ef302 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
2008-09-28 19:35:22 +00:00
Michael Niedermayer
df1a4b1134 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
2008-09-28 19:33:19 +00:00
Francesco Cosoleto
30ab4deda8 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
2008-09-28 19:11:26 +00:00
Francesco Cosoleto
b235dbb05b 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
2008-09-28 19:06:46 +00:00
Robert Swain
9e44998c63 Make myself maintainer of the preset files
Originally committed as revision 15446 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-28 19:05:34 +00:00
Stefano Sabatini
d2845b758e 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
2008-09-28 17:34:03 +00:00
Siarhei Siamashka
4c149a80e6 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
2008-09-28 16:16:05 +00:00
Michael Niedermayer
4e72f129c3 Support loading presets from random paths.
Fixes issue659.

Originally committed as revision 15443 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-28 13:09:29 +00:00
Aurelien Jacobs
7a8b7634c5 assdec: don't remove CR, they are part of the spec
Originally committed as revision 15442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-27 23:12:24 +00:00
Diego Biurrun
78cb727302 cosmetics: Break overly long lines, one grammar fix.
Originally committed as revision 15441 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-27 20:05:12 +00:00
Diego Biurrun
4f57fa8c03 spelling/wording/grammar
Originally committed as revision 15440 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-27 19:51:53 +00:00
Diego Biurrun
fff5e687a1 Move doxygen comments for av_gettime from utils.c to avformat.h.
Originally committed as revision 15439 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-27 17:37:22 +00:00
Diego Biurrun
9bce82fa00 Add alltools target to build all the tools/ stuff.
Originally committed as revision 15438 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-27 05:01:57 +00:00
Michael Niedermayer
766a4a99e2 Replace apparently always true condition by assert().
Originally committed as revision 15437 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-27 02:39:24 +00:00
Michael Niedermayer
c2c7342b70 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
2008-09-27 01:59:50 +00:00
Michael Niedermayer
7c1e33f930 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
2008-09-27 01:50:57 +00:00
Diego Biurrun
e73db71899 Replace 'test' invocation by 'test -n', this should be safer.
Originally committed as revision 15434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-26 21:39:22 +00:00
Diego Biurrun
ac63af34b5 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
2008-09-26 21:37:50 +00:00
Diego Biurrun
b3de4544e0 Use better table heading names in the supported formats tables.
Originally committed as revision 15432 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-26 19:58:27 +00:00
Michael Niedermayer
0c86f89a53 Forgotten changelog update for ASS/SSA (de)muxer.
Originally committed as revision 15431 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-26 19:57:06 +00:00
Michael Niedermayer
88caf34510 ASS/SSA muxer.
Originally committed as revision 15430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-26 19:42:21 +00:00
Diego Biurrun
295b8c7025 whitespace cosmetics
Originally committed as revision 15429 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-26 19:35:17 +00:00
Vitor Sessak
d552d04dc9 Simplify: avoid duplication backward_filter()
Originally committed as revision 15428 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-26 18:42:06 +00:00
Diego Biurrun
bbc78fb4b4 Remove unused variable.
Originally committed as revision 15427 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-26 18:11:41 +00:00
Benjamin Larsson
2426bb960a add ok parts to the rm demuxer for SIPRO support
Originally committed as revision 15426 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-26 12:12:25 +00:00
Benjamin Larsson
faeedbbb06 Add support for Acelp.net fourcc and codecid, remuxing wav to avi should work
Originally committed as revision 15425 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-26 10:59:42 +00:00
Michael Niedermayer
5c8a1d1927 Do not lose the '\n'.
Originally committed as revision 15424 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-26 03:24:05 +00:00
Baptiste Coudurier
a3250d073d sync to latest mingw api, remove unneeded struct definitions
Originally committed as revision 15423 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-26 03:20:35 +00:00
Michael Niedermayer
de3ae185a4 2 in 1, an ASS and SSA demuxer.
Tested with -scodec copy on all ASS & SSA samples that i found on mphq (exactly 2).

Originally committed as revision 15422 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-26 02:19:21 +00:00