ffmpeg.git
11 years agoIf the video stream is H.264 with MP4 syntax, store the NAL lenght size in
Luca Abeni [Wed, 16 Jun 2010 12:59:47 +0000 (12:59 +0000)]
If the video stream is H.264 with MP4 syntax, store the NAL lenght size in
the RTP muxer context (it will be used later for splitting frames in NALs)

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

11 years agoicc 12 finally fixed attribute(used) so gcc's DECLARE_ASM_CONST can be used.
Carl Eugen Hoyos [Wed, 16 Jun 2010 10:35:56 +0000 (10:35 +0000)]
icc 12 finally fixed attribute(used) so gcc's DECLARE_ASM_CONST can be used.

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

11 years agoDocument FF_SYMVER and attribute_used
Michael Niedermayer [Wed, 16 Jun 2010 04:53:09 +0000 (04:53 +0000)]
Document FF_SYMVER and attribute_used

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

11 years agoWhen reading a stream, should retry on EAGAIN instead of just failing. Also,
Howard Chu [Wed, 16 Jun 2010 01:12:26 +0000 (01:12 +0000)]
When reading a stream, should retry on EAGAIN instead of just failing. Also,
when reading a live feed, should retry regardless of whether any client has
opened the stream.

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

11 years agoFix svq3 watermark log uncompress on 64bit, probably fixes issue 1263
Baptiste Coudurier [Tue, 15 Jun 2010 22:38:16 +0000 (22:38 +0000)]
Fix svq3 watermark log uncompress on 64bit, probably fixes issue 1263

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

11 years agomatroskadec : propagate AVERROR to the caller
Aurelien Jacobs [Tue, 15 Jun 2010 19:53:15 +0000 (19:53 +0000)]
matroskadec : propagate AVERROR to the caller
based on a patch by Jai Menon

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

11 years agoconfigure: fix symver detection with icc 10
Måns Rullgård [Tue, 15 Jun 2010 18:06:28 +0000 (18:06 +0000)]
configure: fix symver detection with icc 10

Apparently the compiler sometimes bypasses the normal assembler, in
which case the asm label variant works.  If the file contains any
inline asm, this bypassing is not done, and the assembler chokes on
invalid syntax.  Inserting a dummy asm() statement in the test when
the compiler supports it makes sure no shortcuts are taken and the
test fails as it should.

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

11 years agoFix symbol version compat wrappers on systems with export prefixes
Måns Rullgård [Tue, 15 Jun 2010 15:24:28 +0000 (15:24 +0000)]
Fix symbol version compat wrappers on systems with export prefixes

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

11 years agoFix missing logging context in a series of dprintf()s. Partially based on
Zhentan Feng [Tue, 15 Jun 2010 14:24:19 +0000 (14:24 +0000)]
Fix missing logging context in a series of dprintf()s. Partially based on
patch by Zhentan Feng <spyfeng gmail com>.

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

11 years agoAdd compatibility wrappers for functions moved from lavf to lavc
Måns Rullgård [Tue, 15 Jun 2010 13:26:52 +0000 (13:26 +0000)]
Add compatibility wrappers for functions moved from lavf to lavc

When symbol versioning is enabled, moving symbols from one library to
another breaks binary compatibility.  This adds wrappers with the old
version tag for the av_*packet functions recently moved to lavc.

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

11 years agoFATE: update vc1 reference output
Måns Rullgård [Tue, 15 Jun 2010 10:14:19 +0000 (10:14 +0000)]
FATE: update vc1 reference output

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

11 years agoSupport gray16be and rgb48be in mov
Baptiste Coudurier [Tue, 15 Jun 2010 09:14:00 +0000 (09:14 +0000)]
Support gray16be and rgb48be in mov

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

11 years agoDeprecate -crop* arguments, they currently are buggy (issue1957) and probably
Michael Niedermayer [Mon, 14 Jun 2010 17:35:46 +0000 (17:35 +0000)]
Deprecate -crop* arguments, they currently are buggy (issue1957) and probably
will be fixed by removing them.

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

