]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/log
frescor/ffmpeg.git
15 years agoBe more verbose in describing VQF demuxer
vitor [Sun, 8 Mar 2009 16:08:18 +0000 (16:08 +0000)]
Be more verbose in describing VQF demuxer

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

15 years agoAdd a part explaining that API should be considered unstable after major
reimar [Sun, 8 Mar 2009 15:17:37 +0000 (15:17 +0000)]
Add a part explaining that API should be considered unstable after major
version changes and list dates of last major version increase.

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

15 years agoPreliminary summary of AVFifoBuffer changes
reimar [Sun, 8 Mar 2009 15:09:11 +0000 (15:09 +0000)]
Preliminary summary of AVFifoBuffer changes

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

15 years agoRemove more functions disabled by major version bump.
reimar [Sun, 8 Mar 2009 15:02:12 +0000 (15:02 +0000)]
Remove more functions disabled by major version bump.

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

15 years agoRemove/replace code disabled by major version bump.
reimar [Sun, 8 Mar 2009 14:51:25 +0000 (14:51 +0000)]
Remove/replace code disabled by major version bump.

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

15 years agoDeprecate the Mersenne Twister.
michael [Sun, 8 Mar 2009 14:46:10 +0000 (14:46 +0000)]
Deprecate the Mersenne Twister.
Please use an ALFG, MLFG, LCG or KISS99 generator, MLFG&KISS99 provide higher quality
numbers and all should be faster.

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

15 years agoReplace all uses of the replaced av_fifo_read by av_fifo_generic_read
reimar [Sun, 8 Mar 2009 14:42:11 +0000 (14:42 +0000)]
Replace all uses of the replaced av_fifo_read by av_fifo_generic_read

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

15 years agoRemove the Mersenne Twister from the public API/ABI.
michael [Sun, 8 Mar 2009 14:35:13 +0000 (14:35 +0000)]
Remove the Mersenne Twister from the public API/ABI.
We provide better PRNGs.

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

15 years agoBump major version of libavutil due to FIFO fixes.
michael [Sun, 8 Mar 2009 14:33:30 +0000 (14:33 +0000)]
Bump major version of libavutil due to FIFO fixes.
The current API/ABI should not be considered stable yet, further ABI/API
breakage is possible without major bumps.

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

15 years agoRemove av_fifo_read, API is already broken and major version will be bumped soon.
reimar [Sun, 8 Mar 2009 14:21:56 +0000 (14:21 +0000)]
Remove av_fifo_read, API is already broken and major version will be bumped soon.

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

15 years agoAllocate AVFifoBuffer through the fifo API to reduce future API/ABI issues.
michael [Sun, 8 Mar 2009 14:16:55 +0000 (14:16 +0000)]
Allocate AVFifoBuffer through the fifo API to reduce future API/ABI issues.
Yes this breaks ABI/API but ive already broken it and will bump avutil major
soon.

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

15 years agoadd ff_random_get_seed to be used in conjunction with random functions
bcoudurier [Sun, 8 Mar 2009 01:28:14 +0000 (01:28 +0000)]
add ff_random_get_seed to be used in conjunction with random functions

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

15 years agoComments to indicate where memory barriers may be needed.
michael [Sun, 8 Mar 2009 00:45:45 +0000 (00:45 +0000)]
Comments to indicate where memory barriers may be needed.

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

15 years agoVQF demuxer
vitor [Sat, 7 Mar 2009 22:42:09 +0000 (22:42 +0000)]
VQF demuxer

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

15 years agoTry to fix the 1 byte cant be used issue.
michael [Sat, 7 Mar 2009 21:02:08 +0000 (21:02 +0000)]
Try to fix the 1 byte cant be used issue.

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

15 years agocosmetics: fix indentation
diego [Sat, 7 Mar 2009 19:56:21 +0000 (19:56 +0000)]
cosmetics: fix indentation

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

15 years agoFix AVFMT_FLAG_NONBLOCK in alsa
lucabe [Sat, 7 Mar 2009 18:17:13 +0000 (18:17 +0000)]
Fix AVFMT_FLAG_NONBLOCK in alsa

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

