platform/upstream/libav.git
14 years agoRemove unused local variables
Martin Storsjö [Sat, 5 Jun 2010 19:43:57 +0000 (19:43 +0000)]
Remove unused local variables

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

14 years agoCleanup apply_window_and_mdct().
Alex Converse [Sat, 5 Jun 2010 19:41:52 +0000 (19:41 +0000)]
Cleanup apply_window_and_mdct().

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

14 years agoRTSP: Add a second URLContext for outgoing messages
Josh Allmann [Sat, 5 Jun 2010 19:41:43 +0000 (19:41 +0000)]
RTSP: Add a second URLContext for outgoing messages

Done in preparation for RTSP over HTTP.
Patch by Josh Allmann, joshua dot allmann at gmail

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

14 years agoMake texi2pod.pl look for section "AUTHORS" rather than "AUTHOR", as
Stefano Sabatini [Sat, 5 Jun 2010 17:00:23 +0000 (17:00 +0000)]
Make texi2pod.pl look for section "AUTHORS" rather than "AUTHOR", as
the corresponding sections in the man page have been renamed that way.

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

14 years agoReplace "Fabrice Bellard" with "The FFmpeg developers" as the authors
Stefano Sabatini [Sat, 5 Jun 2010 16:21:17 +0000 (16:21 +0000)]
Replace "Fabrice Bellard" with "The FFmpeg developers" as the authors
of the ff* tools man pages.

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

14 years agoWhitespace cosmetics
Alex Converse [Sat, 5 Jun 2010 15:36:16 +0000 (15:36 +0000)]
Whitespace cosmetics

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

14 years agoaac: Move an initialization macro used only by the decoder out of the header.
Alex Converse [Sat, 5 Jun 2010 15:31:57 +0000 (15:31 +0000)]
aac: Move an initialization macro used only by the decoder out of the header.

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

14 years agoRename aac.c to aacdec.c.
Alex Converse [Sat, 5 Jun 2010 15:27:53 +0000 (15:27 +0000)]
Rename aac.c to aacdec.c.

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

14 years agoaacdec: Rename avccontext to avctx.
Alex Converse [Sat, 5 Jun 2010 15:22:19 +0000 (15:22 +0000)]
aacdec: Rename avccontext to avctx.

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

14 years agoAdd APIchanges entry after eval API publication.
Stefano Sabatini [Sat, 5 Jun 2010 12:06:31 +0000 (12:06 +0000)]
Add APIchanges entry after eval API publication.

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

14 years agoMove eval.c and eval.h from libavcodec to libavutil, and make the eval
Stefano Sabatini [Sat, 5 Jun 2010 12:01:28 +0000 (12:01 +0000)]
Move eval.c and eval.h from libavcodec to libavutil, and make the eval
API public.

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

14 years agoBump lavu minor and add APIchanges entry after AV_BASE64_SIZE()
Stefano Sabatini [Sat, 5 Jun 2010 11:28:02 +0000 (11:28 +0000)]
Bump lavu minor and add APIchanges entry after AV_BASE64_SIZE()
addition.

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

14 years agolibvpx now has an (L)GPL-compatible license.
Diego Biurrun [Sat, 5 Jun 2010 08:01:47 +0000 (08:01 +0000)]
libvpx now has an (L)GPL-compatible license.

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

14 years agoMore mov rawvideo fourcc supported by the rawvideo decoder
Baptiste Coudurier [Fri, 4 Jun 2010 23:33:36 +0000 (23:33 +0000)]
More mov rawvideo fourcc supported by the rawvideo decoder

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

14 years agoMore mov rawvideo fourcc
Baptiste Coudurier [Fri, 4 Jun 2010 23:31:46 +0000 (23:31 +0000)]
More mov rawvideo fourcc

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

14 years agofix raw 555 pixel format, add abgr fourcc
Baptiste Coudurier [Fri, 4 Jun 2010 23:30:58 +0000 (23:30 +0000)]
fix raw 555 pixel format, add abgr fourcc

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

