ffmpeg.git
10 years agoCall avcodec_set_dimensions() instead of simply setting avctx->width/height
Kostya Shishkov [Tue, 24 Nov 2009 06:05:41 +0000 (06:05 +0000)]
Call avcodec_set_dimensions() instead of simply setting avctx->width/height
when frame dimensions change in RV3/4.

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

10 years agoAdd missing include. Fix the following compiler warnings:
Vitor Sessak [Mon, 23 Nov 2009 22:28:45 +0000 (22:28 +0000)]
Add missing include. Fix the following compiler warnings:
twinvq.c: In function 'decode_lsp':
twinvq.c:575: warning: implicit declaration of function 'ff_sort_nearly_sorted_floats'

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

10 years agoWMA: extend exponent table up to 75
Måns Rullgård [Mon, 23 Nov 2009 22:22:16 +0000 (22:22 +0000)]
WMA: extend exponent table up to 75

Fixes issue 1565.

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

10 years agoClarify PIX_FMT_BE flag doxy. Increase consistency / pickiness.
Stefano Sabatini [Mon, 23 Nov 2009 20:14:47 +0000 (20:14 +0000)]
Clarify PIX_FMT_BE flag doxy. Increase consistency / pickiness.

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

10 years agoUse avcodec_set_dimensions()
Michael Niedermayer [Mon, 23 Nov 2009 19:45:40 +0000 (19:45 +0000)]
Use avcodec_set_dimensions()

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

10 years agoCorrect order of arguments for avcodec_check_dimensions().
Michael Niedermayer [Mon, 23 Nov 2009 19:24:17 +0000 (19:24 +0000)]
Correct order of arguments for avcodec_check_dimensions().

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

10 years agoMake sure avcodec_set_dimensions() is used when rv20 changes resolution.
Michael Niedermayer [Mon, 23 Nov 2009 19:22:19 +0000 (19:22 +0000)]
Make sure avcodec_set_dimensions() is used when rv20 changes resolution.
This should fix lowres resolution changes.

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

10 years agolibtheora: using the 1.0 API requires linking to both
David Conrad [Mon, 23 Nov 2009 18:18:21 +0000 (18:18 +0000)]
libtheora: using the 1.0 API requires linking to both
libtheoraenc and libtheoradec; libtheora is the pre-1.0 library.
Documented at http://theora.org/doc/libtheora-1.0/
Fixes issue1564

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

10 years agoMOV: cprt is another tag used for copyright
David Conrad [Mon, 23 Nov 2009 08:47:47 +0000 (08:47 +0000)]
MOV: cprt is another tag used for copyright

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

10 years agoMOV: Add several iTunes metadata tags
David Conrad [Mon, 23 Nov 2009 08:47:44 +0000 (08:47 +0000)]
MOV: Add several iTunes metadata tags

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

10 years agoMOV: Fix writing \251wrt metadata (r20453 only fixed the demuxer)
David Conrad [Mon, 23 Nov 2009 08:47:40 +0000 (08:47 +0000)]
MOV: Fix writing \251wrt metadata (r20453 only fixed the demuxer)

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

10 years agoMake sorting function used in TwinVQ a shared function
Vitor Sessak [Sun, 22 Nov 2009 22:25:58 +0000 (22:25 +0000)]
Make sorting function used in TwinVQ a shared function

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

10 years agoSet colorspace for libtheora encoding
David Conrad [Sun, 22 Nov 2009 21:08:46 +0000 (21:08 +0000)]
Set colorspace for libtheora encoding

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

10 years agoSupport 4:2:2 and 4:4:4 subsampling in libtheora encoding
David Conrad [Sun, 22 Nov 2009 21:08:43 +0000 (21:08 +0000)]
Support 4:2:2 and 4:4:4 subsampling in libtheora encoding

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