11 years agonellymoserdec: Increase the log level of messages when failing to decode data
Martin Storsjö [Mon, 14 Jun 2010 14:09:00 +0000 (14:09 +0000)]
nellymoserdec: Increase the log level of messages when failing to decode data

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

11 years agoReindent
Martin Storsjö [Mon, 14 Jun 2010 14:07:22 +0000 (14:07 +0000)]
Reindent

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

11 years agonellymoserdec: Simplify calculation of numbers of blocks
Martin Storsjö [Mon, 14 Jun 2010 14:06:38 +0000 (14:06 +0000)]
nellymoserdec: Simplify calculation of numbers of blocks

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

11 years agoReindent
Martin Storsjö [Mon, 14 Jun 2010 12:35:28 +0000 (12:35 +0000)]
Reindent

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

11 years agonellymoserdec: Allow using unusual input block sizes
Martin Storsjö [Mon, 14 Jun 2010 12:34:55 +0000 (12:34 +0000)]
nellymoserdec: Allow using unusual input block sizes

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

11 years agoCosmetics: Change connexion to connection in code comments
Martin Storsjö [Mon, 14 Jun 2010 09:09:59 +0000 (09:09 +0000)]
Cosmetics: Change connexion to connection in code comments

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

11 years agoFix compilation on windows CE
Martin Storsjö [Mon, 14 Jun 2010 08:51:46 +0000 (08:51 +0000)]
Fix compilation on windows CE

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

11 years agoRTSP: Shrink SDP fmtp parsing buffer size
Josh Allmann [Mon, 14 Jun 2010 08:23:59 +0000 (08:23 +0000)]
RTSP: Shrink SDP fmtp parsing buffer size

Since the parsing of Vorbis/Theora fmtp headers is handled by the
parse_sdp_a_line function pointer now, the buffer in sdp_parse_fmtp
doesn't need to be this large any longer.

Patch by Josh Allmann, joshua dot allmann at gmail

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

11 years agoReindent
Josh Allmann [Mon, 14 Jun 2010 08:12:40 +0000 (08:12 +0000)]
Reindent

Patch by Josh Allmann, joshua dot allmann at gmail

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

11 years agooutput-example: Set sample_fmt to SAMPLE_FMT_S16.
Ramiro Polla [Mon, 14 Jun 2010 07:05:59 +0000 (07:05 +0000)]
output-example: Set sample_fmt to SAMPLE_FMT_S16.

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

11 years agoDocument what av_get_token() returns in case of allocation failure.
Stefano Sabatini [Sun, 13 Jun 2010 09:32:03 +0000 (09:32 +0000)]
Document what av_get_token() returns in case of allocation failure.

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

11 years agoResort @param in av_get_token() doxy to reflect the same order they
Stefano Sabatini [Sun, 13 Jun 2010 09:32:01 +0000 (09:32 +0000)]
Resort @param in av_get_token() doxy to reflect the same order they
have in the function.

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

11 years ago Add missing check to av_get_token().
Stefano Sabatini [Sun, 13 Jun 2010 09:27:09 +0000 (09:27 +0000)]
 Add missing check to av_get_token().

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

11 years agoFix av_compare_mod() doxy.
Stefano Sabatini [Sun, 13 Jun 2010 09:06:50 +0000 (09:06 +0000)]
Fix av_compare_mod() doxy.

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

11 years agoAdd APIchanges entry and bump minor after av_compare_mod() addition.
Stefano Sabatini [Sun, 13 Jun 2010 09:04:36 +0000 (09:04 +0000)]
Add APIchanges entry and bump minor after av_compare_mod() addition.

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

11 years agomatroskadec: fix type of the length field in ebml_read_master()
Aurelien Jacobs [Fri, 11 Jun 2010 17:16:43 +0000 (17:16 +0000)]
matroskadec: fix type of the length field in ebml_read_master()
Also use the correct value for unknown size (instead of a truncated
and sign extended value).

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

11 years agomatroskadec: cosmetic: indentation
Aurelien Jacobs [Fri, 11 Jun 2010 16:45:38 +0000 (16:45 +0000)]
matroskadec: cosmetic: indentation

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

