10 years agoaacsbr: Make dk signed. There is no point in it being unsigned.
Alex Converse [Sun, 20 Jun 2010 23:03:32 +0000 (23:03 +0000)]
aacsbr: Make dk signed. There is no point in it being unsigned.

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

10 years agopsdec: IPD/OPD reset is no longer needed by the context initializer.
Alex Converse [Sun, 20 Jun 2010 22:13:43 +0000 (22:13 +0000)]
psdec: IPD/OPD reset is no longer needed by the context initializer.

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

10 years agopsdec: Simplify filter addressing by incrementing the "in" pointer.
Alex Converse [Sun, 20 Jun 2010 22:08:33 +0000 (22:08 +0000)]
psdec: Simplify filter addressing by incrementing the "in" pointer.

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

10 years agoFix typo in macro name.
Nick Brereton [Sun, 20 Jun 2010 22:07:32 +0000 (22:07 +0000)]
Fix typo in macro name.

Patch by Nick Brereton, nick nbrereton net

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

10 years agopsdec: Replace a division with a shift.
Alex Converse [Sun, 20 Jun 2010 22:03:00 +0000 (22:03 +0000)]
psdec: Replace a division with a shift.

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

10 years agoRename PS bitstream reading functions to have a read_ prefix.
Alex Converse [Sun, 20 Jun 2010 21:53:51 +0000 (21:53 +0000)]
Rename PS bitstream reading functions to have a read_ prefix.

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

10 years agoReset chunksize back to zero (= no chunked encoding) after each new open
Ronald S. Bultje [Sun, 20 Jun 2010 21:41:02 +0000 (21:41 +0000)]
Reset chunksize back to zero (= no chunked encoding) after each new open
connection (e.g. a seek). This fixes the theoretical case where a server
sends a file first using chunked encoding, and then using non-chunked

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

10 years agoUse url_write(), not http_write(), for sending the HTTP headers. This prevents
Ronald S. Bultje [Sun, 20 Jun 2010 21:38:16 +0000 (21:38 +0000)]
Use url_write(), not http_write(), for sending the HTTP headers. This prevents
them from being sent using chunked encoding (I don't think this ever happened,
but either way it would be wrong).

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

10 years agoCosmetics: whitespace.
Alex Converse [Sun, 20 Jun 2010 20:13:11 +0000 (20:13 +0000)]
Cosmetics: whitespace.

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

10 years agoUse memcpy() where appropriate in PS stereo processing remapping.
Alex Converse [Sun, 20 Jun 2010 20:06:41 +0000 (20:06 +0000)]
Use memcpy() where appropriate in PS stereo processing remapping.

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

10 years agoAllow PS envelope fixup when ps->num_env_old <= 1.
Alex Converse [Sun, 20 Jun 2010 19:38:08 +0000 (19:38 +0000)]
Allow PS envelope fixup when ps->num_env_old <= 1.

It is already rejected by the "source >= 0 && source != ps->num_env" 0 envelope
case and is perfectly legally for the suppressed final envelope case.

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

10 years ago10l: aacsbr: Fix f_master[2] calculation when k2diff == -1.
Alex Converse [Sun, 20 Jun 2010 19:24:18 +0000 (19:24 +0000)]
10l: aacsbr: Fix f_master[2] calculation when k2diff == -1.

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

10 years agoDocument the PS_BASELINE define.
Alex Converse [Sun, 20 Jun 2010 17:28:52 +0000 (17:28 +0000)]
Document the PS_BASELINE define.

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

10 years agoRemove iid_mode from the PS context.
Alex Converse [Sun, 20 Jun 2010 17:15:28 +0000 (17:15 +0000)]
Remove iid_mode from the PS context.

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

10 years agoconfigure: preserve cross-prefix for strip on darwin
Ramiro Polla [Sun, 20 Jun 2010 16:58:44 +0000 (16:58 +0000)]
configure: preserve cross-prefix for strip on darwin

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

10 years agoFix breakage in compilation with --disable-mpegaudio-hp introduced in
Vitor Sessak [Sun, 20 Jun 2010 13:00:24 +0000 (13:00 +0000)]
Fix breakage in compilation with --disable-mpegaudio-hp introduced in

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

10 years agoAdd IEC958 data_types for DTS-HD (data burst described in IEC 61937-5),
Carl Eugen Hoyos [Sun, 20 Jun 2010 11:40:41 +0000 (11:40 +0000)]
Add IEC958 data_types for DTS-HD (data burst described in IEC 61937-5),
E-AC-3 (61937-3 Edition 2) and TrueHD (61937-9).

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

10 years agoChangeLog: note libfaad wrapper removal
Måns Rullgård [Sun, 20 Jun 2010 10:31:53 +0000 (10:31 +0000)]
ChangeLog: note libfaad wrapper removal

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

10 years agoRemove libfaad wrapper
Måns Rullgård [Sun, 20 Jun 2010 10:24:05 +0000 (10:24 +0000)]
Remove libfaad wrapper

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

10 years agopsdec: Factorize iid/icc/ipd/opd parameter bitstream reading.
Alex Converse [Sat, 19 Jun 2010 23:53:21 +0000 (23:53 +0000)]
psdec: Factorize iid/icc/ipd/opd parameter bitstream reading.

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

10 years agoRTSP: Add the auth credentials to the HTTP tunnel URL, too
Martin Storsjö [Sat, 19 Jun 2010 21:57:45 +0000 (21:57 +0000)]
RTSP: Add the auth credentials to the HTTP tunnel URL, too

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

10 years agoff_url_join: Don't add any at-char if the auth is an empty string
Martin Storsjö [Sat, 19 Jun 2010 21:56:50 +0000 (21:56 +0000)]
ff_url_join: Don't add any at-char if the auth is an empty string

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

10 years agoRTSP: Set the connection handles to null after closing them
Martin Storsjö [Sat, 19 Jun 2010 21:46:39 +0000 (21:46 +0000)]
RTSP: Set the connection handles to null after closing them

This fixes a potential issue when doing redirects.

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

10 years agoRTSP: Don't store the connection handles in local variables
Josh Allmann [Sat, 19 Jun 2010 21:36:13 +0000 (21:36 +0000)]
RTSP: Don't store the connection handles in local variables

This removes some useless copying of handles, and simplifies error handling.

Patch by Josh Allmann, joshua dot allmann at gmail

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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

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

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

10 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

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

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

10 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

10 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

10 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

10 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

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

Patch by Josh Allmann, joshua dot allmann at gmail

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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

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

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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

Patch by Francesco Lavra (firstnamelastname@interfree.it)

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

10 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

10 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

10 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

10 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

10 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

10 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

10 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