10 years agoAdd support for two pass encoding in libtheora
David Conrad [Sun, 22 Nov 2009 21:08:40 +0000 (21:08 +0000)]
Add support for two pass encoding in libtheora

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

10 years agoUpdate libtheora wrapper to use the 1.0 API
David Conrad [Sun, 22 Nov 2009 21:08:37 +0000 (21:08 +0000)]
Update libtheora wrapper to use the 1.0 API

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

10 years agoset mp3 timebase to the lcm of all mp3 sample rates to fix frame duration
Baptiste Coudurier [Sun, 22 Nov 2009 21:04:18 +0000 (21:04 +0000)]
set mp3 timebase to the lcm of all mp3 sample rates to fix frame duration

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

10 years agoAdd MP4 object type for ALS.
Justin Ruggles [Sun, 22 Nov 2009 18:13:22 +0000 (18:13 +0000)]
Add MP4 object type for ALS.

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

10 years agoDelete *.d files with make clean
Måns Rullgård [Sun, 22 Nov 2009 14:22:13 +0000 (14:22 +0000)]
Delete *.d files with make clean

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

10 years agoRemove from the list of the supported formats the formats which are
Stefano Sabatini [Sun, 22 Nov 2009 11:51:41 +0000 (11:51 +0000)]
Remove from the list of the supported formats the formats which are
not correctly supported.

See the thread:
"[FFmpeg-devel] [PATCH] Remove not truly supported formats support from the crop filter".

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

10 years agoWhen searching for AMF object field value, try to find that object first
Kostya Shishkov [Sun, 22 Nov 2009 09:03:06 +0000 (09:03 +0000)]
When searching for AMF object field value, try to find that object first
instead of assuming it should occur right at given position.
This helps finding human-readable error descriptions in RTMP server replies.

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

10 years agoPrint error when RTMP protocol can't open connection
Kostya Shishkov [Sun, 22 Nov 2009 08:42:55 +0000 (08:42 +0000)]
Print error when RTMP protocol can't open connection

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

10 years agoPass only useful FLV metadata from RTMP stream
Kostya Shishkov [Sun, 22 Nov 2009 08:40:55 +0000 (08:40 +0000)]
Pass only useful FLV metadata from RTMP stream

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

10 years agoUpdate dimensions in AVCodecContext when RV3/4 frame dimensions change
Kostya Shishkov [Sun, 22 Nov 2009 07:48:35 +0000 (07:48 +0000)]
Update dimensions in AVCodecContext when RV3/4 frame dimensions change

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

10 years agoDo not write an extra byte in the iTunes 'hdlr' tag. The files on iTMS have an
Justin Ruggles [Sun, 22 Nov 2009 02:07:10 +0000 (02:07 +0000)]
Do not write an extra byte in the iTunes 'hdlr' tag.  The files on iTMS have an
extra byte and are not compliant with ISO 14496-12.  This causes some strict
demuxers (notably the MPEG-4 ALS reference software) to fail.  It has been
confirmed that not writing the extra byte will still allow the generated MP4
files to work with QuickTime/iTunes/iPod.

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

10 years ago10l: Fix inverted if-condition from r20448. Fixes issue 1562.
Alex Converse [Sat, 21 Nov 2009 20:56:46 +0000 (20:56 +0000)]
10l: Fix inverted if-condition from r20448. Fixes issue 1562.

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

10 years agoFactorize av_get_bit_rate (for future use outside of libavcodec).
Robert Krüger [Sat, 21 Nov 2009 09:58:15 +0000 (09:58 +0000)]
Factorize av_get_bit_rate (for future use outside of libavcodec).

Patch by Robert Krüger, krueger signal7 de

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

10 years agoMake show_protocols() print one protocol per line.
Stefano Sabatini [Sat, 21 Nov 2009 00:22:05 +0000 (00:22 +0000)]
Make show_protocols() print one protocol per line.

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

