ffmpeg.git
9 years agoRewrite the SBR decoder QMF analysis filter on top of the IMDCT instead of the RDFT.
Alex Converse [Mon, 7 Jun 2010 21:52:08 +0000 (21:52 +0000)]
Rewrite the SBR decoder QMF analysis filter on top of the IMDCT instead of the RDFT.

This is based on a procedure to implement the filterbank on the DCT-IV described in
Hsu, H.W. et al. "A Complex Quadrature Mirror Filterbanks for MPEG-4 HE-AAC"
http://sites.google.com/site/wenchiehlee1020/Papers/ComplexFB_AES_121paper144.pdf

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

9 years agoUse new macro AV_BASE64_SIZE.
James Zern [Mon, 7 Jun 2010 21:34:56 +0000 (21:34 +0000)]
Use new macro AV_BASE64_SIZE.

Patch by James Zern, jzern google com

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

9 years agoOptimize 1D DCT transform used in MP{1,2,3}. Makes also this function suitable
Vitor Sessak [Mon, 7 Jun 2010 11:43:12 +0000 (11:43 +0000)]
Optimize 1D DCT transform used in MP{1,2,3}. Makes also this function suitable
for being moved to the shared DCT framework in the future.

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

9 years agoAdded M701 codec_tag for mpeg2video
Tomas Härdin [Mon, 7 Jun 2010 11:27:26 +0000 (11:27 +0000)]
Added M701 codec_tag for mpeg2video

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

9 years ago10l, there is no aac.c any more, so no need for a dependency.
Reimar Döffinger [Sun, 6 Jun 2010 19:48:50 +0000 (19:48 +0000)]
10l, there is no aac.c any more, so no need for a dependency.

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

9 years agolibrtmp may link to different ssl implementations
Luca Barbato [Sun, 6 Jun 2010 19:35:10 +0000 (19:35 +0000)]
librtmp may link to different ssl implementations

Make sure we link using the right libs by using pkg-config

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

9 years agoDo not exclude anymore the pixel formats rgb444, bgr444, rgb4_byte,
Stefano Sabatini [Sun, 6 Jun 2010 18:50:27 +0000 (18:50 +0000)]
Do not exclude anymore the pixel formats rgb444, bgr444, rgb4_byte,
and bgr4_byte from the lavfi-pix_fmts test.

The formats are now supported by NUT.

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

9 years agoDo not read the RM index when input is streamed (since it requires seeking
Reimar Döffinger [Sun, 6 Jun 2010 18:48:49 +0000 (18:48 +0000)]
Do not read the RM index when input is streamed (since it requires seeking
forward and then back again) or AVFMT_FLAG_IGNIDX is set.

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

9 years agoAdd support to B4BY and R4BY NUT codec tags added in NUT r672.
Stefano Sabatini [Sun, 6 Jun 2010 18:29:42 +0000 (18:29 +0000)]
Add support to B4BY and R4BY NUT codec tags added in NUT r672.

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

9 years agoFix width computation for nv12/nv21 in ff_get_plane_bytewidth().
Stefano Sabatini [Sun, 6 Jun 2010 18:29:39 +0000 (18:29 +0000)]
Fix width computation for nv12/nv21 in ff_get_plane_bytewidth().

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

9 years agoregtest: add seektest reference files for rgb/yuv in avi
Måns Rullgård [Sun, 6 Jun 2010 16:50:18 +0000 (16:50 +0000)]
regtest: add seektest reference files for rgb/yuv in avi

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

9 years agoaacdec also depends on cbrt_tables.h for hardcoded-tables.
Reimar Döffinger [Sun, 6 Jun 2010 15:27:37 +0000 (15:27 +0000)]
aacdec also depends on cbrt_tables.h for hardcoded-tables.

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

9 years agobgr/rgb444 for nut
Michael Niedermayer [Sun, 6 Jun 2010 11:43:53 +0000 (11:43 +0000)]
bgr/rgb444 for nut

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

9 years agofix rgb444 support in avi.
Michael Niedermayer [Sun, 6 Jun 2010 11:00:30 +0000 (11:00 +0000)]
fix rgb444 support in avi.

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

9 years agoSupport AVFMT_FLAG_IGNIDX in gxf demuxer.
Reimar Döffinger [Sun, 6 Jun 2010 10:51:06 +0000 (10:51 +0000)]
Support AVFMT_FLAG_IGNIDX in gxf demuxer.

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

9 years agoAdd simple rgb/yuv in avi regression test.
Michael Niedermayer [Sun, 6 Jun 2010 00:05:12 +0000 (00:05 +0000)]
Add simple rgb/yuv in avi regression test.

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

9 years agoFix muxing rgb rawvideo in avi regression.
Michael Niedermayer [Sat, 5 Jun 2010 23:13:52 +0000 (23:13 +0000)]
Fix muxing rgb rawvideo in avi regression.

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

9 years agoImprove grammar and readability
Rodney Baker [Sat, 5 Jun 2010 20:58:56 +0000 (20:58 +0000)]
Improve grammar and readability

Patch by Rodney Baker, rodney dot baker at iinet dot net dot au

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

9 years agoCosmetics: Reindent/align/wrap
Martin Storsjö [Sat, 5 Jun 2010 19:49:55 +0000 (19:49 +0000)]
Cosmetics: Reindent/align/wrap

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

9 years agoRTSP: Propagate errors up from ff_rtsp_send_cmd*
Josh Allmann [Sat, 5 Jun 2010 19:45:46 +0000 (19:45 +0000)]
RTSP: Propagate errors up from ff_rtsp_send_cmd*

Patch by Josh Allmann, joshua dot allmann at gmail

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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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