14 years agomatroskaenc: Don't write a second seekhead for the clusters; mkvalidate agrees
David Conrad [Fri, 4 Jun 2010 22:41:11 +0000 (22:41 +0000)]
matroskaenc: Don't write a second seekhead for the clusters; mkvalidate agrees
with me that it's unnecessary.

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

14 years agomatroskaenc: Check that tracks was allocated
David Conrad [Fri, 4 Jun 2010 22:41:06 +0000 (22:41 +0000)]
matroskaenc: Check that tracks was allocated

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

14 years agomatroskaenc: Use av_get_random_seed -> lfg for segment UID
David Conrad [Fri, 4 Jun 2010 22:41:03 +0000 (22:41 +0000)]
matroskaenc: Use av_get_random_seed -> lfg for segment UID

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

14 years agomatroskaenc: Make put_ebml_binary take a void pointer
David Conrad [Fri, 4 Jun 2010 22:40:58 +0000 (22:40 +0000)]
matroskaenc: Make put_ebml_binary take a void pointer

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

14 years agoAdd WebM muxer
James Zern [Fri, 4 Jun 2010 22:40:54 +0000 (22:40 +0000)]
Add WebM muxer

Patch by James Zern <jzern at google>

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

14 years agomatroskaenc: Mux clusters better
James Zern [Fri, 4 Jun 2010 22:40:50 +0000 (22:40 +0000)]
matroskaenc: Mux clusters better

Start them on keyframes when reasonable, and delay writing audio packets
to help ensure that there's audio samples available for the first frame in
clusters.

Patch by James Zern <jzern at google>

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

14 years agoAdd myself as libvorbis.c maintainer
David Conrad [Fri, 4 Jun 2010 22:40:44 +0000 (22:40 +0000)]
Add myself as libvorbis.c maintainer

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

14 years agolibvorbis: Disable strict bitrate management when not requested
David Conrad [Fri, 4 Jun 2010 22:40:40 +0000 (22:40 +0000)]
libvorbis: Disable strict bitrate management when not requested

This is 3 times faster in a quick benchmark

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

14 years agolibvorbis: OV_ECTL_RATEMANAGE_AVG is depreciated in favor of
David Conrad [Fri, 4 Jun 2010 22:40:36 +0000 (22:40 +0000)]
libvorbis: OV_ECTL_RATEMANAGE_AVG is depreciated in favor of
OV_ECTL_RATEMANAGE2_SET

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

14 years agolibvorbis: Hook up min/max bitrate
David Conrad [Fri, 4 Jun 2010 22:40:31 +0000 (22:40 +0000)]
libvorbis: Hook up min/max bitrate

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

14 years agometadata: mention how to remove tags.
Anton Khirnov [Fri, 4 Jun 2010 13:52:45 +0000 (13:52 +0000)]
metadata: mention how to remove tags.

Patch by Anton Khirnov, wyskas at gmail

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

14 years agoreindent after previous commit.
Anton Khirnov [Fri, 4 Jun 2010 07:33:34 +0000 (07:33 +0000)]
reindent after previous commit.

Patch by Anton Khirnov, wyskas at gmail

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

14 years agometadata: make conversion to the same format a noop.
Anton Khirnov [Fri, 4 Jun 2010 07:32:09 +0000 (07:32 +0000)]
metadata: make conversion to the same format a noop.

Patch by Anton Khirnov, wyskas at gmail

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

14 years agortspenc: Write the interleaving header in the same buffer as the packet data
Martin Storsjö [Fri, 4 Jun 2010 06:42:39 +0000 (06:42 +0000)]
rtspenc: Write the interleaving header in the same buffer as the packet data

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

14 years agohttp: Set http_code to 200 when doing a POST
Martin Storsjö [Fri, 4 Jun 2010 06:35:12 +0000 (06:35 +0000)]
http: Set http_code to 200 when doing a POST

This avoids reading and comparing uninitialized memory.

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