10 years agoDo D10 AES3 audio conversion in-place instead of using a large on-stack buffer.
Reimar Döffinger [Fri, 20 Nov 2009 23:12:55 +0000 (23:12 +0000)]
Do D10 AES3 audio conversion in-place instead of using a large on-stack buffer.

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

10 years agoAllocate pictures with enough padding for jpeg.
Michael Niedermayer [Fri, 20 Nov 2009 22:14:37 +0000 (22:14 +0000)]
Allocate pictures with enough padding for jpeg.
Ensure that jpeg does not use mbs that could require larger padding.
This might have been exploitable.

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

10 years agoIn win32 thread implementation do not access jobnr if the thread is asked
Reimar Döffinger [Fri, 20 Nov 2009 21:08:26 +0000 (21:08 +0000)]
In win32 thread implementation do not access jobnr if the thread is asked
to terminate, jobnr it does not point to a valid location in that case.

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

10 years agoFLV muxer support for Flash screen codec v2
Daniel Verkamp [Fri, 20 Nov 2009 20:02:49 +0000 (20:02 +0000)]
FLV muxer support for Flash screen codec v2

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

10 years agoAdd codec id for Flash screen codec v2 and hook it up in FLV demuxer
Daniel Verkamp [Fri, 20 Nov 2009 19:16:42 +0000 (19:16 +0000)]
Add codec id for Flash screen codec v2 and hook it up in FLV demuxer

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

10 years agoIndent
Ramiro Polla [Fri, 20 Nov 2009 11:38:37 +0000 (11:38 +0000)]
Indent

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

10 years agoDocument -formats split
Daniel Verkamp [Fri, 20 Nov 2009 10:23:40 +0000 (10:23 +0000)]
Document -formats split

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

10 years agoImplement missing case for decoding samples with large pivot value in APE
Kostya Shishkov [Fri, 20 Nov 2009 07:49:53 +0000 (07:49 +0000)]
Implement missing case for decoding samples with large pivot value in APE
decoder.
This fixes issue 1555

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

10 years agocosmetics: break some long lines and insert few spaces
Kostya Shishkov [Fri, 20 Nov 2009 07:26:17 +0000 (07:26 +0000)]
cosmetics: break some long lines and insert few spaces

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

10 years ago10l trocadero: ZMBV encoder used zero score to detect whether block should be
Kostya Shishkov [Fri, 20 Nov 2009 07:22:41 +0000 (07:22 +0000)]
10l trocadero: ZMBV encoder used zero score to detect whether block should be
XORed with source one or not, which went wrong with new block comparing code.
So track this condition explicitly.

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

10 years agoavoid integer overflow in dnxhd encoder, fixes #1557
Baptiste Coudurier [Fri, 20 Nov 2009 00:13:34 +0000 (00:13 +0000)]
avoid integer overflow in dnxhd encoder, fixes #1557

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

10 years agoclarify why the encoder is failing
Baptiste Coudurier [Thu, 19 Nov 2009 23:28:21 +0000 (23:28 +0000)]
clarify why the encoder is failing

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

10 years agoFix name for PIX_FMT_NV21 PixFmtInfo entry.
Stefano Sabatini [Thu, 19 Nov 2009 22:56:57 +0000 (22:56 +0000)]
Fix name for PIX_FMT_NV21 PixFmtInfo entry.

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

10 years agouse AVFormatContext in dprintf
Baptiste Coudurier [Thu, 19 Nov 2009 21:03:25 +0000 (21:03 +0000)]
use AVFormatContext in dprintf

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

10 years agoSplit show_formats().
Michael Niedermayer [Thu, 19 Nov 2009 16:35:55 +0000 (16:35 +0000)]
Split show_formats().

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

10 years agoDisable image flipping during JPEG decoding if CODEC_FLAG_EMU_EDGE is set
Reimar Döffinger [Thu, 19 Nov 2009 11:49:03 +0000 (11:49 +0000)]
Disable image flipping during JPEG decoding if CODEC_FLAG_EMU_EDGE is set
instead of either aborting on the assert or crashing due to writing beyond
the array due to insufficient padding.

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

