Commit Graph

25463 Commits

Author SHA1 Message Date
Alexander Kojevnikov
49d7ef282d Show correct bitrate for VBR MP3 files.
Patch by Alexander Kojevnikov, alexander kojevnikov com

Originally committed as revision 24539 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-27 10:08:34 +00:00
Måns Rullgård
8a0f61c4fb Remove duplicate initialiser for cavsvideo_muxer.extensions
The extensions field was initialised first to "cavs", then to "avs".
The name "cavs" is kept since this is used for the format elsewhere
and "avs" is already used for avisynth files.

Originally committed as revision 24538 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-27 08:21:23 +00:00
Josh Allmann
adc03a3406 rtpdec_xiph: Drop RTP packets that come in without a prior fragment start marker.
This can avoid segfaults in some cases.

Patch by Josh Allmann, joshua dot allmann at gmail

Originally committed as revision 24537 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-27 08:16:03 +00:00
Måns Rullgård
4db40efa47 libavformat needs libavcore
Originally committed as revision 24536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-27 08:03:09 +00:00
Stefan Gehrer
de29597680 add Chinese AVS encoding via external library libxavs
Originally committed as revision 24533 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-27 07:18:36 +00:00
Måns Rullgård
54d1d1ba17 libavcore needs libavutil
Originally committed as revision 24532 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-27 06:58:42 +00:00
Måns Rullgård
673fe599b3 fate: delete build and install dirs after session
Originally committed as revision 24531 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-27 01:08:44 +00:00
Måns Rullgård
a9dc611145 fate: add fate session script
Originally committed as revision 24530 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-26 23:44:09 +00:00
Måns Rullgård
b82be63688 fate: create report files
Originally committed as revision 24529 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-26 23:44:06 +00:00
Måns Rullgård
bb5cecdc52 configure: extract detailed compiler identification
Originally committed as revision 24528 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-26 23:44:02 +00:00
Måns Rullgård
1606446248 version.sh: write version to stdout if no output file specified
Originally committed as revision 24527 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-26 23:43:59 +00:00
Måns Rullgård
ce3a841da1 Add a simple base64 encoder for use in tests
Originally committed as revision 24526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-26 23:43:56 +00:00
Stefano Sabatini
fa8ead0032 Add an APIchanges entry for the libavcore/parseutils.{h,c} addition of
r24518.

Originally committed as revision 24525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-26 23:26:42 +00:00
Stefano Sabatini
ea35e3c61e Avoid the use of an intermediary variable in
av_parse_video_rate(). Simplify.

Originally committed as revision 24524 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-26 23:12:48 +00:00
Stefano Sabatini
c90c80ac28 Make VideoFrameRateAbbr contain a rational rather than two ints for
num and den. Simplify.

Originally committed as revision 24523 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-26 23:12:45 +00:00
Stefano Sabatini
dc4a50a073 Remove reference to the "frame" term in variable names. Simpler and
more consistent with the function names.

Originally committed as revision 24522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-26 23:12:41 +00:00
Stefano Sabatini
afead10638 Make av_parse_video_size() and av_parse_video_rate() return
AVERROR(EINVAL) rather than -1 in case of unsuccess.

Originally committed as revision 24521 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-26 23:12:38 +00:00
Stefano Sabatini
b964a2935e Reindent.
Originally committed as revision 24520 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-26 23:12:35 +00:00
Stefano Sabatini
a275862461 Make pkgconfig_generate check if the library is enabled before to
generate the pc files.

Originally committed as revision 24519 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-26 23:12:32 +00:00
Stefano Sabatini
126b638ea0 Deprecate av_parse_video_frame_size() and av_parse_video_frame_rate()
in favor of the newly added corresponding functions
av_parse_video_size() and av_parse_video_rate() defined in
libavcore/parseutils.h.

This change also adds a linking-time dependency of libavcodec and of
libavfilter on libavcore.

Originally committed as revision 24518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-26 23:12:28 +00:00
Ronald S. Bultje
db9cc3a55a Reindent after r24516.
Originally committed as revision 24517 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-26 22:22:42 +00:00
Ronald S. Bultje
e87b7d72c6 Use inverse error branches, i.e. instead of if(something){success} else {error},
use if(!something) {return error;} success;, which needs less indenting.

Originally committed as revision 24516 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-26 22:22:20 +00:00
Ronald S. Bultje
540ab68c64 Use av_log(.., AV_LOG_ERROR) instead of dprintf() for logging errors. This
should help in making mmst a little more userfriendly, or at least debuggable.
Also use helpful error return values instead of -1.

Originally committed as revision 24515 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-26 22:21:14 +00:00
Ronald S. Bultje
ab4d031889 Use pmaddubsw for the mbedge_filter (>=ssse3), 6-10 cycles faster.
Originally committed as revision 24514 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-26 21:18:19 +00:00
Jason Garrett-Glaser
e25dee602f VP8: Much faster SSE2 MC
5-10% faster or more on Phenom, Athlon 64, and some others.
Helps some on pre-SSSE3 Intel chips as well, but not as much.