14 years agoAdd bitexact versions of put_no_rnd_pixels8 _x2 and _y2 for vp3/theora
David Conrad [Fri, 4 Jun 2010 04:46:26 +0000 (04:46 +0000)]
Add bitexact versions of put_no_rnd_pixels8 _x2 and _y2 for vp3/theora

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

14 years agoUse AV_BASE64_SIZE() macro
Howard Chu [Fri, 4 Jun 2010 01:15:41 +0000 (01:15 +0000)]
Use AV_BASE64_SIZE() macro

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

14 years agoAdd AV_BASE64_SIZE() macro
Howard Chu [Fri, 4 Jun 2010 01:15:07 +0000 (01:15 +0000)]
Add AV_BASE64_SIZE() macro

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

14 years agoRaise default vorbis encoding quality.
Frank Barchard [Thu, 3 Jun 2010 23:53:10 +0000 (23:53 +0000)]
Raise default vorbis encoding quality.

Patch by Frank Barchard, fbarchard google com

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

14 years agoFix typo.
Stefano Sabatini [Thu, 3 Jun 2010 22:20:07 +0000 (22:20 +0000)]
Fix typo.

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

14 years agoExclude from the lavfi_pix_fmts regression test the output pixel
Stefano Sabatini [Thu, 3 Jun 2010 22:17:06 +0000 (22:17 +0000)]
Exclude from the lavfi_pix_fmts regression test the output pixel
formats which are not currently supported by NUT and which cannot be
played by ffplay.

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

14 years agoClarify that get/release_buffer() overriding only works with CODEC_CAP_DR1 codecs.
Michael Niedermayer [Thu, 3 Jun 2010 21:59:25 +0000 (21:59 +0000)]
Clarify that get/release_buffer() overriding only works with CODEC_CAP_DR1 codecs.

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

14 years agoDocument the frames returned by the decoder better.
Michael Niedermayer [Thu, 3 Jun 2010 21:53:41 +0000 (21:53 +0000)]
Document the frames returned by the decoder better.

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

14 years agoRename ffplay-doc.texi @chapter "Introduction" to "Description", for
Stefano Sabatini [Thu, 3 Jun 2010 21:23:07 +0000 (21:23 +0000)]
Rename ffplay-doc.texi @chapter "Introduction" to "Description", for
consistency with the corresponding man section.

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

14 years agoRename ffprobe-doc.texi @chapter "Introduction" to "Description", for
Stefano Sabatini [Thu, 3 Jun 2010 21:23:05 +0000 (21:23 +0000)]
Rename ffprobe-doc.texi @chapter "Introduction" to "Description", for
consistency with the corresponding man section.

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

14 years agoRename ffserver-doc.texi @chapter "Introduction" to "Description", for
Stefano Sabatini [Thu, 3 Jun 2010 21:23:01 +0000 (21:23 +0000)]
Rename ffserver-doc.texi @chapter "Introduction" to "Description", for
consistency with the corresponding man section.

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

14 years agoDeprecate PIX_FMT_YUVJ*
Michael Niedermayer [Thu, 3 Jun 2010 21:08:56 +0000 (21:08 +0000)]
Deprecate  PIX_FMT_YUVJ*

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

14 years agoffserver: Calculate cur_pts using first_pts as origin instead of ist->start_time
Martin Storsjö [Thu, 3 Jun 2010 20:58:22 +0000 (20:58 +0000)]
ffserver: Calculate cur_pts using first_pts as origin instead of ist->start_time

This fixes cases where ist->start_time wasn't initialized. This also makes
cur_pts calculated against the same origin for all streams.

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

14 years agoVP8 encoding via libvpx.
James Zern [Thu, 3 Jun 2010 20:47:59 +0000 (20:47 +0000)]
VP8 encoding via libvpx.

Patch by James Zern, Google, Inc.

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