10 years agoRevert r20548, it was a dream. It seems faad does not ouput the last frame
Baptiste Coudurier [Thu, 19 Nov 2009 00:05:30 +0000 (00:05 +0000)]
Revert r20548, it was a dream. It seems faad does not ouput the last frame
in any case.

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

10 years agoClarify relations between log2_chroma_w, log2_chroma_h and comp.
Stefano Sabatini [Wed, 18 Nov 2009 22:32:32 +0000 (22:32 +0000)]
Clarify relations between log2_chroma_w, log2_chroma_h and comp.

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

10 years agoMake show_formats() print each bitstream filter on a separate line.
Stefano Sabatini [Wed, 18 Nov 2009 22:27:23 +0000 (22:27 +0000)]
Make show_formats() print each bitstream filter on a separate line.
Improve readability of the output.

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

10 years agofaad needs CODEC_CAP_DELAY, otherwise you miss last frame
Baptiste Coudurier [Wed, 18 Nov 2009 21:01:42 +0000 (21:01 +0000)]
faad needs CODEC_CAP_DELAY, otherwise you miss last frame

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

10 years agoAdd functions to return library license and library configuration.
Diego Biurrun [Wed, 18 Nov 2009 17:16:02 +0000 (17:16 +0000)]
Add functions to return library license and library configuration.

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

10 years agoAdd functions to return library license and library configuration.
Diego Biurrun [Wed, 18 Nov 2009 17:15:17 +0000 (17:15 +0000)]
Add functions to return library license and library configuration.

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

10 years agoSplit avdevice.c off from alldevices.c.
Diego Biurrun [Wed, 18 Nov 2009 17:01:25 +0000 (17:01 +0000)]
Split avdevice.c off from alldevices.c.
alldevices.c is not a good place for avdevice_version().

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

10 years agoRename AVPixFmtDescriptor.nb_channels to nb_components, the new name
Stefano Sabatini [Wed, 18 Nov 2009 00:07:20 +0000 (00:07 +0000)]
Rename AVPixFmtDescriptor.nb_channels to nb_components, the new name
is more clear and lexically more consistent with API and
documentation.

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

10 years agoAdd missing #includes for avutil.h, required for the AV_VERSION* macros.
Diego Biurrun [Mon, 16 Nov 2009 18:39:26 +0000 (18:39 +0000)]
Add missing #includes for avutil.h, required for the AV_VERSION* macros.

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

10 years agoUse get_bits_left() instead of size_in_bits - get_bits_count().
Ronald S. Bultje [Mon, 16 Nov 2009 17:42:43 +0000 (17:42 +0000)]
Use get_bits_left() instead of size_in_bits - get_bits_count().

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

10 years agoCosmetics: Fix indentation.
Carl Eugen Hoyos [Mon, 16 Nov 2009 01:56:47 +0000 (01:56 +0000)]
Cosmetics: Fix indentation.

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

10 years agoPad the extradata in the AAC ADTS to AudioSpecificConfig bitstream filter.
Alex Converse [Sun, 15 Nov 2009 19:40:44 +0000 (19:40 +0000)]
Pad the extradata in the AAC ADTS to AudioSpecificConfig bitstream filter.

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

10 years agoImplement ff_decode_pitch_lag() that is used by both AMR and SIPR.
Vitor Sessak [Sun, 15 Nov 2009 10:41:46 +0000 (10:41 +0000)]
Implement ff_decode_pitch_lag() that is used by both AMR and SIPR.

Based on code written by Colin McQuillan during his SoC project.

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

10 years agoSearch relative path according to alias record when opening mov reference files.
Baptiste Coudurier [Sun, 15 Nov 2009 03:26:47 +0000 (03:26 +0000)]
Search relative path according to alias record when opening mov reference files.
Based on patch by Maksym Veremeyenko, verem at m1stereo dot tv

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