Originally committed as revision 24513 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-26 19:34:00 +00:00
S.N. Hemanth Meenakshisundaram
9dd9d67bd0 Define static functions fill_image_linesize() and
fill_image_data_ptr(). ff_fill_linesize() and ff_fill_pointer() now wrap
these functions.

The new functions are more generic, and are going to be exported in a
future patch.

Patch by S.N. Hemanth Meenakshisundaram smeenaks # ucsd § edu.

Originally committed as revision 24512 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-26 14:30:47 +00:00
Ronald S. Bultje
48adb7e7a4 Enable no-loop memory/register saving for ssse3/sse4 also.
Originally committed as revision 24511 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-26 14:07:57 +00:00
Ronald S. Bultje
2a180c69ea Save a register (or regsize of stackspace for x86-32) for the no-loop
mbedge loopfilter functions, by re-using space that holds a variable
that we no longer need.

Originally committed as revision 24510 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-26 14:00:15 +00:00
Ronald S. Bultje
bcd4aa6498 Use nested ifs instead of &&, which appears to not work with %ifidn (i.e. this
construct was always enabled, even for <ssse3 versions).

Originally committed as revision 24509 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-26 13:56:51 +00:00
Axel Holzinger
0b2c75cb68 Rename pow variable to pwr.
Patch by Axel Holzinger <aholzinger gmx de>.

Originally committed as revision 24508 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-26 13:52:49 +00:00
Ronald S. Bultje
2208053bd3 Split pextrw macro-spaghetti into several opt-specific macros, this will make
future new optimizations (imagine a sse5) much easier. Also fix a bug where
we used the direction (%2) rather than optimization (%1) to enable this, which
means it wasn't ever actually used...

Originally committed as revision 24507 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-26 13:50:59 +00:00
Stefano Sabatini
065a20cb07 Reindent.
Originally committed as revision 24506 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-26 13:39:49 +00:00
Stefano Sabatini
3aace1bcac Rename av_transcode() to transcode().
av_ prefix is reserved for libav* libraries functions, it is confusing
to use it for an application function.

Originally committed as revision 24505 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-26 13:39:41 +00:00
Jason Garrett-Glaser
fca05ea8a0 VP8: add missing free
Fixes a tiny memory leak.

Originally committed as revision 24504 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-26 07:10:30 +00:00
Aurelien Jacobs
2701fd40f9 matroskaenc: add support for muxing SRT tracks
Originally committed as revision 24503 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-25 21:16:58 +00:00
Aurelien Jacobs
7b53f463b4 add mime-type for ASS muxer
Originally committed as revision 24502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-25 19:36:20 +00:00
Martin Storsjö
752ff3ffa7 Include the correct header that actually is used, use quotes instead of angle brackets
Originally committed as revision 24501 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-25 19:12:35 +00:00
Stefano Sabatini
a16dfa2c80 Fix pkgconfig_generate line for libavcore.
libavcore depends on libavutil, and does not require extralibs.

Originally committed as revision 24500 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-25 15:31:25 +00:00
Rafaël Carré
09d7da865f Accept stdin as input for patcheck.
Patch by Rafaël Carré, rafael d carre a gmail

Originally committed as revision 24499 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-25 15:02:27 +00:00
Carl Eugen Hoyos
28e241de5d Fix r24445: Instead of needlessly initialising a variable, silence the warning.
Originally committed as revision 24498 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-25 14:49:45 +00:00
Stefano Sabatini
639e4ec81b Rename av_exit() to ffmpeg_exit().
av_ is a prefix reserved for av* libraries functions, using that for an
application function is confusing.

Originally committed as revision 24497 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-25 14:42:32 +00:00
Stefano Sabatini
f62c025a5e Use X ? Y : Z construct, simplify.
Originally committed as revision 24496 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-25 14:41:06 +00:00
Reimar Döffinger
853a0fccce Cosmetics: fix indentation and remove a useless else.
Originally committed as revision 24495 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-25 14:35:12 +00:00
Reimar Döffinger
3aa13da970 Simplify get_byte and url_fgetc.
Originally committed as revision 24494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-25 14:33:40 +00:00
Carl Eugen Hoyos
b9542223a3 Only 4-bit ADPCM IMA WAV files are supported.
Originally committed as revision 24493 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-25 14:33:16 +00:00
Stefano Sabatini
f7bd4a8ebd Cosmetics: rename enc -> dec in opt_input_file().
The variable refer to a *decoder* context, the old name was
misleading.

Originally committed as revision 24492 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-25 10:42:00 +00:00
Reimar Döffinger
e36a39066c Move ffm_close function up to avoid a forward declaration.
Originally committed as revision 24491 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-25 07:54:33 +00:00
Reimar Döffinger
527b46ba26 ffmdec: Do not manually free streams on read_header error, this is always
handled by upper layers.
Fixes double-frees (issue 2003).
Instead call ffm_close to ensure rc_eqs are freed also in the error case.

Originally committed as revision 24490 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-25 07:52:58 +00:00
Ronald S. Bultje
6de5b7c6b8 Fix obvious bug in assignment. Somehow, the test vectors don't test this...
Originally committed as revision 24489 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-25 02:42:40 +00:00
Aurelien Jacobs
ba2c508d0c add SubRip muxer and demuxer
Originally committed as revision 24488 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-24 22:50:12 +00:00