14 years agowin32: Use _fstati64() instead of plain old fstat() on Windows to support file
kemuri [Thu, 3 Jun 2010 20:41:04 +0000 (20:41 +0000)]
win32: Use _fstati64() instead of plain old fstat() on Windows to support file
sizes greater than 4gb.

Patch by kemuri <kemuri9 at gmail dot com>

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

14 years agohttpauth: Fix the length passed to av_strlcat
Martin Storsjö [Thu, 3 Jun 2010 20:31:29 +0000 (20:31 +0000)]
httpauth: Fix the length passed to av_strlcat

Since the buffer always was large enough, this bug didn't have any
effect in practice.

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

14 years agoMove section EXAMPLES towards the end of the ffmpeg-doc.texi file.
Stefano Sabatini [Thu, 3 Jun 2010 20:11:36 +0000 (20:11 +0000)]
Move section EXAMPLES towards the end of the ffmpeg-doc.texi file.

This is consistent with the the rendered ordering of the ffmpeg man
page.

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

14 years agoMake consistent the various SEE ALSO sections in the FFmpeg man pages.
Stefano Sabatini [Thu, 3 Jun 2010 19:16:08 +0000 (19:16 +0000)]
Make consistent the various SEE ALSO sections in the FFmpeg man pages.

Also replace "the HTML documentation of @file{ffmpeg}" with "the FFmpeg
HTML documentation", which is more generic.

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

14 years agoPut @ignore-d man page specific trailer at the end of the file.
Stefano Sabatini [Thu, 3 Jun 2010 19:07:13 +0000 (19:07 +0000)]
Put @ignore-d man page specific trailer at the end of the file.

This makes the ordering of the sections in the file more consistent
with that of the final man output.

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

14 years agoFix misc typos.
Stefano Sabatini [Thu, 3 Jun 2010 18:53:35 +0000 (18:53 +0000)]
Fix misc typos.

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

14 years agoChange type of {audio,video,subtitle}_codec_tag variables from int to
Stefano Sabatini [Thu, 3 Jun 2010 18:40:31 +0000 (18:40 +0000)]
Change type of {audio,video,subtitle}_codec_tag variables from int to
unsigned int, as the corresponding variable set in
AVCodecContext.codec_tag is unsigned int.

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

14 years agoRemove stray and possibly wrong line, rtpdec.c sets that already
Luca Barbato [Thu, 3 Jun 2010 16:51:29 +0000 (16:51 +0000)]
Remove stray and possibly wrong line, rtpdec.c sets that already

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

14 years agoaacdec: Work around illegal files with all elem_id tags set to the same value.
Alex Converse [Thu, 3 Jun 2010 02:17:49 +0000 (02:17 +0000)]
aacdec: Work around illegal files with all elem_id tags set to the same value.

Fixes issue 1882.

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

14 years agoARM: struct offsets for Apple ABI
Måns Rullgård [Wed, 2 Jun 2010 22:41:32 +0000 (22:41 +0000)]
ARM: struct offsets for Apple ABI

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

14 years agoARM: remove some unnecessary ifdefs, fix implicit declaration warnings
Måns Rullgård [Wed, 2 Jun 2010 22:07:54 +0000 (22:07 +0000)]
ARM: remove some unnecessary ifdefs, fix implicit declaration warnings

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

14 years agoARM: check struct offsets only when they are used
Måns Rullgård [Wed, 2 Jun 2010 22:05:25 +0000 (22:05 +0000)]
ARM: check struct offsets only when they are used

The offsets differ depending on configuration, so only check them when
they will actually be used.  Presently, this is when NEON is enabled.

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

14 years agoRemove weird empty line and perform vertical align.
Stefano Sabatini [Wed, 2 Jun 2010 22:00:53 +0000 (22:00 +0000)]
Remove weird empty line and perform vertical align.

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

14 years agoMake write_streamheader() log a message if there is no codec tag
Stefano Sabatini [Wed, 2 Jun 2010 21:57:40 +0000 (21:57 +0000)]
Make write_streamheader() log a message if there is no codec tag
defined.

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