10 years agoFix indention after last commit.
Michael Niedermayer [Sat, 14 Nov 2009 19:15:09 +0000 (19:15 +0000)]
Fix indention after last commit.

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

10 years agoFix crash with av_tree_enumerate(NULL).
Michael Niedermayer [Sat, 14 Nov 2009 19:14:14 +0000 (19:14 +0000)]
Fix crash with av_tree_enumerate(NULL).

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

10 years agoMerge data tables from als_data.h with the decoder source to reduce
Thilo Borgmann [Sat, 14 Nov 2009 11:49:48 +0000 (11:49 +0000)]
Merge data tables from als_data.h with the decoder source to reduce
code complexity.

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

10 years agoMake sure av_tree_enumerate() enumerates left->right.
Michael Niedermayer [Sat, 14 Nov 2009 11:19:08 +0000 (11:19 +0000)]
Make sure av_tree_enumerate() enumerates left->right.

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

10 years agoAdd long-term prediction to the ALS decoder.
Thilo Borgmann [Sat, 14 Nov 2009 06:29:19 +0000 (06:29 +0000)]
Add long-term prediction to the ALS decoder.

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

10 years agoac3dec: apply dynamic range compression to correct channels in dual-mono mode.
Justin Ruggles [Sat, 14 Nov 2009 00:25:48 +0000 (00:25 +0000)]
ac3dec: apply dynamic range compression to correct channels in dual-mono mode.

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

10 years agoAdd cflags filter for suncc
Michael Kostylev [Fri, 13 Nov 2009 20:24:42 +0000 (20:24 +0000)]
Add cflags filter for suncc

Patch by Michael Kostylev <gmail>.

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

10 years agoReset rbsp buffer size when freeing its data buffer.
Mike Scheutzow [Fri, 13 Nov 2009 18:33:28 +0000 (18:33 +0000)]
Reset rbsp buffer size when freeing its data buffer.
Patch by Mike Scheutzow $(name) AT alcatel 'minus' lucent com

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

10 years agoAdd some "#if"s to avoid compiling the RTSP code when the RTSP demuxer
Luca Abeni [Fri, 13 Nov 2009 10:19:42 +0000 (10:19 +0000)]
Add some "#if"s to avoid compiling the RTSP code when the RTSP demuxer
is disabled, and remove a useless "#if CONFIG_SDP_DEMUXER"

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

10 years agoSplit overly long line in doxy.
Stefano Sabatini [Thu, 12 Nov 2009 23:05:56 +0000 (23:05 +0000)]
Split overly long line in doxy.

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

10 years agoBump minor version after MPEG-4 Lossless commit
Vitor Sessak [Thu, 12 Nov 2009 20:21:38 +0000 (20:21 +0000)]
Bump minor version after MPEG-4 Lossless commit

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

10 years agoBump minor version after applying ALS decoder.
Carl Eugen Hoyos [Thu, 12 Nov 2009 20:08:17 +0000 (20:08 +0000)]
Bump minor version after applying ALS decoder.

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

10 years agoSplit the sdp_read_packet() function out of rtsp_read_packet().
Luca Abeni [Thu, 12 Nov 2009 15:34:17 +0000 (15:34 +0000)]
Split the sdp_read_packet() function out of rtsp_read_packet().
This allows to avoid compiling RTSP code when not needed.

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

10 years agoMove some some functions around, so that splitting the SDP code out of
Luca Abeni [Thu, 12 Nov 2009 10:31:37 +0000 (10:31 +0000)]
Move some some functions around, so that splitting the SDP code out of
rtsp_read_packet() is simpler.

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

10 years agoMark AOT_ALS as a supported MPEG-4 audio object type.
Alex Converse [Thu, 12 Nov 2009 05:22:51 +0000 (05:22 +0000)]
Mark AOT_ALS as a supported MPEG-4 audio object type.

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