11 years agomatroskadec: add support for live broadcast containing unknown size clusters
Aurelien Jacobs [Fri, 11 Jun 2010 16:43:47 +0000 (16:43 +0000)]
matroskadec: add support for live broadcast containing unknown size clusters
This interrupt parsing and goes one ebml level up when encountering
a cluster start inside an unknown sized element which is not supposed to
contain a cluster.
fix issue1991

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

11 years agomatroskadec: simplify parsing of the first cluster
Aurelien Jacobs [Fri, 11 Jun 2010 16:36:51 +0000 (16:36 +0000)]
matroskadec: simplify parsing of the first cluster
Now that we save the currently parsed ebml element ID after an interruption,
we don't need to special case the parsing of the first cluster.

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

11 years agomatroskadec: store the ID of the currently parsed ebml element
Aurelien Jacobs [Fri, 11 Jun 2010 16:34:01 +0000 (16:34 +0000)]
matroskadec: store the ID of the currently parsed ebml element
This allows to interrupt parsing after reading an ID, and then properly
recover parsing.

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

11 years agomatroskadec: cosmetic: split a line to make it more readable
Aurelien Jacobs [Fri, 11 Jun 2010 16:27:30 +0000 (16:27 +0000)]
matroskadec: cosmetic: split a line to make it more readable
This also simplifies further modifications.

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

11 years agoRemove filename from doxy comment
Vitor Sessak [Fri, 11 Jun 2010 14:43:24 +0000 (14:43 +0000)]
Remove filename from doxy comment

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

11 years agoRemove useless include. Should fix compilation in MacOS X.
Vitor Sessak [Fri, 11 Jun 2010 14:42:39 +0000 (14:42 +0000)]
Remove useless include. Should fix compilation in MacOS X.

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

11 years agoGeneralize ID3v2 functions to support ID3v2-like ID headers with a
Michael Karcher [Fri, 11 Jun 2010 13:44:57 +0000 (13:44 +0000)]
Generalize ID3v2 functions to support ID3v2-like ID headers with a
different magic in the header (mainly targeted to Sony's .oma/.aa3
format).

Patch by Michael Karcher, ffmpeg A mkarcher dialup fu-berlin de

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

11 years agoFix raw vc1 decoding - this is supposed to break FATE.
Michael Niedermayer [Fri, 11 Jun 2010 13:28:42 +0000 (13:28 +0000)]
Fix raw vc1 decoding - this is supposed to break FATE.

Patch by Michael.

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

11 years agoMove indeo5-specific quant table selection to decode_gop_hdr.
Maxim Poliakovski [Fri, 11 Jun 2010 09:49:06 +0000 (09:49 +0000)]
Move indeo5-specific quant table selection to decode_gop_hdr.

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

11 years agoInclude float.h to provide FLT_MAX define. Should fix compilation on windows.
Vitor Sessak [Fri, 11 Jun 2010 09:42:46 +0000 (09:42 +0000)]
Include float.h to provide FLT_MAX define. Should fix compilation on windows.

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

11 years agoRealAudio 14.4k encoder.
Francesco Lavra [Fri, 11 Jun 2010 09:01:25 +0000 (09:01 +0000)]
RealAudio 14.4k encoder.

Patch by Francesco Lavra (firstnamelastname@interfree.it)

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

11 years agoImprove rule for possibly never read variables.
Benoit Fouet [Fri, 11 Jun 2010 08:58:40 +0000 (08:58 +0000)]
Improve rule for possibly never read variables.

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

11 years agoMove transform declarations out of IVIBandDesc so indeo4 can use them as well.
Maxim Poliakovski [Fri, 11 Jun 2010 08:49:15 +0000 (08:49 +0000)]
Move transform declarations out of IVIBandDesc so indeo4 can use them as well.

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

11 years agoSplit do_output_subblock() into common code and decoder specific parts
Francesco Lavra [Fri, 11 Jun 2010 08:05:17 +0000 (08:05 +0000)]
Split do_output_subblock() into common code and decoder specific parts