14 years agoMake write_streamheader() return a meaningful error code if no codec
Stefano Sabatini [Wed, 2 Jun 2010 21:57:37 +0000 (21:57 +0000)]
Make write_streamheader() return a meaningful error code if no codec
tag is defined, rather than return -1.

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

14 years agoMake write_header() and write_headers() return an error code in case of
Stefano Sabatini [Wed, 2 Jun 2010 21:57:35 +0000 (21:57 +0000)]
Make write_header() and write_headers() return an error code in case of
error.

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

14 years agoMake write_streamheader() and write_headers() accept an
Stefano Sabatini [Wed, 2 Jun 2010 21:57:30 +0000 (21:57 +0000)]
Make write_streamheader() and write_headers() accept an
AVFormatContext * in input rather than a NUTContext *, which allows to
log messages with av_log().

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

14 years agoProperly initialize x264_picture_t in libx264.
Jason Garrett-Glaser [Wed, 2 Jun 2010 20:05:27 +0000 (20:05 +0000)]
Properly initialize x264_picture_t in libx264.
Bump libx264 version requirement accordingly.

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

14 years agoRemove useless variables in get_common_elements().
Stefano Sabatini [Wed, 2 Jun 2010 18:56:19 +0000 (18:56 +0000)]
Remove useless variables in get_common_elements().

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

14 years agoUse .p2align in ASMALIGN() macro
Måns Rullgård [Wed, 2 Jun 2010 18:55:17 +0000 (18:55 +0000)]
Use .p2align in ASMALIGN() macro

The test for .align syntax was apparently unreliable with some compilers.
Using the .p2align directive instead avoids the need for this test.

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

14 years agoARM: fail build if hardcoded struct offsets are wrong
Måns Rullgård [Wed, 2 Jun 2010 18:49:53 +0000 (18:49 +0000)]
ARM: fail build if hardcoded struct offsets are wrong

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

14 years agoAvoid division by zero that caused noise, typically at the beginning or
Frank Barchard [Wed, 2 Jun 2010 16:09:19 +0000 (16:09 +0000)]
Avoid division by zero that caused noise, typically at the beginning or
end of a file.

Patch by Frank Barchard, fbarchard google

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

14 years agobink: correctly align local arrays
Måns Rullgård [Wed, 2 Jun 2010 15:22:21 +0000 (15:22 +0000)]
bink: correctly align local arrays

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

14 years agoAdd APIchanges entry for av_get_codec_tag_string().
Stefano Sabatini [Wed, 2 Jun 2010 10:59:09 +0000 (10:59 +0000)]
Add APIchanges entry for av_get_codec_tag_string().

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

14 years agoMake the error message issued in case of invalid codec tag more
Stefano Sabatini [Wed, 2 Jun 2010 10:54:53 +0000 (10:54 +0000)]
Make the error message issued in case of invalid codec tag more
informative.

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

14 years agoMake avcodec_string() use av_get_codec_tag_string().
Stefano Sabatini [Wed, 2 Jun 2010 10:54:50 +0000 (10:54 +0000)]
Make avcodec_string() use av_get_codec_tag_string().

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

14 years agoImplement av_get_codec_tag_string() and use it in ffprobe.
Stefano Sabatini [Wed, 2 Jun 2010 10:54:45 +0000 (10:54 +0000)]
Implement av_get_codec_tag_string() and use it in ffprobe.

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

14 years agoffserver: Allow floating point audio bit rates
Martin Storsjö [Wed, 2 Jun 2010 07:09:44 +0000 (07:09 +0000)]
ffserver: Allow floating point audio bit rates

This allows setting bit rates that aren't an exact multiple of 1000.

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

14 years agoarm neon: Add missing mangle to external symbol
David Conrad [Tue, 1 Jun 2010 20:59:06 +0000 (20:59 +0000)]
arm neon: Add missing mangle to external symbol

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