10 years agoDebug print MP4 objectTypeIndication in hex not decimal as values are listed in
Alex Converse [Thu, 12 Nov 2009 02:22:19 +0000 (02:22 +0000)]
Debug print MP4 objectTypeIndication in hex not decimal as values are listed in
hex in all official documents.

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

10 years agoCosmetics: Re-indent
Alex Converse [Thu, 12 Nov 2009 01:45:04 +0000 (01:45 +0000)]
Cosmetics: Re-indent

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

10 years agoFix a __warn_memset_zero_len gcc-4.4 warning.
Alex Converse [Thu, 12 Nov 2009 01:44:38 +0000 (01:44 +0000)]
Fix a __warn_memset_zero_len gcc-4.4 warning.

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

10 years agoSwap slicify / scale description positions, "scale" comes before
Stefano Sabatini [Thu, 12 Nov 2009 00:07:36 +0000 (00:07 +0000)]
Swap slicify / scale description positions, "scale" comes before
"slicify" in lexical order.

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

10 years agoAdd scale filter.
Stefano Sabatini [Wed, 11 Nov 2009 23:50:21 +0000 (23:50 +0000)]
Add scale filter.

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

10 years agoAdd #include for required header config.h.
Diego Biurrun [Wed, 11 Nov 2009 23:46:11 +0000 (23:46 +0000)]
Add #include for required header config.h.

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

10 years agoAdd MPEG-4 Audio Lossless Coding (ALS) decoder.
Thilo Borgmann [Wed, 11 Nov 2009 22:36:17 +0000 (22:36 +0000)]
Add MPEG-4 Audio Lossless Coding (ALS) decoder.

Patch by Thilo Borgmann, thilo D borgmann A googlemail

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

10 years agoAdd the ability to parse the ALSSpecificConfig from an MPEG-4 AudioSpecificConfig...
Thilo Borgmann [Wed, 11 Nov 2009 22:16:54 +0000 (22:16 +0000)]
Add the ability to parse the ALSSpecificConfig from an MPEG-4 AudioSpecificConfig. Patch by Thilo Borgmann
<com googlemail borgmann thilo> as part of GSoC 2009.

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

10 years agoAdd '#undef fprintf' before PRINT macro that uses fprintf.
Diego Biurrun [Wed, 11 Nov 2009 21:57:50 +0000 (21:57 +0000)]
Add '#undef fprintf' before PRINT macro that uses fprintf.
Otherwise there may be trouble when fprintf is disabled in favor of av_log.

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

10 years agoCosmetics: Remove the implied gap before AOT_USAC in the MPEG-4 AOT enum.
Alex Converse [Wed, 11 Nov 2009 20:36:42 +0000 (20:36 +0000)]
Cosmetics: Remove the implied gap before AOT_USAC in the MPEG-4 AOT enum.

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

10 years agoAAC: Rename sect_len to sect_end. It marks the last sfb of the section, not the
Alex Converse [Wed, 11 Nov 2009 20:33:56 +0000 (20:33 +0000)]
AAC: Rename sect_len to sect_end. It marks the last sfb of the section, not the
length of the section.

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

10 years agoAdd a channels field to MPEG4AudioConfig.
Alex Converse [Wed, 11 Nov 2009 20:24:23 +0000 (20:24 +0000)]
Add a channels field to MPEG4AudioConfig.

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

10 years agoUse doubles in ff_set_min_dist_lsf(). After this patch, AMR can use this
Vitor Sessak [Wed, 11 Nov 2009 11:00:50 +0000 (11:00 +0000)]
Use doubles in ff_set_min_dist_lsf(). After this patch, AMR can use this
function with no change in output.

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

