platform/upstream/libav.git
16 years agoAdd 'l' suffix where it is necessary because type can not always be
Reimar Döffinger [Sat, 15 Dec 2007 23:08:15 +0000 (23:08 +0000)]
Add 'l' suffix where it is necessary because type can not always be
inferred from arguments. Fixes compilation with Intel compiler

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

16 years agochoose next sample by sample position
Baptiste Coudurier [Sat, 15 Dec 2007 19:08:42 +0000 (19:08 +0000)]
choose next sample by sample position
when streams' next dts difference is below AV_TIME_BASE,
to reduce seeking, needed for slow underlying protocols (http),
a slightly modified patch from elupus, elupus at ecce dot se

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

16 years agodocument how to free the result of av_alloc_format_context()
Michael Niedermayer [Sat, 15 Dec 2007 16:54:58 +0000 (16:54 +0000)]
document how to free the result of av_alloc_format_context()

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

16 years agoAdd missing '\n' to log format text
Andreas Öman [Sat, 15 Dec 2007 10:03:49 +0000 (10:03 +0000)]
Add missing '\n' to log format text

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

16 years agoSDL does not seem to support more than two channels.
Andreas Öman [Sat, 15 Dec 2007 07:05:14 +0000 (07:05 +0000)]
SDL does not seem to support more than two channels.
So, if this is the case, ask for downmixing by the codec.

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

16 years agoNotify the input coder about the number of requested channels.
Andreas Öman [Sat, 15 Dec 2007 07:04:17 +0000 (07:04 +0000)]
Notify the input coder about the number of requested channels.
If the decoder does not fulfill our request, try using lavf's audio_resample().
If that also fails, bail out.

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

16 years agoMake DCA decoder honor avctx->request_channels in a more advisory way.
Andreas Öman [Sat, 15 Dec 2007 07:01:33 +0000 (07:01 +0000)]
Make DCA decoder honor avctx->request_channels in a more advisory way.

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

16 years agoMake AC3 decoder honor avctx->request_channels
Andreas Öman [Sat, 15 Dec 2007 07:00:19 +0000 (07:00 +0000)]
Make AC3 decoder honor avctx->request_channels

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

16 years agoMake fill_rectangle() available for other decoders
Kostya Shishkov [Sat, 15 Dec 2007 06:06:16 +0000 (06:06 +0000)]
Make fill_rectangle() available for other decoders

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

16 years agoFix brain-dead parts of r11216, specifically:
Jeff Downs [Fri, 14 Dec 2007 22:49:30 +0000 (22:49 +0000)]
Fix brain-dead parts of r11216, specifically:
Actually unreference removed pics
And check for too many reference frames as originally intended, not equal
to max reference frames.

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

16 years agoBenjamin expressed the wish to be DCA maintainer too
Kostya Shishkov [Fri, 14 Dec 2007 09:22:27 +0000 (09:22 +0000)]
Benjamin expressed the wish to be DCA maintainer too

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

16 years agoEnsure that our total reference frame count does not exceed the SPS
Jeff Downs [Fri, 14 Dec 2007 06:25:23 +0000 (06:25 +0000)]
Ensure that our total reference frame count does not exceed the SPS
max frame count, which is limited to less than the size of the
reference buffers, thereby preventing overflow.
Part of fix for issue 281.

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

16 years agoActually return with an error condition if we're being asked to deal with too
Jeff Downs [Fri, 14 Dec 2007 05:48:27 +0000 (05:48 +0000)]
Actually return with an error condition if we're being asked to deal with too
many reference frames. Also check max num ref frames against our internal
ref buffer sizes.
Part of fix for roundup issue 281

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

16 years agoMake h264 decoder conform to requirements of mpegvideo's MPV_frame_start.
Jeff Downs [Fri, 14 Dec 2007 05:37:23 +0000 (05:37 +0000)]
Make h264 decoder conform to requirements of mpegvideo's MPV_frame_start.
Namely, that it should not be called if you are starting to decode a B
frame without any reference pictures.
Prevents an endless allocation cycle in MPV_frame_start that will end in
picture buffer overflow and abort.
Fixes roundup issue 216.

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