14 years agoDo not check_lib for -lva if vaapi is disabled, having -lva in extralibs
Reimar Döffinger [Tue, 1 Jun 2010 20:26:10 +0000 (20:26 +0000)]
Do not check_lib for -lva if vaapi is disabled, having -lva in extralibs
if vaapi is disabled is at best pointless.

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

14 years agoAdd an entry to APIchanges for the addition of sws_convertPalette8ToPacked32 -24
Reinhard Tartler [Tue, 1 Jun 2010 20:05:38 +0000 (20:05 +0000)]
Add an entry to APIchanges for the addition of sws_convertPalette8ToPacked32 -24

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

14 years agoChange default number of channels (used if unspecified in the format desc)
Ronald S. Bultje [Tue, 1 Jun 2010 20:00:26 +0000 (20:00 +0000)]
Change default number of channels (used if unspecified in the format desc)
from 2 to 1, which is the actual value used in the spec. Fixes issue1978.

Path by John Wimer <john at god dot vtic dot net>.

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

14 years agoPrint an error when MAX_STREAMS is reached.
Michael Niedermayer [Tue, 1 Jun 2010 19:49:21 +0000 (19:49 +0000)]
Print an error when MAX_STREAMS is reached.

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

14 years agodeprecate palette8topacked32 in favor of public API functions sws_convertPalette8ToPa...
Reinhard Tartler [Tue, 1 Jun 2010 19:35:16 +0000 (19:35 +0000)]
deprecate palette8topacked32 in favor of public API functions sws_convertPalette8ToPacked32 and -24

additionallym deprecate palette8torgb16 and its bgr variant without
replacement. These functions are not meant to be used by applications.

Discussed at: http://comments.gmane.org/gmane.comp.video.ffmpeg.devel/109340

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

14 years agoARM: NEON clear_block[s]
Måns Rullgård [Tue, 1 Jun 2010 17:21:16 +0000 (17:21 +0000)]
ARM: NEON clear_block[s]

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

14 years agoMove get_buffer() calls from decode_init() to decode_frame(). Anything else is
Sebastian Vater [Tue, 1 Jun 2010 16:36:36 +0000 (16:36 +0000)]
Move get_buffer() calls from decode_init() to decode_frame(). Anything else is
unsupported and causes crashes when libavfilter is enabled.

Patch by Sebastian Vater <cdgs basty googlemail com>.

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

14 years agoRename @chapter "Quick Start" to "Examples", for consistency with the
Stefano Sabatini [Tue, 1 Jun 2010 14:08:46 +0000 (14:08 +0000)]
Rename @chapter "Quick Start" to "Examples", for consistency with the
corresponding man page section.

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

14 years agoFix texi2pod.pl rendering of the Tips section by putting each @item
Stefano Sabatini [Tue, 1 Jun 2010 14:00:44 +0000 (14:00 +0000)]
Fix texi2pod.pl rendering of the Tips section by putting each @item
command on its own line, and create a corresponding "TIPS" man page
section.

Note that such section is not displayed, as currently only sections
with pre-defined names are rendered.

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

14 years agoMake texi2pod.pl accept @itemize commands with no following character
Stefano Sabatini [Tue, 1 Jun 2010 14:00:42 +0000 (14:00 +0000)]
Make texi2pod.pl accept @itemize commands with no following character
or texinfo command for specifying how to generate @item marks, and
make it use by default the mark symbol "*".

This is consistent with texinfo docs:
"If you don't specify a mark command, the default is `@bullet'."

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

14 years agoMerge @chapter Introduction and @chapter Description into a single
Stefano Sabatini [Tue, 1 Jun 2010 13:09:49 +0000 (13:09 +0000)]
Merge @chapter Introduction and @chapter Description into a single
section, and make the whole rendered in the man output.

Simplify layout, and make it more consistent with that of the other
man pages. Also I cannot see a good reason for keeping split the two
sections.

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

14 years agoMove internal scale context fields initialization from
Stefano Sabatini [Tue, 1 Jun 2010 11:30:07 +0000 (11:30 +0000)]
Move internal scale context fields initialization from
sws_setColorspaceDetails() to ff_yuv2rgb_c_init_tables().