15 years agortpmap is case-insensitive, see comment from Luca in "[PATCH] rtsp.c:
rbultje [Sat, 7 Mar 2009 15:20:55 +0000 (15:20 +0000)]
rtpmap is case-insensitive, see comment from Luca in "[PATCH] rtsp.c:
keep-alive" thread.

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

15 years agoRe-indent after last commit.
alexc [Fri, 6 Mar 2009 22:37:21 +0000 (22:37 +0000)]
Re-indent after last commit.

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

15 years agoIf we get an error from ff_aac_parse_header() we should not trust the header info...
alexc [Fri, 6 Mar 2009 22:36:24 +0000 (22:36 +0000)]
If we get an error from ff_aac_parse_header() we should not trust the header info that it provides.

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

15 years agoADTS: Increased protection against writing illegal/nonsense files.
alexc [Fri, 6 Mar 2009 21:19:16 +0000 (21:19 +0000)]
ADTS: Increased protection against writing illegal/nonsense files.

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

15 years agoAdd my name to copyright & author as requested by the original author.
michael [Fri, 6 Mar 2009 20:51:50 +0000 (20:51 +0000)]
Add my name to copyright & author as requested by the original author.

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

15 years agoAdd code to the self test to print jitter & drift.
michael [Fri, 6 Mar 2009 20:48:31 +0000 (20:48 +0000)]
Add code to the self test to print jitter & drift.

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

15 years agoFix the channel allocation bug/assumption (issue 800).
alexc [Fri, 6 Mar 2009 19:47:01 +0000 (19:47 +0000)]
Fix the channel allocation bug/assumption (issue 800).
Approved by Rob on IRC.

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

15 years agoGet rid of redundant vdpau option, decoders can still be disabled individually.
diego [Fri, 6 Mar 2009 10:18:39 +0000 (10:18 +0000)]
Get rid of redundant vdpau option, decoders can still be disabled individually.

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

15 years agoFix H.264 bitstream field log2_max_pic_order_cnt_lsb_minus4
cehoyos [Fri, 6 Mar 2009 08:03:26 +0000 (08:03 +0000)]
Fix H.264 bitstream field log2_max_pic_order_cnt_lsb_minus4
if sps.poc_type == 0.

Patch by Stephen Warren, swarren nvidia com

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

15 years agoOops, very silly typo.
rbultje [Fri, 6 Mar 2009 03:12:33 +0000 (03:12 +0000)]
Oops, very silly typo.

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

15 years agoflacdec: Parse the metadata header in the raw FLAC demuxer.
jbr [Fri, 6 Mar 2009 01:31:10 +0000 (01:31 +0000)]
flacdec: Parse the metadata header in the raw FLAC demuxer.

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

15 years agoflacdec: Add a shared function for parsing a FLAC metadata block header.
jbr [Fri, 6 Mar 2009 01:25:11 +0000 (01:25 +0000)]
flacdec: Add a shared function for parsing a FLAC metadata block header.

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

15 years agoAdd '#undef rand' to fix test program build.
diego [Fri, 6 Mar 2009 00:57:26 +0000 (00:57 +0000)]
Add '#undef rand' to fix test program build.

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

15 years agocosmetics: Fix test program warnings.
diego [Fri, 6 Mar 2009 00:55:50 +0000 (00:55 +0000)]
cosmetics: Fix test program warnings.

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

15 years agopnm: Add missing 'else'. Fixes decoding for 16-bit pgm.
jbr [Fri, 6 Mar 2009 00:54:49 +0000 (00:54 +0000)]
pnm: Add missing 'else'. Fixes decoding for 16-bit pgm.

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

15 years agoVertical align.
michael [Fri, 6 Mar 2009 00:48:02 +0000 (00:48 +0000)]
Vertical align.

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

15 years agoBetter name for integrator2_state.
michael [Fri, 6 Mar 2009 00:47:16 +0000 (00:47 +0000)]
Better name for integrator2_state.

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

15 years agoAdd clock_period parameter, this should makes the code easier to use.
michael [Fri, 6 Mar 2009 00:44:12 +0000 (00:44 +0000)]
Add clock_period parameter, this should makes the code easier to use.

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

15 years agoSelftest code.
michael [Fri, 6 Mar 2009 00:26:51 +0000 (00:26 +0000)]
Selftest code.

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

