ffmpeg.git
9 years agoAdd HE-AAC v2 support to the AAC decoder.
Alex Converse [Sat, 19 Jun 2010 14:14:51 +0000 (14:14 +0000)]
Add HE-AAC v2 support to the AAC decoder.

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

9 years agoFactorize the mpegaudio windowing code in a function and call it by a
Vitor Sessak [Sat, 19 Jun 2010 09:56:05 +0000 (09:56 +0000)]
Factorize the mpegaudio windowing code in a function and call it by a
function pointer. Should allow for ASM optimizations.

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

9 years agoImprove h263_probe()
Michael Niedermayer [Fri, 18 Jun 2010 23:17:20 +0000 (23:17 +0000)]
Improve h263_probe()
Fixes issue2015

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

9 years agoMPEG-2 DXVA2 implementation
Laurent Aimar [Fri, 18 Jun 2010 20:07:43 +0000 (20:07 +0000)]
MPEG-2 DXVA2 implementation

 It allows VLD MPEG-2 decoding using DXVA2 (GPU assisted decoding API under
VISTA and Windows 7).
 It is implemented by using AVHWAccel API.

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

9 years agoRTSP: Clean up rtsp_hd on failure
Martin Storsjö [Fri, 18 Jun 2010 17:54:56 +0000 (17:54 +0000)]
RTSP: Clean up rtsp_hd on failure

Since rtsp_hd isn't assigned to rt->rtsp_hd until after the setup phase,
the initialized URLContext could be leaked on failures.

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

9 years agoRTMP: Return from rtmp_read as soon as some data is available
Martin Storsjö [Fri, 18 Jun 2010 12:02:51 +0000 (12:02 +0000)]
RTMP: Return from rtmp_read as soon as some data is available

Earlier, the function only returned when the enough data to fill the
requested buffer was available. This lead to high latency when receiving
low-bandwidth streams.

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

9 years agoAdd IEC958 data_types for Atrac* and WMA Pro.
Carl Eugen Hoyos [Fri, 18 Jun 2010 07:54:45 +0000 (07:54 +0000)]
Add IEC958 data_types for Atrac* and WMA Pro.
Data-burst is described in IEC 61937-7 (Atrac) and IEC 61937-8 (WMA Pro).

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

9 years agoUse enum PixelFormat to silence one icc warning:
Carl Eugen Hoyos [Thu, 17 Jun 2010 22:33:42 +0000 (22:33 +0000)]
Use enum PixelFormat to silence one icc warning:

warning #188: enumerated type mixed with another type
      enum PixelFormat pix_fmts[] = { c->pix_fmt, PIX_FMT_NONE };
                                      ^

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

9 years agoAdd metadata support. Patch by Michael Karcher.
Michael Karcher [Thu, 17 Jun 2010 10:59:49 +0000 (10:59 +0000)]
Add metadata support. Patch by Michael Karcher.

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

9 years agoSimplify (no need to check for st->codec->extradata) and correct
Luca Abeni [Thu, 17 Jun 2010 10:30:52 +0000 (10:30 +0000)]
Simplify (no need to check for st->codec->extradata) and correct
(extradata_size must be at least 5 bytes) the H.264 MP4 syntax check
in rtpenc.c

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

9 years agoadd #include so make checkheaders passes
Michael Niedermayer [Thu, 17 Jun 2010 10:13:11 +0000 (10:13 +0000)]
add #include so make checkheaders passes

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

9 years agoAdd the necessary includes, add an extra empty line for cosmetics
Martin Storsjö [Thu, 17 Jun 2010 09:39:42 +0000 (09:39 +0000)]
Add the necessary includes, add an extra empty line for cosmetics

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

9 years agoAdd more tests to eval, help detecting some of the more apparent
Stefano Sabatini [Wed, 16 Jun 2010 22:36:52 +0000 (22:36 +0000)]
Add more tests to eval, help detecting some of the more apparent
errors, far from being a complete test system.

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

9 years agoMarking what should be removed in relation to MAX_STREAMS.
Michael Niedermayer [Wed, 16 Jun 2010 19:31:05 +0000 (19:31 +0000)]
Marking what should be removed in relation to MAX_STREAMS.

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

9 years agoDocument terminal coloring in the -loglevel option.
Stefano Sabatini [Wed, 16 Jun 2010 19:16:23 +0000 (19:16 +0000)]
Document terminal coloring in the -loglevel option.

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

9 years agoDocument how to set boolean options.
Stefano Sabatini [Wed, 16 Jun 2010 19:16:20 +0000 (19:16 +0000)]
Document how to set boolean options.

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

9 years agolibvorbis: Use memmove instead of memcpy for shifting data
Martin Storsjö [Wed, 16 Jun 2010 19:03:54 +0000 (19:03 +0000)]
libvorbis: Use memmove instead of memcpy for shifting data

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

9 years agoName the default configure log filename as "config.log" rather than
Stefano Sabatini [Wed, 16 Jun 2010 18:41:26 +0000 (18:41 +0000)]
Name the default configure log filename as "config.log" rather than
"config.err". The former name was misleading, as the file contains
useful information not necessarily related to errors.

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

9 years agoMake av_parse_expr() fail if there are trailing chars at the end of
Stefano Sabatini [Wed, 16 Jun 2010 18:27:55 +0000 (18:27 +0000)]
Make av_parse_expr() fail if there are trailing chars at the end of
the provided expression.

Allow detection of mistyped expressions.

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

9 years agoRemove the "b" from "Mb" in -b values for the dnxhd tests.
Stefano Sabatini [Wed, 16 Jun 2010 18:27:52 +0000 (18:27 +0000)]
Remove the "b" from "Mb" in -b values for the dnxhd tests.

They are just ignored, and tend to confuse both machines and humans.

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

9 years agoImprove av_parse_eval() error reporting.
Stefano Sabatini [Wed, 16 Jun 2010 18:27:46 +0000 (18:27 +0000)]
Improve av_parse_eval() error reporting.

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

9 years agodvbsub: parse display definition segment
Janne Grunau [Wed, 16 Jun 2010 13:07:12 +0000 (13:07 +0000)]
dvbsub: parse display definition segment

The display definition segment is used to properly display SD DVB subtitles in
HD video streams.

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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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