16 years agoAdd a missing break, before av_set_number would always return NULL for
Reimar Döffinger [Thu, 13 Dec 2007 19:00:53 +0000 (19:00 +0000)]
Add a missing break, before av_set_number would always return NULL for
FF_OPT_TYPE_RATIONAL options instead of the corresponding AVOption

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

16 years agoFix non_zero_count_cache for deblocking in field pictures.
Jeff Downs [Thu, 13 Dec 2007 00:50:47 +0000 (00:50 +0000)]
Fix non_zero_count_cache for deblocking in field pictures.

Based on original patch by Martin Zlomek martin.zlomek a email D cz
ffmpeg-devel thread: H264: Fix non_zero_count_cache for deblocking in fields
Fri, 30 Nov 2007 9:58:23

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

16 years agoadd required include to make this file self-contained
Aurelien Jacobs [Wed, 12 Dec 2007 22:45:03 +0000 (22:45 +0000)]
add required include to make this file self-contained

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

16 years agoRevert r11202: do not create copy relocations when linking to shared libs
Måns Rullgård [Wed, 12 Dec 2007 21:51:52 +0000 (21:51 +0000)]
Revert r11202: do not create copy relocations when linking to shared libs

This caused more problems than it solved and is no longer required.

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

16 years agouse av_log_get/set_level()
Måns Rullgård [Wed, 12 Dec 2007 21:48:50 +0000 (21:48 +0000)]
use av_log_get/set_level()

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

16 years agokill a warning, av_sha1_update accepts uint8_t * not uint64_t *
Luca Barbato [Wed, 12 Dec 2007 21:03:11 +0000 (21:03 +0000)]
kill a warning, av_sha1_update accepts uint8_t * not uint64_t *

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

16 years agoProvide sha1 to outside applications
Luca Barbato [Wed, 12 Dec 2007 20:58:41 +0000 (20:58 +0000)]
Provide sha1 to outside applications
Patch from Diego Pettenò flameeyesATgmailDOTcom

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

16 years agoav_*_next() API for libavformat
Michael Niedermayer [Wed, 12 Dec 2007 19:01:58 +0000 (19:01 +0000)]
av_*_next() API for libavformat

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

16 years agoavoid using first_avcodec
Michael Niedermayer [Wed, 12 Dec 2007 18:47:58 +0000 (18:47 +0000)]
avoid using first_avcodec

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

16 years agoav_*_next() API for libavcodec
Michael Niedermayer [Wed, 12 Dec 2007 18:40:11 +0000 (18:40 +0000)]
av_*_next() API for libavcodec

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

16 years agoShow which bitstreamfilters were compiled in, similar to the protocols etc
Panagiotis Issaris [Wed, 12 Dec 2007 11:52:27 +0000 (11:52 +0000)]
Show which bitstreamfilters were compiled in, similar to the protocols etc
enumerations.

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

16 years agodo not create copy relocations when linking to shared libs
Måns Rullgård [Tue, 11 Dec 2007 20:02:09 +0000 (20:02 +0000)]
do not create copy relocations when linking to shared libs

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

16 years agotypo/clarification
Diego Biurrun [Tue, 11 Dec 2007 18:47:04 +0000 (18:47 +0000)]
typo/clarification

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

16 years agoFix compilation of os_support.c for MinGW with --disable-network
Tom Harper [Sun, 9 Dec 2007 14:39:01 +0000 (14:39 +0000)]
Fix compilation of os_support.c for MinGW with --disable-network
Patch by Tom Harper <d.thomas.harper <at> gmail.com>

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

16 years agoEnable 4x4 IDCT for FASTTX=0 mode in WMV3
Kostya Shishkov [Sun, 9 Dec 2007 05:55:45 +0000 (05:55 +0000)]
Enable 4x4 IDCT for FASTTX=0 mode in WMV3

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

16 years agoAdd 4x4 IDCT
Kostya Shishkov [Sun, 9 Dec 2007 05:54:59 +0000 (05:54 +0000)]
Add 4x4 IDCT

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