Patch by Francesco Lavra (firstnamelastname@interfree.it)

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

11 years agoCosmetics: indent
Francesco Lavra [Fri, 11 Jun 2010 08:04:22 +0000 (08:04 +0000)]
Cosmetics: indent

Patch by Francesco Lavra (firstnamelastname@interfree.it)

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

11 years agoAdd ff_ prefix to non-static functions
Francesco Lavra [Fri, 11 Jun 2010 08:03:43 +0000 (08:03 +0000)]
Add ff_ prefix to non-static functions

Patch by Francesco Lavra (firstnamelastname@interfree.it)

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

11 years agoSplit ra144.c in common code (to be shared with the future encoder) and
Francesco Lavra [Fri, 11 Jun 2010 08:01:51 +0000 (08:01 +0000)]
Split ra144.c in common code (to be shared with the future encoder) and
decoder.

Patch by Francesco Lavra (firstnamelastname@interfree.it)

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

11 years agoUse a bitstream filter for converting the extradata syntax when generating an SDP.
Luca Abeni [Fri, 11 Jun 2010 08:01:45 +0000 (08:01 +0000)]
Use a bitstream filter for converting the extradata syntax when generating an SDP.
This allows to generate correct SDPs for H.264 video in "MP4 syntax".

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

11 years ago10l: audio_buf is already a uint8_t* so no need to cast it
Justin Ruggles [Thu, 10 Jun 2010 19:50:14 +0000 (19:50 +0000)]
10l: audio_buf is already a uint8_t* so no need to cast it

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

11 years agoAllocate enough memory for audio_buf to fit a full output frame.
Justin Ruggles [Thu, 10 Jun 2010 19:40:56 +0000 (19:40 +0000)]
Allocate enough memory for audio_buf to fit a full output frame.
Also, use audio_buf when encoding the final frame.
Fixes Issue 1921.

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

11 years agoQuant changes only once per MB so move the corresponding scale factor assignment
Maxim Poliakovski [Thu, 10 Jun 2010 17:31:12 +0000 (17:31 +0000)]
Quant changes only once per MB so move the corresponding scale factor assignment
out of the block decoding loop. Indeo4 doesn't use any scale table but the quant
level itself as scale. Therefore access scale table only if its pointer != NULL.

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

11 years agoRemove broken BeOS audio interface.
Diego Biurrun [Thu, 10 Jun 2010 17:23:45 +0000 (17:23 +0000)]
Remove broken BeOS audio interface.

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

11 years agoHaiku: Disable beosaudio for now, it's broken. We need -lnetwork.
François Revol [Thu, 10 Jun 2010 17:20:05 +0000 (17:20 +0000)]
Haiku: Disable beosaudio for now, it's broken. We need -lnetwork.

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

11 years agoSet bits_per_raw_sample in the pcm decoder.
Justin Ruggles [Thu, 10 Jun 2010 16:59:56 +0000 (16:59 +0000)]
Set bits_per_raw_sample in the pcm decoder.

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

11 years agoApparently nowadays things should be installed in /boot/common on Haiku.
Diego Biurrun [Thu, 10 Jun 2010 16:58:04 +0000 (16:58 +0000)]
Apparently nowadays things should be installed in /boot/common on Haiku.

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

11 years agoRemove unneeded -nostart SHFLAG for Haiku.
Diego Biurrun [Thu, 10 Jun 2010 16:56:37 +0000 (16:56 +0000)]
Remove unneeded -nostart SHFLAG for Haiku.

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

11 years agoRemove unused parameter.
Maxim Poliakovski [Thu, 10 Jun 2010 16:52:54 +0000 (16:52 +0000)]
Remove unused parameter.

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

11 years agoRemove support for pre-Haiku, non-POSIX, non-C99 BeOS variants.
Diego Biurrun [Thu, 10 Jun 2010 16:51:14 +0000 (16:51 +0000)]
Remove support for pre-Haiku, non-POSIX, non-C99 BeOS variants.

BeOS support has been broken for many years and the "maintainer" of the port
has not reacted to countless requests to get the port fixed.
approved by Mans

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