15 years agoFix bug with time==0 being special.
michael [Fri, 6 Mar 2009 00:23:52 +0000 (00:23 +0000)]
Fix bug with time==0 being special.

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

15 years agoAdapt first factor.
michael [Fri, 6 Mar 2009 00:20:55 +0000 (00:20 +0000)]
Adapt first factor.

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

15 years agoMerge ff_timefilter_read() and ff_timefilter_update(), this simplifies API and
michael [Fri, 6 Mar 2009 00:14:44 +0000 (00:14 +0000)]
Merge ff_timefilter_read() and ff_timefilter_update(), this simplifies API and
avoids calling them in the wrong order.

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

15 years agoAllow timespans to vari.
michael [Fri, 6 Mar 2009 00:09:14 +0000 (00:09 +0000)]
Allow timespans to vari.
No change in perforance if they do not vari.

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

15 years agoReorder operations, 20% improved performance, 1 variable less.
michael [Thu, 5 Mar 2009 23:57:42 +0000 (23:57 +0000)]
Reorder operations, 20% improved performance, 1 variable less.

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

15 years agoTimefilter code by Olivier Guilyardi o list O samalyse o com
michael [Thu, 5 Mar 2009 23:45:18 +0000 (23:45 +0000)]
Timefilter code by Olivier Guilyardi o list O samalyse o com

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

15 years agoMark variables "j" and "structure" in execute_ref_pic_marking() as av_uninit
diego [Thu, 5 Mar 2009 23:38:52 +0000 (23:38 +0000)]
Mark variables "j" and "structure" in execute_ref_pic_marking() as av_uninit
to work around false positive 'may be used uninitialized' warnings.

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

15 years agoDirectly read the version number from a VERSION file; useful for releases.
diego [Thu, 5 Mar 2009 23:17:11 +0000 (23:17 +0000)]
Directly read the version number from a VERSION file; useful for releases.

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

15 years agoAAC: hoist dependent gain lookup out of the loop
alexc [Thu, 5 Mar 2009 23:10:22 +0000 (23:10 +0000)]
AAC: hoist dependent gain lookup out of the loop

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

15 years agocosmetics: Zip Blocks Motion Video --> Zip Motion Blocks Video
diego [Thu, 5 Mar 2009 22:59:23 +0000 (22:59 +0000)]
cosmetics: Zip Blocks Motion Video --> Zip Motion Blocks Video

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

15 years agocosmetics: Order changelog entries chronologically.
diego [Thu, 5 Mar 2009 22:58:19 +0000 (22:58 +0000)]
cosmetics: Order changelog entries chronologically.

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

15 years agoRemove duplicated MUL16 macro definition, fixes the warning:
diego [Thu, 5 Mar 2009 22:17:12 +0000 (22:17 +0000)]
Remove duplicated MUL16 macro definition, fixes the warning:
libavcodec/ac3enc.c:119:1: warning: "MUL16" redefined

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

15 years agoARM: disable inline asm for armcc
mru [Thu, 5 Mar 2009 21:20:13 +0000 (21:20 +0000)]
ARM: disable inline asm for armcc

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

15 years agoARM: armcc versions of bswap_16/32
mru [Thu, 5 Mar 2009 21:20:10 +0000 (21:20 +0000)]
ARM: armcc versions of bswap_16/32

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

15 years agoARM: detect armcc compiler and enable gcc mode
mru [Thu, 5 Mar 2009 21:20:08 +0000 (21:20 +0000)]
ARM: detect armcc compiler and enable gcc mode

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

15 years agoconfigure: check asm support using $as
mru [Thu, 5 Mar 2009 21:20:04 +0000 (21:20 +0000)]
configure: check asm support using $as

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

15 years agoCompile .S files with $(AS), set it in configure
mru [Thu, 5 Mar 2009 21:20:01 +0000 (21:20 +0000)]
Compile .S files with $(AS), set it in configure

Assembler files using the GNU syntax need to be processed by gcc,
whichever compiler is used for C files.

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

15 years agoMark pos_min and pos_max variables as av_uninit to work around false
diego [Thu, 5 Mar 2009 19:15:14 +0000 (19:15 +0000)]
Mark pos_min and pos_max variables as av_uninit to work around false
positive uninitialized variable warnings.

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