16 years agocosmetics: rename ac3 decoder variables
Justin Ruggles [Sun, 9 Dec 2007 03:28:10 +0000 (03:28 +0000)]
cosmetics: rename ac3 decoder variables

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

16 years agocosmetics: rename common ac3 variables
Justin Ruggles [Sun, 9 Dec 2007 03:27:14 +0000 (03:27 +0000)]
cosmetics: rename common ac3 variables

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

16 years agocosmetics: vertical align after last commit
Justin Ruggles [Sun, 9 Dec 2007 03:25:42 +0000 (03:25 +0000)]
cosmetics: vertical align after last commit

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

16 years agocosmetics: rename ac3 bit allocation variables
Justin Ruggles [Sun, 9 Dec 2007 03:23:04 +0000 (03:23 +0000)]
cosmetics: rename ac3 bit allocation variables

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

16 years agocosmetics: rename ac3 tables
Justin Ruggles [Sun, 9 Dec 2007 03:21:33 +0000 (03:21 +0000)]
cosmetics: rename ac3 tables

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

16 years agoadd ff_ prefix to all simple_idct symbols
Aurelien Jacobs [Sat, 8 Dec 2007 21:21:11 +0000 (21:21 +0000)]
add ff_ prefix to all simple_idct symbols

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

16 years agoReindent after last commit
Kostya Shishkov [Sat, 8 Dec 2007 11:46:09 +0000 (11:46 +0000)]
Reindent after last commit

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

16 years agoUpdate Altivec variant of vc1_inv_trans_8x4
Kostya Shishkov [Sat, 8 Dec 2007 11:45:42 +0000 (11:45 +0000)]
Update Altivec variant of vc1_inv_trans_8x4

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

16 years agoUse IDCT functions when FASTTX=0
Kostya Shishkov [Sat, 8 Dec 2007 10:50:50 +0000 (10:50 +0000)]
Use IDCT functions when FASTTX=0

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

16 years agoSwitch VC-1 decoder to output decoded residual immediately.
Kostya Shishkov [Sat, 8 Dec 2007 10:41:18 +0000 (10:41 +0000)]
Switch VC-1 decoder to output decoded residual immediately.

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

16 years agoRename some tables
Kostya Shishkov [Sat, 8 Dec 2007 09:15:44 +0000 (09:15 +0000)]
Rename some tables

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

16 years agoAdd missing declarations for AltiVec functions, fixes the warnings:
Diego Biurrun [Sat, 8 Dec 2007 04:29:11 +0000 (04:29 +0000)]
Add missing declarations for AltiVec functions, fixes the warnings:
swscale_template.c:1171: warning: implicit declaration of function ‘altivec_yuv2packedX’
swscale.c:1982: warning: implicit declaration of function ‘yuv2rgb_altivec_init_tables’
yuv2rgb.c:652: warning: implicit declaration of function ‘yuv2rgb_init_altivec’

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

16 years agoFix 'make checkheaders' on AltiVec-enabled systems.
Diego Biurrun [Fri, 7 Dec 2007 15:30:12 +0000 (15:30 +0000)]
Fix 'make checkheaders' on AltiVec-enabled systems.

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

16 years agoAdd small OS/2 section with a link to further information.
Dave Yeo [Fri, 7 Dec 2007 08:03:05 +0000 (08:03 +0000)]
Add small OS/2 section with a link to further information.
patch by Dave Yeo, daveryeo telus net

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

16 years agoUse existing function for VLC reading
Kostya Shishkov [Fri, 7 Dec 2007 05:56:07 +0000 (05:56 +0000)]
Use existing function for VLC reading

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

16 years agoCheck decoded dimensions for validity
Kostya Shishkov [Fri, 7 Dec 2007 05:52:27 +0000 (05:52 +0000)]
Check decoded dimensions for validity

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

16 years agoIntra types will be stored in int8_t array
Kostya Shishkov [Fri, 7 Dec 2007 05:50:23 +0000 (05:50 +0000)]
Intra types will be stored in int8_t array

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

16 years agoAdd decoder flags
Kostya Shishkov [Fri, 7 Dec 2007 05:48:34 +0000 (05:48 +0000)]
Add decoder flags

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