Allow to factorize duplicated code.

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

14 years agoFix eval-test compilation.
Stefano Sabatini [Tue, 1 Jun 2010 08:07:21 +0000 (08:07 +0000)]
Fix eval-test compilation.

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

14 years agoCosmetics: reindent and break some overly long line.
Stefano Sabatini [Tue, 1 Jun 2010 08:07:17 +0000 (08:07 +0000)]
Cosmetics: reindent and break some overly long line.

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

14 years agoCosmetics: consistently apply K&R style.
Stefano Sabatini [Tue, 1 Jun 2010 08:07:15 +0000 (08:07 +0000)]
Cosmetics: consistently apply K&R style.

Make me and Diego happy.

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

14 years agoCosmetics: rename ff_parse_expr() and ff_parse_and_eval_expr() parameters:
Stefano Sabatini [Tue, 1 Jun 2010 08:07:12 +0000 (08:07 +0000)]
Cosmetics: rename ff_parse_expr() and ff_parse_and_eval_expr() parameters:
const_name    -> const_names
const_value   -> const_values
func[12]_name -> func[12]_names
func[12]      -> funcs[12]

All these parameters contain a list of values, using plural names for
them help understanding a little.

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

14 years agoMake ff_parse_expr() and ff_parse_and_eval_expr() return an int
Stefano Sabatini [Tue, 1 Jun 2010 08:07:07 +0000 (08:07 +0000)]
Make ff_parse_expr() and ff_parse_and_eval_expr() return an int
containing an error code.

Allow these functions to convey the reason of the failure to the
calling function, failure which is not always due to a parsing error
but it may depend for example on a memory problem.

Also fix several potential memleaks.

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

14 years agoDeclare the url_write buffer parameter as const
Martin Storsjö [Tue, 1 Jun 2010 07:46:23 +0000 (07:46 +0000)]
Declare the url_write buffer parameter as const

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

14 years agoremove palette8torgb15 and palette8tobgr15
Reinhard Tartler [Tue, 1 Jun 2010 06:53:56 +0000 (06:53 +0000)]
remove palette8torgb15 and palette8tobgr15

They contain exactly the same code as their 16bit variants, so this is
effectively code de-duplication.

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

14 years agoffmpeg: offer alternatives for experimental codecs if they exist
Janne Grunau [Mon, 31 May 2010 22:35:14 +0000 (22:35 +0000)]
ffmpeg: offer alternatives for experimental codecs if they exist

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

14 years agoffmpeg: fail if user selected codec is experimental and strict_std_compliance > exper...
Janne Grunau [Mon, 31 May 2010 22:31:51 +0000 (22:31 +0000)]
ffmpeg: fail if user selected codec is experimental and strict_std_compliance > experimental

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

14 years agoPass codec pixel format list to get_format, if present, fix vdpau decoding
Baptiste Coudurier [Mon, 31 May 2010 22:01:31 +0000 (22:01 +0000)]
Pass codec pixel format list to get_format, if present, fix vdpau decoding

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

14 years agoAdd a short note about libvpx.
Diego Biurrun [Mon, 31 May 2010 21:41:53 +0000 (21:41 +0000)]
Add a short note about libvpx.

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

14 years agoPrevent au_read_packet() looping endlessly when .au file contains unsupported codec...
Peter Ross [Mon, 31 May 2010 10:47:36 +0000 (10:47 +0000)]
Prevent au_read_packet() looping endlessly when .au file contains unsupported codec type.

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

14 years agoMake dequantization equation use less registers on some CPUs.
Maxim Poliakovski [Sun, 30 May 2010 23:57:51 +0000 (23:57 +0000)]
Make dequantization equation use less registers on some CPUs.

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

14 years agoRemove unused variables.
Maxim Poliakovski [Sun, 30 May 2010 17:12:50 +0000 (17:12 +0000)]
Remove unused variables.

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