15 years agoMark dvdaudio_substream_type variable as av_uninit to work around false
diego [Thu, 5 Mar 2009 19:13:12 +0000 (19:13 +0000)]
Mark dvdaudio_substream_type variable as av_uninit to work around false
positive uninitialized variable warning.

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

15 years agoPass packet position to the parser, so frame's AVPacket.pos is computed correctly.
schreter [Thu, 5 Mar 2009 07:36:16 +0000 (07:36 +0000)]
Pass packet position to the parser, so frame's AVPacket.pos is computed correctly.

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

15 years agoAdd handling of frame position in the parser.
schreter [Thu, 5 Mar 2009 07:35:06 +0000 (07:35 +0000)]
Add handling of frame position in the parser.

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

15 years agoflacdec: cosmetics: Add a comment with the data of the smallest FLAC
jbr [Thu, 5 Mar 2009 04:40:42 +0000 (04:40 +0000)]
flacdec: cosmetics: Add a comment with the data of the smallest FLAC
frame for future reference.

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

15 years agoflacdec: There is an even smaller FLAC frame size possibility.
jbr [Thu, 5 Mar 2009 02:36:17 +0000 (02:36 +0000)]
flacdec: There is an even smaller FLAC frame size possibility.

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

15 years agoflacdec: 10l to me. I miscalculated the smallest FLAC frame. It is 16
jbr [Thu, 5 Mar 2009 02:21:35 +0000 (02:21 +0000)]
flacdec: 10l to me. I miscalculated the smallest FLAC frame. It is 16
bytes, not 24.

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

15 years agoflacdec: cosmetics: move 2 statements to immediately after frame
jbr [Thu, 5 Mar 2009 01:23:53 +0000 (01:23 +0000)]
flacdec: cosmetics: move 2 statements to immediately after frame
decoding.

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

15 years agoflacdec: Simplify frame sync by not using the bitstream reader.
jbr [Thu, 5 Mar 2009 01:15:38 +0000 (01:15 +0000)]
flacdec: Simplify frame sync by not using the bitstream reader.

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

15 years agoflacdec: Split the metadata_parse() function into 2 separate functions,
jbr [Thu, 5 Mar 2009 00:56:09 +0000 (00:56 +0000)]
flacdec: Split the metadata_parse() function into 2 separate functions,
parse_streaminfo() and get_metadata_size().

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

15 years agoflacdec: Add a check for small buffer size. This ensures reading as
jbr [Wed, 4 Mar 2009 23:55:10 +0000 (23:55 +0000)]
flacdec: Add a check for small buffer size.  This ensures reading as
much of the frame header as possible without excluding the smallest
possible FLAC frame.  It also fixes a false positive warning message
that was being emitted at the end of decoding.

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

15 years agoflacdec: cosmetics: Use a more descriptive variable name for the number
jbr [Wed, 4 Mar 2009 23:24:44 +0000 (23:24 +0000)]
flacdec: cosmetics: Use a more descriptive variable name for the number
of bytes read, instead of reusing 'i'.

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

15 years agoflacdec: Handle 32 bps data when checking allocated size.
jbr [Wed, 4 Mar 2009 23:16:30 +0000 (23:16 +0000)]
flacdec: Handle 32 bps data when checking allocated size.

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

15 years agoflacdec: Check curr_bps after wasted bits are subtracted.
jbr [Wed, 4 Mar 2009 23:10:40 +0000 (23:10 +0000)]
flacdec: Check curr_bps after wasted bits are subtracted.

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

15 years agoFix typo: "i" -> "in".
stefano [Wed, 4 Mar 2009 21:50:10 +0000 (21:50 +0000)]
Fix typo: "i" -> "in".

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

15 years agoAdd support for ct_type to correctly detect interlaced flag
schreter [Wed, 4 Mar 2009 19:37:19 +0000 (19:37 +0000)]
Add support for ct_type to correctly detect interlaced flag

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

15 years agoAdd "deprecated old scaler removed"
michael [Wed, 4 Mar 2009 18:43:20 +0000 (18:43 +0000)]
Add "deprecated old scaler removed"

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