16 years agoReplace table with its H.263 counterpart
Kostya Shishkov [Fri, 7 Dec 2007 05:47:24 +0000 (05:47 +0000)]
Replace table with its H.263 counterpart

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

16 years agoRegister myself for future RV30/40 decoder
Kostya Shishkov [Fri, 7 Dec 2007 05:45:12 +0000 (05:45 +0000)]
Register myself for future RV30/40 decoder

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

16 years agoAdd --list-indevs and --list-outdevs command line options.
Diego Biurrun [Thu, 6 Dec 2007 17:53:46 +0000 (17:53 +0000)]
Add --list-indevs and --list-outdevs command line options.

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

16 years agoAdd --disable-devices to --help output.
Diego Biurrun [Thu, 6 Dec 2007 17:52:50 +0000 (17:52 +0000)]
Add --disable-devices to --help output.

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

16 years agoAdd input and output devices to configure output.
Diego Biurrun [Thu, 6 Dec 2007 17:51:59 +0000 (17:51 +0000)]
Add input and output devices to configure output.

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

16 years agoRemove unnecessary quotes.
Diego Biurrun [Thu, 6 Dec 2007 17:34:31 +0000 (17:34 +0000)]
Remove unnecessary quotes.

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

16 years agoUpdate tables for RV40 decoder
Kostya Shishkov [Thu, 6 Dec 2007 17:12:02 +0000 (17:12 +0000)]
Update tables for RV40 decoder

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

16 years agoprevent warnings about functions being possibly unused
Michael Niedermayer [Thu, 6 Dec 2007 08:38:49 +0000 (08:38 +0000)]
prevent warnings about functions being possibly unused

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

16 years agothank you for your efforts to keep my code clean, but i would like to
Michael Niedermayer [Thu, 6 Dec 2007 02:02:41 +0000 (02:02 +0000)]
thank you for your efforts to keep my code clean, but i would like to
keep the functions below as they are usefull for debugging, testing,
experiments and development

revert
r11048 | diego | 2007-11-17 00:15:39 +0100 (Sat, 17 Nov 2007) | 4 lines

Remove unused functions, fixes the warnings:
snow.c:1163: warning: 'spatial_compose53i' defined but not used
snow.c:1313: warning: 'spatial_compose97i' defined but not used

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

16 years agoOS/2 support restored in cleaner form.
Dave Yeo [Wed, 5 Dec 2007 23:15:24 +0000 (23:15 +0000)]
OS/2 support restored in cleaner form.
patch by Dave Yeo, daveryeo telus net

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

16 years agoVerify long_ref_count!=0. Fix issue 281.
Panagiotis Issaris [Wed, 5 Dec 2007 18:02:48 +0000 (18:02 +0000)]
Verify long_ref_count!=0. Fix issue 281.

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

16 years agoFix missing chroma in version 3 STR.
Alexander Strange [Wed, 5 Dec 2007 13:11:18 +0000 (13:11 +0000)]
Fix missing chroma in version 3 STR.
Closes issue 290
Patch by Alexander Strange: astrange ithinksw com

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

16 years agofix decoding of the first frame of gray.mov
Michael Niedermayer [Wed, 5 Dec 2007 11:36:06 +0000 (11:36 +0000)]
fix decoding of the first frame of gray.mov

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

16 years agoInitialize function pointers used by error resilience code before any
Jeff Downs [Wed, 5 Dec 2007 05:24:54 +0000 (05:24 +0000)]
Initialize function pointers used by error resilience code before any
potential error return from decode_slice_header.

Fixes issue 284.

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

16 years agoadjust indentation on latest patch
Mike Melanson [Wed, 5 Dec 2007 04:32:45 +0000 (04:32 +0000)]
adjust indentation on latest patch

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

16 years agoCheck sanity in the palette loading operation. The addresses a potential security...
Mike Melanson [Wed, 5 Dec 2007 04:30:33 +0000 (04:30 +0000)]
Check sanity in the palette loading operation. The addresses a potential security risk in
the MOV/MP4 demuxer.

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

16 years agoTypo
Roberto Togni [Tue, 4 Dec 2007 23:43:01 +0000 (23:43 +0000)]
Typo

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