10 years agoAdd Low Delay MPEG Surround to the enum of MPEG-4 Audio Object Types.
Alex Converse [Wed, 11 Nov 2009 01:04:08 +0000 (01:04 +0000)]
Add Low Delay MPEG Surround to the enum of MPEG-4 Audio Object Types.

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

10 years agoAdd PIX_FMT_VDPAU_MPEG4 to pixdesc.c.
Carl Eugen Hoyos [Wed, 11 Nov 2009 00:02:36 +0000 (00:02 +0000)]
Add PIX_FMT_VDPAU_MPEG4 to pixdesc.c.

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

10 years agoAdd CH_LAYOUT_NATIVE channel mask value to allow user to request native codec
Justin Ruggles [Tue, 10 Nov 2009 21:53:22 +0000 (21:53 +0000)]
Add CH_LAYOUT_NATIVE channel mask value to allow user to request native codec
channel order from the decoder rather than the default FFmpeg channel order.

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

10 years agoindent
Michael Niedermayer [Tue, 10 Nov 2009 21:00:46 +0000 (21:00 +0000)]
indent

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

10 years agoCosmetics: Fix indentation after r20505.
Carl Eugen Hoyos [Tue, 10 Nov 2009 20:55:45 +0000 (20:55 +0000)]
Cosmetics: Fix indentation after r20505.

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

10 years agoAdd .pix_fmts to H264 VDPAU decoder declaration and remove obsolete test
Carl Eugen Hoyos [Tue, 10 Nov 2009 20:55:00 +0000 (20:55 +0000)]
Add .pix_fmts to H264 VDPAU decoder declaration and remove obsolete test
for codec->capabilities.

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

10 years agoTry to fix has_b_frame calculation for open gop files.
Michael Niedermayer [Tue, 10 Nov 2009 20:24:41 +0000 (20:24 +0000)]
Try to fix has_b_frame calculation for open gop files.
Fixes issue1523

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

10 years agoFix palette copying in av_picture_copy(). Previous code worked only if
Vitor Sessak [Tue, 10 Nov 2009 19:36:58 +0000 (19:36 +0000)]
Fix palette copying in av_picture_copy(). Previous code worked only if
linesize[1] == 1, which does not make sense.

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

10 years agoSupport VDPAU hardware accelerated decoding of MPEG-4 ASP on capable
NVIDIA Corporation [Tue, 10 Nov 2009 19:11:13 +0000 (19:11 +0000)]
Support VDPAU hardware accelerated decoding of MPEG-4 ASP on capable
hardware.

Original patch by NVIDIA corporation.

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

10 years agoAdd VDPAU hardware accelerated decoding for MPEG-4 ASP which can be used
NVIDIA Corporation [Tue, 10 Nov 2009 18:52:39 +0000 (18:52 +0000)]
Add VDPAU hardware accelerated decoding for MPEG-4 ASP which can be used
by video players.

Original patch by NVIDIA corporation.

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

10 years agoFix make install when all of ffmpeg/ffplay/ffserver are disabled
Måns Rullgård [Tue, 10 Nov 2009 15:56:03 +0000 (15:56 +0000)]
Fix make install when all of ffmpeg/ffplay/ffserver are disabled

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

10 years agoHandle JPEG2000 frames stored in the Quicktime container.
Jai Menon [Tue, 10 Nov 2009 14:48:32 +0000 (14:48 +0000)]
Handle JPEG2000 frames stored in the Quicktime container.
Fixes issue 1525.

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

10 years agocosmetics : fix indentation.
Jai Menon [Tue, 10 Nov 2009 14:37:42 +0000 (14:37 +0000)]
cosmetics : fix indentation.

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

10 years agoRemove code checking for __PIC__ or __pic__ and setting PIC from libavutil/internal.h,
Reimar Döffinger [Tue, 10 Nov 2009 12:59:56 +0000 (12:59 +0000)]
Remove code checking for __PIC__ or __pic__ and setting PIC from libavutil/internal.h,
configure is supposed to take care of that already.

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