15 years agoRemove the swscale dummy option, most (all?) FATE configs should be updated
reimar [Wed, 4 Mar 2009 18:41:47 +0000 (18:41 +0000)]
Remove the swscale dummy option, most (all?) FATE configs should be updated
to work without it.

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

15 years ago100l, interplayvideo uses 8x8 blocks, so call the 8x8 put_pixels_tab function
reimar [Wed, 4 Mar 2009 18:18:49 +0000 (18:18 +0000)]
100l, interplayvideo uses 8x8 blocks, so call the 8x8 put_pixels_tab function
instead of the 16x16 one. Seems to fix decoding on PPC.

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

15 years agoSet AVFrame.reference correctly for nuv decoder.
reimar [Wed, 4 Mar 2009 17:12:58 +0000 (17:12 +0000)]
Set AVFrame.reference correctly for nuv decoder.

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

15 years agoAdd more correct bound checking in filter_mb().
vitor [Wed, 4 Mar 2009 16:56:55 +0000 (16:56 +0000)]
Add more correct bound checking in filter_mb().

Should fix decoding of CVMAPAQP3_Sony_E.jsv in MinGW

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

15 years agoAdd frame buffer allocators. aka simplify calls to
gb [Wed, 4 Mar 2009 08:47:29 +0000 (08:47 +0000)]
Add frame buffer allocators. aka simplify calls to
AVCodecContext.{get,release}_buffer().

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

15 years agoMOV: fix demuxing fragmented files
alexc [Wed, 4 Mar 2009 07:57:09 +0000 (07:57 +0000)]
MOV: fix demuxing fragmented files

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

15 years agoFix a condition that causes an infinite loop, but only when compiled with
melanson [Wed, 4 Mar 2009 05:40:53 +0000 (05:40 +0000)]
Fix a condition that causes an infinite loop, but only when compiled with
gcc 4.2.4 on x86_32. Thanks to Vitor for hunting this down.

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

15 years agoexcellent first pass at a description; now it's time for the Ministry of
melanson [Wed, 4 Mar 2009 05:24:59 +0000 (05:24 +0000)]
excellent first pass at a description; now it's time for the Ministry of
English Composition to tear it apart and rebuild it, stronger than before

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

15 years agoPart 2 of 2 of Kenan Gillet's 'make ff_qcelp_lspf2lpc
reynaldo [Wed, 4 Mar 2009 01:33:56 +0000 (01:33 +0000)]
Part 2 of 2 of Kenan Gillet's 'make ff_qcelp_lspf2lpc
more general' changeset. This one relocates the QCELP
especific code to the qcelpdec.* files.

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

15 years agoPart 1 of 2 of Kenan Gillet's 'make ff_qcelp_lspf2lpc
reynaldo [Wed, 4 Mar 2009 01:28:07 +0000 (01:28 +0000)]
Part 1 of 2 of Kenan Gillet's 'make ff_qcelp_lspf2lpc
more general' changeset. This one splits ff_qcelp_lspf2lpc
into the QCELP-especific ff_qcelp_lspf2lpc + the more general
ff_qcelp_lspf2lpc.

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

15 years agoflacdec: When there is not enough data to read the next header block,
jbr [Wed, 4 Mar 2009 01:08:26 +0000 (01:08 +0000)]
flacdec: When there is not enough data to read the next header block,
reset the bitstream reader instead of skipping backwards.

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

15 years agoSplit rtsp_send_cmd() into two functions, one for the actual sending of the
rbultje [Wed, 4 Mar 2009 00:57:37 +0000 (00:57 +0000)]
Split rtsp_send_cmd() into two functions, one for the actual sending of the
command and a second, new function to read the reply to this command. This
will make it possible to read server notices that are not in response to a
command in future versions, such as EOS or interrupt notices. See "[PATCH]
rtsp.c: split rtsp_send_cmd() in a send- and a receive-function" thread.

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

15 years agocosmetics: indentation after last commit
jbr [Wed, 4 Mar 2009 00:53:04 +0000 (00:53 +0000)]
cosmetics: indentation after last commit

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

15 years agoflacdec: Check for an inline header before calling metadata_parse().
jbr [Wed, 4 Mar 2009 00:52:18 +0000 (00:52 +0000)]
flacdec: Check for an inline header before calling metadata_parse().

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