11 years agoavcodec.h: Clarify AVCodecContext::pix_fmt documentation since its value may be set...
Tomas Härdin [Thu, 10 Jun 2010 08:39:05 +0000 (08:39 +0000)]
avcodec.h: Clarify AVCodecContext::pix_fmt documentation since its value may be set by the demuxer
rawdec.c: Only perform bits_per_coded_sample -> pix_fmt guesswork if pix_fmt hasn't been set

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

11 years agoCosmetics: alignment and long line break.
Benoit Fouet [Thu, 10 Jun 2010 06:00:37 +0000 (06:00 +0000)]
Cosmetics: alignment and long line break.

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

11 years agoCosmetics: use and place braces correctly in if ... else statements.
Benoit Fouet [Thu, 10 Jun 2010 06:00:06 +0000 (06:00 +0000)]
Cosmetics: use and place braces correctly in if ... else statements.

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

11 years agoSanitize av_realloc() use in h264 mp4toannexb bistream filter.
Benoit Fouet [Thu, 10 Jun 2010 05:59:22 +0000 (05:59 +0000)]
Sanitize av_realloc() use in h264 mp4toannexb bistream filter.

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

11 years agoMake all the numeric options accept in input an expression which is
Stefano Sabatini [Wed, 9 Jun 2010 21:28:53 +0000 (21:28 +0000)]
Make all the numeric options accept in input an expression which is
evaluated through av_strtod().

Fix roundup issue #551.

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

11 years agolog.c: Use parameter passed to macro instead of the equivalent local variable
Ramiro Polla [Wed, 9 Jun 2010 18:30:50 +0000 (18:30 +0000)]
log.c: Use parameter passed to macro instead of the equivalent local variable
in the only function that uses the macro.

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

11 years agoAdd win32 console color output.
Ramiro Polla [Wed, 9 Jun 2010 18:13:01 +0000 (18:13 +0000)]
Add win32 console color output.
Based on patches by James Darnley <james dot darnley at gmail dot com>.

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

11 years agoMove ansi color array to outside of av_log_default_callback(). Do not pass
Ramiro Polla [Wed, 9 Jun 2010 18:10:35 +0000 (18:10 +0000)]
Move ansi color array to outside of av_log_default_callback(). Do not pass
ansi color code to colored_fputs(), and pass instead the error level so the
proper color code may be used.

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

11 years agoRename use_ansi_color to use_color so it is not ANSI-specific.
Ramiro Polla [Wed, 9 Jun 2010 18:07:44 +0000 (18:07 +0000)]
Rename use_ansi_color to use_color so it is not ANSI-specific.

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

11 years agoAdd av_compare_mod()
Michael Niedermayer [Wed, 9 Jun 2010 17:27:42 +0000 (17:27 +0000)]
Add av_compare_mod()

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

11 years agoMake sure the http protocol handler returns errors if a delayed open had failed
Martin Storsjö [Wed, 9 Jun 2010 09:19:36 +0000 (09:19 +0000)]
Make sure the http protocol handler returns errors if a delayed open had failed

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

11 years agoFix printf format warnings
Eli Friedman [Wed, 9 Jun 2010 08:59:41 +0000 (08:59 +0000)]
Fix printf format warnings

patch by Eli Friedman <eli dot friedman at gmail dot com>

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

11 years agoInitialize the http connection in http_seek, too
Martin Storsjö [Wed, 9 Jun 2010 08:29:51 +0000 (08:29 +0000)]
Initialize the http connection in http_seek, too

This makes url_fsize return correct values for delay opened connections
that have not yet been initialized.
This fixes using the image2 demuxer with http sources.

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

11 years agoImprove the mp4toannexb BSF to convert the extradata.
Luca Abeni [Wed, 9 Jun 2010 06:47:01 +0000 (06:47 +0000)]
Improve the mp4toannexb BSF to convert the extradata.

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