16 years agouse -Bsymbolic linker flag if supported
Måns Rullgård [Tue, 4 Dec 2007 20:01:41 +0000 (20:01 +0000)]
use -Bsymbolic linker flag if supported

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

16 years agoRV40 decoder specific functions
Kostya Shishkov [Tue, 4 Dec 2007 17:41:46 +0000 (17:41 +0000)]
RV40 decoder specific functions

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

16 years agoreturn error if malloc failed, found by takis, fix issue 286
Baptiste Coudurier [Mon, 3 Dec 2007 22:26:07 +0000 (22:26 +0000)]
return error if malloc failed, found by takis, fix issue 286

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

16 years agocheck mov_read_default return value where appropriate, patch by takis, fix issue 285
Panagiotis Issaris [Mon, 3 Dec 2007 22:22:50 +0000 (22:22 +0000)]
check mov_read_default return value where appropriate, patch by takis, fix issue 285

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

16 years ago4 months of hard development and finally it's done. Closes issue 58. Adpcm_swf regres...
Benjamin Larsson [Mon, 3 Dec 2007 15:35:23 +0000 (15:35 +0000)]
4 months of hard development and finally it's done. Closes issue 58. Adpcm_swf regressions tests.

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

16 years agocolour --> color in variable names
Diego Biurrun [Mon, 3 Dec 2007 13:33:48 +0000 (13:33 +0000)]
colour --> color in variable names

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

16 years agoAdd a --disable-devices flag which disables all muxers and demuxers of
Panagiotis Issaris [Mon, 3 Dec 2007 13:02:26 +0000 (13:02 +0000)]
Add a --disable-devices flag which disables all muxers and demuxers of
libavdevice at once.

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

16 years agocosmetics: comment spelling fixes
Diego Biurrun [Mon, 3 Dec 2007 13:01:53 +0000 (13:01 +0000)]
cosmetics: comment spelling fixes

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

16 years agoFix make checkheaders.
Diego Biurrun [Mon, 3 Dec 2007 12:46:20 +0000 (12:46 +0000)]
Fix make checkheaders.

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

16 years agocosmetics: spelling fixes
Diego Biurrun [Mon, 3 Dec 2007 11:03:16 +0000 (11:03 +0000)]
cosmetics: spelling fixes

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

16 years agofix dnxhd 720p in mov for quicktime player
Baptiste Coudurier [Mon, 3 Dec 2007 10:44:25 +0000 (10:44 +0000)]
fix dnxhd 720p in mov for quicktime player

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

16 years agoadd assert to detect invalid packet_timestamp_start/end
Michael Niedermayer [Mon, 3 Dec 2007 10:24:42 +0000 (10:24 +0000)]
add assert to detect invalid packet_timestamp_start/end
(that is check that the previous fix was sufficient)

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

16 years agocorrect invalid duration
Michael Niedermayer [Mon, 3 Dec 2007 10:23:09 +0000 (10:23 +0000)]
correct invalid duration

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

16 years agoadd const to remove warnings, ffmpeg.c:2892: warning: initialization discards qualifi...
Baptiste Coudurier [Mon, 3 Dec 2007 10:03:32 +0000 (10:03 +0000)]
add const to remove warnings, ffmpeg.c:2892: warning: initialization discards qualifiers from pointer target type

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

16 years agomake rc_buffer_size apply to audio as well
Michael Niedermayer [Mon, 3 Dec 2007 10:02:26 +0000 (10:02 +0000)]
make rc_buffer_size apply to audio as well

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

16 years agomake mpeg-ps probe less happy with random data
Michael Niedermayer [Mon, 3 Dec 2007 09:37:06 +0000 (09:37 +0000)]
make mpeg-ps probe less happy with random data
fixes missdetection of O-MP3-5.mp3

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

16 years agoreturn a slightly larger score if we find more than 500 valid mp3 frames in a row
Michael Niedermayer [Mon, 3 Dec 2007 09:26:44 +0000 (09:26 +0000)]
return a slightly larger score if we find more than 500 valid mp3 frames in a row

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