15 years agoflacdec: Allocate buffers right after STREAMINFO is parsed.
jbr [Wed, 4 Mar 2009 00:21:46 +0000 (00:21 +0000)]
flacdec: Allocate buffers right after STREAMINFO is parsed.

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

15 years agoAlpha: use -g3 with ccc to allow optimisation with debugging symbols
mru [Tue, 3 Mar 2009 23:53:29 +0000 (23:53 +0000)]
Alpha: use -g3 with ccc to allow optimisation with debugging symbols

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

15 years agoFix syntax for the libfaad_decoder definition.
stefano [Tue, 3 Mar 2009 23:52:31 +0000 (23:52 +0000)]
Fix syntax for the libfaad_decoder definition.

Fix compilation (when libfaad is enabled).

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

15 years agocosmetics: indentation after last commit
jbr [Tue, 3 Mar 2009 23:50:21 +0000 (23:50 +0000)]
cosmetics: indentation after last commit

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

15 years agoflacdec: Avoid parsing the STREAMINFO multiple times.
jbr [Tue, 3 Mar 2009 23:49:36 +0000 (23:49 +0000)]
flacdec: Avoid parsing the STREAMINFO multiple times.

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

15 years agoRename avctx_opts to avcodec_opts.
stefano [Tue, 3 Mar 2009 23:32:10 +0000 (23:32 +0000)]
Rename avctx_opts to avcodec_opts.

The new name is more meaningful and consistent with avformat_opts
and sws_opts.

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

15 years agoAllow --enable-swscale until FATE is updated
mru [Tue, 3 Mar 2009 23:07:12 +0000 (23:07 +0000)]
Allow --enable-swscale until FATE is updated

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

15 years agoRemove old scaler.
michael [Tue, 3 Mar 2009 22:51:30 +0000 (22:51 +0000)]
Remove old scaler.

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

15 years agoEnable AVFMT_FLAG_NONBLOCK.
michael [Tue, 3 Mar 2009 20:25:21 +0000 (20:25 +0000)]
Enable AVFMT_FLAG_NONBLOCK.

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

15 years agoDo usleep(10000) when all demuxers returned EAGAIN.
michael [Tue, 3 Mar 2009 20:24:58 +0000 (20:24 +0000)]
Do usleep(10000) when all demuxers returned EAGAIN.

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

15 years agoReplace 2 return AVERROR(EAGAIN); by continue, these being nicer
michael [Tue, 3 Mar 2009 20:24:17 +0000 (20:24 +0000)]
Replace 2 return AVERROR(EAGAIN); by continue, these being nicer
and the EAGAIN where just added as example not because they made sense.

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

15 years agoIf a demuxer returns EAGAIN, try another demuxer.
michael [Tue, 3 Mar 2009 19:50:04 +0000 (19:50 +0000)]
If a demuxer returns EAGAIN, try another demuxer.

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

15 years agoMOV: fix crash when 'meta' occurs before first 'trak'
alexc [Tue, 3 Mar 2009 18:19:44 +0000 (18:19 +0000)]
MOV: fix crash when 'meta' occurs before first 'trak'

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

15 years agoRename "fd1" variable ro "fd". There were previously two variables (fd1 and
rbultje [Tue, 3 Mar 2009 17:06:18 +0000 (17:06 +0000)]
Rename "fd1" variable ro "fd". There were previously two variables (fd1 and
fd2) and one was just removed, so naming the other "fd1" is counter-intuitive.
See "[RFC] rtsp.c EOF support" thread.

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

15 years agoAdd url_get_file_handle(), which is used to get the file descriptor
rbultje [Tue, 3 Mar 2009 17:04:51 +0000 (17:04 +0000)]
Add url_get_file_handle(), which is used to get the file descriptor
associated with the I/O handle (e.g. the fd returned by open()). See
"[RFC] rtsp.c EOF support" thread.

There were previously some URI-specific implementations of the same idea,
e.g. rtp_get_file_handles() and udp_get_file_handle(). All of these are
deprecated by this patch and will be removed at the next major API bump.

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

15 years agoReindent after r17777.
rbultje [Tue, 3 Mar 2009 16:53:04 +0000 (16:53 +0000)]
Reindent after r17777.

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