11 years agoMake texi2pod.pl process @include texinfo directives wherever they are
Stefano Sabatini [Tue, 8 Jun 2010 23:03:16 +0000 (23:03 +0000)]
Make texi2pod.pl process @include texinfo directives wherever they are
placed, and not only if inside @c man begin/end sections.

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

11 years agoTweak texi2pod.pl to make it print the various sections in the
Stefano Sabatini [Tue, 8 Jun 2010 23:03:14 +0000 (23:03 +0000)]
Tweak texi2pod.pl to make it print the various sections in the
generated document following the same order as that used in the texi
file.

Also allow rendering of *all* the sections, not only a limited
predefined subset.

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

11 years agoRemove a rule triggered by @man begin WORD WORDS. This rule only
Stefano Sabatini [Tue, 8 Jun 2010 23:03:11 +0000 (23:03 +0000)]
Remove a rule triggered by @man begin WORD WORDS. This rule only
outputs the section if WORDS has been defined in the list of options
flags.

The meaning of this rule is not clear, and not used by the FFmpeg
documentation system anyway.

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

11 years agoRename the ff* tools @chapters "Invocation" to "Synopsis", and place
Stefano Sabatini [Tue, 8 Jun 2010 22:32:29 +0000 (22:32 +0000)]
Rename the ff* tools @chapters "Invocation" to "Synopsis", and place
them at the beginning of the file, for consistency with the final
ordering of the corresponding man pages.

Also create a separate @chapter for the "Options" section, as it is
done for the man pages, rather than merge it in the same section of
"Synopsis".

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

11 years agoDo not attempt to seek to index for streamed files and if the user explicitly
Reimar Döffinger [Tue, 8 Jun 2010 19:31:08 +0000 (19:31 +0000)]
Do not attempt to seek to index for streamed files and if the user explicitly
requested us not to read the index.

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