16 years agoensure that the probe code runs in O(n)
Michael Niedermayer [Mon, 3 Dec 2007 08:27:04 +0000 (08:27 +0000)]
ensure that the probe code runs in O(n)

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

16 years agoRename function to reflect its action
Kostya Shishkov [Mon, 3 Dec 2007 06:59:48 +0000 (06:59 +0000)]
Rename function to reflect its action

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

16 years agoremove arbitrary 4096 limit for probing
Michael Niedermayer [Mon, 3 Dec 2007 04:50:01 +0000 (04:50 +0000)]
remove arbitrary 4096 limit for probing

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

16 years agoprevent O(n^2) execution of ff_mpa_decode_header() for valid mp3 files
Michael Niedermayer [Mon, 3 Dec 2007 04:49:01 +0000 (04:49 +0000)]
prevent O(n^2) execution of ff_mpa_decode_header() for valid mp3 files

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

16 years agoRemove rc_eq-specific code, it is passed by AVOption now.
Michael Niedermayer [Mon, 3 Dec 2007 02:05:31 +0000 (02:05 +0000)]
Remove rc_eq-specific code, it is passed by AVOption now.

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

16 years agoFix non-numeric AVOptions.
Michael Niedermayer [Mon, 3 Dec 2007 01:46:32 +0000 (01:46 +0000)]
Fix non-numeric AVOptions.

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

16 years agosimplify
Michael Niedermayer [Mon, 3 Dec 2007 01:06:00 +0000 (01:06 +0000)]
simplify

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

16 years agomake the AVOption code work with strings instead of crash
Michael Niedermayer [Mon, 3 Dec 2007 01:03:54 +0000 (01:03 +0000)]
make the AVOption code work with strings instead of crash

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

16 years agoMake ff_qt_default_palette_* arrays "static const"
Reimar Döffinger [Sun, 2 Dec 2007 23:27:01 +0000 (23:27 +0000)]
Make ff_qt_default_palette_* arrays "static const"

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

16 years agoSome spelling fixes in comments
Reimar Döffinger [Sun, 2 Dec 2007 22:04:21 +0000 (22:04 +0000)]
Some spelling fixes in comments

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

16 years agoMake ff_mkv_codec_tags array const, it is never written.
Reimar Döffinger [Sun, 2 Dec 2007 21:52:43 +0000 (21:52 +0000)]
Make ff_mkv_codec_tags array const, it is never written.

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

16 years agoUse the correct "const float *" type for variable instead of casting const away.
Reimar Döffinger [Sun, 2 Dec 2007 21:12:43 +0000 (21:12 +0000)]
Use the correct "const float *" type for variable instead of casting const away.

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

16 years agoAdd missing const to last argument of decode_significance_8x8_x86.
Reimar Döffinger [Sun, 2 Dec 2007 21:11:43 +0000 (21:11 +0000)]
Add missing const to last argument of decode_significance_8x8_x86.
Fixes "h264.c:5470: warning: passing argument 4 of 'decode_significance_8x8_x86' discards qualifiers from pointer target type"

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

16 years agoindentation
Baptiste Coudurier [Sun, 2 Dec 2007 19:28:20 +0000 (19:28 +0000)]
indentation

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

16 years agodnxhd 720p encoding and decoding support
Baptiste Coudurier [Sun, 2 Dec 2007 19:27:19 +0000 (19:27 +0000)]
dnxhd 720p encoding and decoding support

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

16 years agocosmetics, encode_variance -> encode_fast
Baptiste Coudurier [Sun, 2 Dec 2007 19:22:38 +0000 (19:22 +0000)]
cosmetics, encode_variance -> encode_fast

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

16 years agofix corner case when qscale 1 bits < frame bits but max bits with worst padding ...
Baptiste Coudurier [Sun, 2 Dec 2007 19:20:46 +0000 (19:20 +0000)]
fix corner case when qscale 1 bits < frame bits but max bits with worst padding > frame bits

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

16 years agoRealVideo 3 decoder functions
Kostya Shishkov [Sun, 2 Dec 2007 18:44:29 +0000 (18:44 +0000)]
RealVideo 3 decoder functions

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