]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/log
frescor/ffmpeg.git
14 years agoPass only useful FLV metadata from RTMP stream
kostya [Sun, 22 Nov 2009 08:40:55 +0000 (08:40 +0000)]
Pass only useful FLV metadata from RTMP stream

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20573 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20572 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoDo not write an extra byte in the iTunes 'hdlr' tag. The files on iTMS have an
jbr [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.
Approved by Baptiste on IRC.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20571 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20570 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoFactorize av_get_bit_rate (for future use outside of libavcodec).
cehoyos [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20569 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20568 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoDo D10 AES3 audio conversion in-place instead of using a large on-stack buffer.
reimar [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20567 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoAllocate pictures with enough padding for jpeg.
michael [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20566 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoIn win32 thread implementation do not access jobnr if the thread is asked
reimar [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20565 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20564 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoAdd codec id for Flash screen codec v2 and hook it up in FLV demuxer
daniel [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20563 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoIndent
ramiro [Fri, 20 Nov 2009 11:38:37 +0000 (11:38 +0000)]
Indent

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20562 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20561 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoImplement missing case for decoding samples with large pivot value in APE
kostya [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20560 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20559 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years ago10l trocadero: ZMBV encoder used zero score to detect whether block should be
kostya [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20558 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20557 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20556 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20555 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20554 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20553 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoDisable image flipping during JPEG decoding if CODEC_FLAG_EMU_EDGE is set
reimar [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20552 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoRevert r20548, it was a dream. It seems faad does not ouput the last frame
bcoudurier [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20551 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20550 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoMake show_formats() print each bitstream filter on a separate line.
stefano [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20549 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20548 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20547 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoSplit avdevice.c off from alldevices.c.
diego [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().

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20546 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoRename AVPixFmtDescriptor.nb_channels to nb_components, the new name
stefano [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20545 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20544 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoUse git_bits_left() instead of size_in_bits - get_bits_count().
rbultje [Mon, 16 Nov 2009 17:42:43 +0000 (17:42 +0000)]
Use git_bits_left() instead of size_in_bits - get_bits_count().

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20543 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoCosmetics: Fix indentation.
cehoyos [Mon, 16 Nov 2009 01:56:47 +0000 (01:56 +0000)]
Cosmetics: Fix indentation.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20542 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20541 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoImplement ff_decode_pitch_lag() that is used by both AMR and SIPR.
vitor [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20540 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoSearch relative path according to alias record when opening mov reference files.
bcoudurier [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20539 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20538 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20537 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20536 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20535 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20534 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20533 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

Patch by Michael Kostylev <gmail>.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20532 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoReset rbsp buffer size when freeing its data buffer.
benoit [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20531 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoAdd some "#if"s to avoid compiling the RTSP code when the RTSP demuxer
lucabe [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"

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20530 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20529 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20528 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20527 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoSplit the sdp_read_packet() function out of rtsp_read_packet().
lucabe [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20526 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoMove some some functions around, so that splitting the SDP code out of
lucabe [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20525 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20524 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoDebug print MP4 objectTypeIndication in hex not decimal as values are listed in
alexc [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20523 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20522 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20521 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20520 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20519 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20518 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoAdd MPEG-4 Audio Lossless Coding (ALS) decoder.
cehoyos [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20517 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoAdd the ability to parse the ALSSpecificConfig from an MPEG-4 AudioSpecificConfig...
alexc [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20516 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoAdd '#undef fprintf' before PRINT macro that uses fprintf.
diego [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20515 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoCosmetics: Remove the implied gap before AOT_USAC in the MPEG-4 AOT enum.
alexc [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20514 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoAAC: Rename sect_len to sect_end. It marks the last sfb of the section, not the
alexc [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20513 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20512 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoUse doubles in ff_set_min_dist_lsf(). After this patch, AMR can use this
vitor [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20511 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoAdd Low Delay MPEG Surround to the enum of MPEG-4 Audio Object Types.
alexc [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20510 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoAdd PIX_FMT_VDPAU_MPEG4 to pixdesc.c.
cehoyos [Wed, 11 Nov 2009 00:02:36 +0000 (00:02 +0000)]
Add PIX_FMT_VDPAU_MPEG4 to pixdesc.c.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20509 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoAdd CH_LAYOUT_NATIVE channel mask value to allow user to request native codec
jbr [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20508 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20507 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20506 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoAdd .pix_fmts to H264 VDPAU decoder declaration and remove obsolete test
cehoyos [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20505 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20504 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoFix palette copying in av_picture_copy(). Previous code worked only if
vitor [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20503 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoAdd VDPAU hardware accelerated decoding for MPEG-4 ASP which can be used
cehoyos [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20502 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20501 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20500 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20499 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoRemove code checking for __PIC__ or __pic__ and setting PIC from libavutil/internal.h,
reimar [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20498 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoCheck if PIC is somehow already enabled (e.g. a compiler that enables it by default).
reimar [Tue, 10 Nov 2009 12:57:28 +0000 (12:57 +0000)]
Check if PIC is somehow already enabled (e.g. a compiler that enables it by default).
This in particular ensures that -DPIC is set appropriately for YASM, which avoids
linking failures on x86_64 for compilers that have PIE enabled by default
(e.g. hardened Gentoo).
It also makes the macho64 special-case hack adding -DPIC to YASMFLAGS obsolete.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20497 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoAvoid variable-length array use in ff_acelp_lspd2lpc()
vitor [Tue, 10 Nov 2009 04:17:18 +0000 (04:17 +0000)]
Avoid variable-length array use in ff_acelp_lspd2lpc()

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20496 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoAdd a NULL pointer check to avcodec_close() this should prevent a segfault
michael [Tue, 10 Nov 2009 02:51:47 +0000 (02:51 +0000)]
Add a NULL pointer check to avcodec_close() this should prevent a segfault
when closing without open.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20495 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoconfigure: whitespace cosmetics
mru [Tue, 10 Nov 2009 00:23:42 +0000 (00:23 +0000)]
configure: whitespace cosmetics

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20494 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agopatcheck: check that pix_fmt etc. initializers are const
reimar [Mon, 9 Nov 2009 23:12:44 +0000 (23:12 +0000)]
patcheck: check that pix_fmt etc. initializers are const

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20493 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agofix a rounding error in the PSNR calculation and update the many regression
jbr [Mon, 9 Nov 2009 23:09:47 +0000 (23:09 +0000)]
fix a rounding error in the PSNR calculation and update the many regression
test references that this change affects.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20492 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoAttempt to document the "enable pic" hackery for OpenBSD.
reimar [Mon, 9 Nov 2009 22:52:46 +0000 (22:52 +0000)]
Attempt to document the "enable pic" hackery for OpenBSD.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20491 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoMake get_bits_left() available for use in libavcodec (was previously held
rbultje [Mon, 9 Nov 2009 22:10:43 +0000 (22:10 +0000)]
Make get_bits_left() available for use in libavcodec (was previously held
private in dv.c for some reason). See "[PATCH] get_bits_left()" thread.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20490 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoAnd on the sixth day, God gave us the <= operand, which makes the loop
rbultje [Mon, 9 Nov 2009 22:04:03 +0000 (22:04 +0000)]
And on the sixth day, God gave us the <= operand, which makes the loop
"for (i = 1; i < num + 1; i++)" look like "for (i = 1; i <= num; i++)".
Programmers worldwide rejoiced and used the operand, e.g. in the thread
"[PATCH] remove ugliness in cel_filters.c", and He saw that it was good.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20489 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoFix crop filter start_frame() for paletted formats different from
stefano [Mon, 9 Nov 2009 21:00:38 +0000 (21:00 +0000)]
Fix crop filter start_frame() for paletted formats different from
PAL8. Shift data[1] only if the input format is not paletted.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20488 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoEnable linking of parseutils.o.
stefano [Mon, 9 Nov 2009 18:56:51 +0000 (18:56 +0000)]
Enable linking of parseutils.o.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20487 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoRemove some BeOS/haiku hacks: -fomit-frame-pointer is used anyway,
reimar [Mon, 9 Nov 2009 17:05:38 +0000 (17:05 +0000)]
Remove some BeOS/haiku hacks: -fomit-frame-pointer is used anyway,
and -DPIC makes little sense without -fPIC or similar - if -fPIC is
enabled by default, libavutil/internal.h defines PICi anyway.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20486 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoDo not hardcode filter order in ff_acelp_lspd2lpc()
vitor [Mon, 9 Nov 2009 12:06:19 +0000 (12:06 +0000)]
Do not hardcode filter order in ff_acelp_lspd2lpc()

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20485 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoMove ff_reverse in libavcodec to av_reverse in libavutil.
cehoyos [Mon, 9 Nov 2009 09:11:35 +0000 (09:11 +0000)]
Move ff_reverse in libavcodec to av_reverse in libavutil.

Patch by Francesco Lavra, francescolavra interfree it

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20484 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoIncrease default value for max_analyze_duration, fixes issue 1506, a regression.
cehoyos [Mon, 9 Nov 2009 01:10:55 +0000 (01:10 +0000)]
Increase default value for max_analyze_duration, fixes issue 1506, a regression.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20483 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoUse enum instead of integer types where appropriate.
cehoyos [Sun, 8 Nov 2009 23:48:15 +0000 (23:48 +0000)]
Use enum instead of integer types where appropriate.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20482 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoUse CODEC_ID_NONE instead of 0 for enum CodecID.
cehoyos [Sun, 8 Nov 2009 23:46:32 +0000 (23:46 +0000)]
Use CODEC_ID_NONE instead of 0 for enum CodecID.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20481 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoUse enum FrameType as parameter to construct_perm_table().
cehoyos [Sun, 8 Nov 2009 23:37:59 +0000 (23:37 +0000)]
Use enum FrameType as parameter to construct_perm_table().

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20480 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoFix start_frame(), which was issuing chroma artifacts with planar
stefano [Sun, 8 Nov 2009 22:47:10 +0000 (22:47 +0000)]
Fix start_frame(), which was issuing chroma artifacts with planar
formats with more than 8 bits per pixel (e.g. YUVXXXP16).

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20479 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoSet -DPREFIX for yasm simply whenever extern_prefix is set instead
reimar [Sun, 8 Nov 2009 22:39:10 +0000 (22:39 +0000)]
Set -DPREFIX for yasm simply whenever extern_prefix is set instead
of hardcoding it based on the object format.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20478 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoRemove unused variable.
michael [Sun, 8 Nov 2009 14:54:43 +0000 (14:54 +0000)]
Remove unused variable.
1l for me if it wherent sunday and i could buy cola.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20477 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoAlways add -DPIC to YASM flags when pic is enabled.
reimar [Sun, 8 Nov 2009 14:50:47 +0000 (14:50 +0000)]
Always add -DPIC to YASM flags when pic is enabled.
This covers the previous case of x86_64 and shared, but also
works with --enable-pic.
For 32 bit x86 it currently makes no difference since x86inc.asm
ignores -DPIC for non-x86_64.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20476 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agomove code to avoid forward declaration
bcoudurier [Sun, 8 Nov 2009 03:27:58 +0000 (03:27 +0000)]
move code to avoid forward declaration

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20475 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoLet pmt override stream info when encoutered later in the ts file.
bcoudurier [Sun, 8 Nov 2009 03:17:08 +0000 (03:17 +0000)]
Let pmt override stream info when encoutered later in the ts file.
Do not set codec id based on pes start code, this is unreliable.
Fix gazeta-20090408-1456-aa.ts

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20474 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b