11 years agoFix the MATROSKA_ID_TAGDEFAULT to match the specification (instead of
Reimar Döffinger [Tue, 8 Jun 2010 19:28:22 +0000 (19:28 +0000)]
Fix the MATROSKA_ID_TAGDEFAULT to match the specification (instead of
libmatroska etc. typo) but continue to support the "old" value.

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

11 years agoIn case of stream copy, copy the extradata from the input codec context to
Luca Abeni [Tue, 8 Jun 2010 19:27:29 +0000 (19:27 +0000)]
In case of stream copy, copy the extradata from the input codec context to
the output codec context (instead of just copying a pointer to the extradata).

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

11 years agoFix vp3_draw_horiz_band to calculate chroma offsets correctly
Reimar Döffinger [Tue, 8 Jun 2010 19:25:28 +0000 (19:25 +0000)]
Fix vp3_draw_horiz_band to calculate chroma offsets correctly
for 4:2:2 and 4:4:4 formats.

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

11 years agoAdd RTSP tunneling over HTTP
Josh Allmann [Tue, 8 Jun 2010 12:40:34 +0000 (12:40 +0000)]
Add RTSP tunneling over HTTP

Patch by Josh Allmann, joshua dot allmann at gmail dot com

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

11 years agoMake the RTSP muxer use rtsp_hd_out, for consistency
Martin Storsjö [Tue, 8 Jun 2010 12:26:51 +0000 (12:26 +0000)]
Make the RTSP muxer use rtsp_hd_out, for consistency

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

11 years agoReindent
Martin Storsjö [Tue, 8 Jun 2010 11:58:22 +0000 (11:58 +0000)]
Reindent

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

11 years agoAdd Pictor/PC Paint to image2 muxer/demuxer
Peter Ross [Tue, 8 Jun 2010 11:55:55 +0000 (11:55 +0000)]
Add Pictor/PC Paint to image2 muxer/demuxer

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

11 years agoPictor/PC Paint decoder
Peter Ross [Tue, 8 Jun 2010 11:55:06 +0000 (11:55 +0000)]
Pictor/PC Paint decoder

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

11 years agoAdd support for disabling chunked transfer encoding for the http protocol
Josh Allmann [Tue, 8 Jun 2010 11:48:03 +0000 (11:48 +0000)]
Add support for disabling chunked transfer encoding for the http protocol

Patch by Josh Allmann, josh dot allmann at gmail

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

11 years agoAdd ff_ega_palette
Peter Ross [Tue, 8 Jun 2010 11:42:21 +0000 (11:42 +0000)]
Add ff_ega_palette

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

11 years agoFix handling of errors in the http protocol
Martin Storsjö [Tue, 8 Jun 2010 11:18:22 +0000 (11:18 +0000)]
Fix handling of errors in the http protocol

If http_connect fails, we've already stored the new connection handle in s->hd,
so clear it so http_close won't double-free it.

10l to me for not spotting it during review

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

11 years agoFix bugs in the http custom header handling
Martin Storsjö [Tue, 8 Jun 2010 11:06:36 +0000 (11:06 +0000)]
Fix bugs in the http custom header handling

Initialize the buffer av_strlcatf writes into.
Add the dash at the end of the Range header.

10l to me for not spotting it earlier

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

11 years agomatroska: move LFG state from muxer context to local variable
Måns Rullgård [Tue, 8 Jun 2010 10:44:27 +0000 (10:44 +0000)]
matroska: move LFG state from muxer context to local variable

The LFG is only used in one place, so there is no need to keep it in
the context.

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

11 years agoAdd the capability to write custom HTTP headers
Josh Allmann [Tue, 8 Jun 2010 10:26:16 +0000 (10:26 +0000)]
Add the capability to write custom HTTP headers

Patch by Josh Allmann, joshua dot allmann at gmail

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

11 years agoModify the behaviour of http_open to implicitly delay connection establishment
Josh Allmann [Tue, 8 Jun 2010 10:04:39 +0000 (10:04 +0000)]
Modify the behaviour of http_open to implicitly delay connection establishment

The connection is made on the first http_read, http_write or http_seek.

Patch by Josh Allmann, joshua dot allmann at gmail

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

11 years agoSupport presets in ffserver.conf
Howard Chu [Tue, 8 Jun 2010 09:55:30 +0000 (09:55 +0000)]
Support presets in ffserver.conf

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

11 years agoPrepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
Maxim Poliakovski [Tue, 8 Jun 2010 09:20:12 +0000 (09:20 +0000)]
Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.

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

11 years agolibvpx: Set the libvpx frame dropping threshold to frame_skip_threshold
Martin Storsjö [Tue, 8 Jun 2010 09:01:14 +0000 (09:01 +0000)]
libvpx: Set the libvpx frame dropping threshold to frame_skip_threshold

The default for frame_skip_threshold is 0, which thus disables the libvpx
frame dropping.

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

11 years agolibvpx: Don't use the VPX_KF_FIXED mode
James Zern [Tue, 8 Jun 2010 08:47:50 +0000 (08:47 +0000)]
libvpx: Don't use the VPX_KF_FIXED mode

This mode emits no keyframes at all, despite its name.

Patch by James Zern, jzern at google dot com

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

11 years agoCosmetics: Fold constants and re-indent after last commit.
Alex Converse [Tue, 8 Jun 2010 02:02:16 +0000 (02:02 +0000)]
Cosmetics: Fold constants and re-indent after last commit.

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

11 years agoBase downsampled SBR synthesis filterbank on a single IMDCT.
Alex Converse [Tue, 8 Jun 2010 01:57:06 +0000 (01:57 +0000)]
Base downsampled SBR synthesis filterbank on a single IMDCT.

Based on Han-Wen Hsu, et al. "Fast Complex Quadrature Mirror Filterbanks for
MPEG-4 HE-AAC"

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

11 years agoDeclare myself (Maxim Poliakovski) maintainer for the OMA Demuxer.
Maxim Poliakovski [Tue, 8 Jun 2010 00:15:23 +0000 (00:15 +0000)]
Declare myself (Maxim Poliakovski) maintainer for the OMA Demuxer.

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

11 years ago10l: Fix types and now unused variables after last commit.
Alex Converse [Mon, 7 Jun 2010 22:55:58 +0000 (22:55 +0000)]
10l: Fix types and now unused variables after last commit.

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