platform/upstream/libav.git
16 years agobegining -> beginning typo fix
Reimar Döffinger [Sun, 23 Dec 2007 18:08:00 +0000 (18:08 +0000)]
begining -> beginning typo fix

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

16 years ago10l do not load after the buffer...
Luca Barbato [Sun, 23 Dec 2007 15:54:21 +0000 (15:54 +0000)]
10l do not load after the buffer...

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

16 years ago100l, av_read_packet must check for read_packet error, in case of
Reimar Döffinger [Sun, 23 Dec 2007 13:16:55 +0000 (13:16 +0000)]
100l, av_read_packet must check for read_packet error, in case of
error pkt->stream_index could be invalid and must not be used.
Fixes a crash with http://www.cs.berkeley.edu/~dmolnar/2-snippet3.wav

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

16 years agoAdd C/B == 0 cases, 2% slower on CELL but should address Issue299 eventually
Luca Barbato [Sat, 22 Dec 2007 23:10:02 +0000 (23:10 +0000)]
Add C/B == 0 cases, 2% slower on CELL but should address Issue299 eventually

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

16 years agoAdd a av_alloc_put_byte function.
Reimar Döffinger [Sat, 22 Dec 2007 16:18:07 +0000 (16:18 +0000)]
Add a av_alloc_put_byte function.
The name is in analogy to init_put_byte, but I would not mind it
being changed to something better.

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

16 years agoReindent
Luca Barbato [Sat, 22 Dec 2007 15:39:32 +0000 (15:39 +0000)]
Reindent

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

16 years agoPartially address issue299, no performance change apparently
Luca Barbato [Sat, 22 Dec 2007 15:17:46 +0000 (15:17 +0000)]
Partially address issue299, no performance change apparently

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

16 years agoAvoid a vec_add, directly start with sum
Luca Barbato [Sat, 22 Dec 2007 03:39:53 +0000 (03:39 +0000)]
Avoid a vec_add, directly start with sum

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

16 years agoReindent
Luca Barbato [Sat, 22 Dec 2007 02:53:36 +0000 (02:53 +0000)]
Reindent

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

16 years agoFactorize common code (almost cosmetic)
Luca Barbato [Sat, 22 Dec 2007 02:46:32 +0000 (02:46 +0000)]
Factorize common code (almost cosmetic)

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

16 years agoCosmetics
Luca Barbato [Sat, 22 Dec 2007 02:35:33 +0000 (02:35 +0000)]
Cosmetics

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

16 years agoadd MMX version for put_no_rnd_h264_chroma_mc8_c, used in VC-1 decoding.
Christophe Gisquet [Fri, 21 Dec 2007 23:11:22 +0000 (23:11 +0000)]
add MMX version for put_no_rnd_h264_chroma_mc8_c, used in VC-1 decoding.
patch by Christophe GISQUET %christophe P gisquet A free P fr%
original thread:
date: Nov 25, 2007 12:35 AM
subject: Re: [FFmpeg-devel] MMX version for put_no_rnd_h264_chroma_mc8_c

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

16 years agoclosed/needs_more_info state
Michael Niedermayer [Fri, 21 Dec 2007 22:03:14 +0000 (22:03 +0000)]
closed/needs_more_info state

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

16 years agoFix typo in macro name: WARPER8_16_SQ --> WRAPPER8_16_SQ.
Diego Biurrun [Fri, 21 Dec 2007 12:38:41 +0000 (12:38 +0000)]
Fix typo in macro name: WARPER8_16_SQ --> WRAPPER8_16_SQ.

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

16 years agoFix Doxygen function parameter name.
Diego Biurrun [Fri, 21 Dec 2007 11:51:39 +0000 (11:51 +0000)]
Fix Doxygen function parameter name.

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

16 years agocomment typo fixes
Diego Biurrun [Fri, 21 Dec 2007 11:50:18 +0000 (11:50 +0000)]
comment typo fixes

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

16 years agocomment typo fixes
Diego Biurrun [Fri, 21 Dec 2007 11:47:09 +0000 (11:47 +0000)]
comment typo fixes

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

16 years agoFix "suggest parentheses around assignment used as truth value" warnings.
Diego Biurrun [Fri, 21 Dec 2007 11:36:04 +0000 (11:36 +0000)]
Fix "suggest parentheses around assignment used as truth value" warnings.

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

16 years agoMore consistent { placement.
Michael Niedermayer [Fri, 21 Dec 2007 10:20:10 +0000 (10:20 +0000)]
More consistent { placement.

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

16 years agoindent
Michael Niedermayer [Fri, 21 Dec 2007 10:17:25 +0000 (10:17 +0000)]
indent

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

16 years ago~15% faster h264_chroma_mc2/4_c() these also prevent some possible out
Michael Niedermayer [Fri, 21 Dec 2007 10:16:22 +0000 (10:16 +0000)]
~15% faster h264_chroma_mc2/4_c() these also prevent some possible out
of array reads.

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

16 years agoreset manually selected codecs at the end of opt_input_file, to avoid propagating...
Baptiste Coudurier [Fri, 21 Dec 2007 10:08:43 +0000 (10:08 +0000)]
reset manually selected codecs at the end of opt_input_file, to avoid propagating selection to output file

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

16 years ago30% faster h264_chroma_mc8_c(), this also prevents a possible out of
Michael Niedermayer [Fri, 21 Dec 2007 10:01:04 +0000 (10:01 +0000)]
30% faster h264_chroma_mc8_c(), this also prevents a possible out of
array read.

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

16 years agotypo ;)
Ivo van Poorten [Fri, 21 Dec 2007 00:22:40 +0000 (00:22 +0000)]
typo ;)

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

16 years agoDocument ByteIOContext and URLContext change rules.
Michael Niedermayer [Thu, 20 Dec 2007 22:33:53 +0000 (22:33 +0000)]
Document ByteIOContext and URLContext change rules.

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

16 years agoReindent
Benjamin Larsson [Thu, 20 Dec 2007 11:22:39 +0000 (11:22 +0000)]
Reindent

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

16 years agoCorrectly handle FLV_CODECID_NELLYMOSER_8HZ_MONO files
Benjamin Larsson [Thu, 20 Dec 2007 11:21:10 +0000 (11:21 +0000)]
Correctly handle FLV_CODECID_NELLYMOSER_8HZ_MONO files

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

16 years agoMake sure strides have positive values before converting.
Peter Schlaile [Thu, 20 Dec 2007 10:08:36 +0000 (10:08 +0000)]
Make sure strides have positive values before converting.
Patch by Peter Schlaile: peter schlaile de

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

16 years agoDocument a few more structure change rules with relation to ABI/API.
Michael Niedermayer [Thu, 20 Dec 2007 09:59:07 +0000 (09:59 +0000)]
Document a few more structure change rules with relation to ABI/API.

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

16 years agofix indentation
Baptiste Coudurier [Thu, 20 Dec 2007 09:51:11 +0000 (09:51 +0000)]
fix indentation

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

16 years agoDocument structure change rules with relation to ABI/API.
Michael Niedermayer [Thu, 20 Dec 2007 09:43:01 +0000 (09:43 +0000)]
Document structure change rules with relation to ABI/API.

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

16 years agoAdd option for user to scale the amount of dynamic range compression which is
Justin Ruggles [Thu, 20 Dec 2007 00:55:08 +0000 (00:55 +0000)]
Add option for user to scale the amount of dynamic range compression which is
applied by the audio decoder, and use that option in the AC3 decoder.

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

16 years agocosmetics: indentation
Aurelien Jacobs [Thu, 20 Dec 2007 00:26:53 +0000 (00:26 +0000)]
cosmetics: indentation

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

16 years agoremove double check of pb->read_seek
Aurelien Jacobs [Thu, 20 Dec 2007 00:25:18 +0000 (00:25 +0000)]
remove double check of pb->read_seek

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

16 years agopb->buf_end is already set by url_open_buf()
Aurelien Jacobs [Wed, 19 Dec 2007 23:29:26 +0000 (23:29 +0000)]
pb->buf_end is already set by url_open_buf()

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

16 years agouse proper url_is_streamed() API
Aurelien Jacobs [Wed, 19 Dec 2007 23:26:18 +0000 (23:26 +0000)]
use proper url_is_streamed() API
instead of messing with ByteIOContext internal is_streamed field

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

16 years agoFix problem with multithreaded decoding, introduced by r11214.
Reinhard Nissl [Wed, 19 Dec 2007 23:03:52 +0000 (23:03 +0000)]
Fix problem with multithreaded decoding, introduced by r11214.
Patch by Reinhard Nissl: rnissl gmx de

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

16 years agoMake recently added and still unused read_seek functions return offset_t.
Michael Niedermayer [Wed, 19 Dec 2007 21:11:08 +0000 (21:11 +0000)]
Make recently added and still unused read_seek functions return offset_t.

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

16 years agoMerge recently added and still unused play and pause functions.
Michael Niedermayer [Wed, 19 Dec 2007 20:57:13 +0000 (20:57 +0000)]
Merge recently added and still unused play and pause functions.

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

16 years agouse generic 'glbl' atom if extradata is present but no specific method is known
Baptiste Coudurier [Wed, 19 Dec 2007 16:00:08 +0000 (16:00 +0000)]
use generic 'glbl' atom if extradata is present but no specific method is known

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

16 years agosupports glbl atom containing generic extradata for all codecs
Baptiste Coudurier [Wed, 19 Dec 2007 15:39:10 +0000 (15:39 +0000)]
supports glbl atom containing generic extradata for all codecs

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

16 years agoIncrease minor version due to new av_close_input_stream
Reimar Döffinger [Wed, 19 Dec 2007 14:09:54 +0000 (14:09 +0000)]
Increase minor version due to new av_close_input_stream

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

16 years agoAdd a av_close_input_stream function
Reimar Döffinger [Wed, 19 Dec 2007 14:07:13 +0000 (14:07 +0000)]
Add a av_close_input_stream function

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

16 years agoRemove dead code which disappeared with the last major version bump.
Michael Niedermayer [Wed, 19 Dec 2007 11:31:36 +0000 (11:31 +0000)]
Remove dead code which disappeared with the last major version bump.

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

16 years agoRemove *_codec_id from AVFormatParameters with the next major version bump.
Michael Niedermayer [Wed, 19 Dec 2007 10:58:54 +0000 (10:58 +0000)]
Remove *_codec_id from AVFormatParameters with the next major version bump.
AVFormatParameters is never available when needed and is an annoying mess.

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

16 years agoAllow overriding codec_ids.
Michael Niedermayer [Wed, 19 Dec 2007 10:56:17 +0000 (10:56 +0000)]
Allow overriding codec_ids.

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

16 years agocosmetics: Sort some more entries.
Diego Biurrun [Wed, 19 Dec 2007 08:14:21 +0000 (08:14 +0000)]
cosmetics: Sort some more entries.

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

16 years agoRemove unneeded avio wrapper functions.
Michael Niedermayer [Wed, 19 Dec 2007 02:33:47 +0000 (02:33 +0000)]
Remove unneeded avio wrapper functions.

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

16 years agoA little more doxygenization.
Michael Niedermayer [Tue, 18 Dec 2007 19:40:57 +0000 (19:40 +0000)]
A little more doxygenization.

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

16 years agoDocument Motion_Est_IDs.
Michael Niedermayer [Tue, 18 Dec 2007 19:40:08 +0000 (19:40 +0000)]
Document Motion_Est_IDs.

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

16 years agoRemove old variable with the next major version bump.
Michael Niedermayer [Tue, 18 Dec 2007 14:51:55 +0000 (14:51 +0000)]
Remove old variable with the next major version bump.

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

16 years agoadd bitrate helper to choose all dnxhd variants
Baptiste Coudurier [Tue, 18 Dec 2007 13:52:07 +0000 (13:52 +0000)]
add bitrate helper to choose all dnxhd variants

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

16 years agoavoid infinite loop if pixel format conversion does not exist
Baptiste Coudurier [Tue, 18 Dec 2007 13:49:58 +0000 (13:49 +0000)]
avoid infinite loop if pixel format conversion does not exist

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

16 years agodv1394 depends on dv_demuxer, fixes linking with demuxers disabled.
Diego Biurrun [Mon, 17 Dec 2007 19:30:04 +0000 (19:30 +0000)]
dv1394 depends on dv_demuxer, fixes linking with demuxers disabled.
patch by Aurel

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

16 years agoanother comment ->doxy
Michael Niedermayer [Mon, 17 Dec 2007 19:29:13 +0000 (19:29 +0000)]
another comment ->doxy

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

16 years agoME default does not belong to the ME type enum.
Michael Niedermayer [Mon, 17 Dec 2007 19:26:11 +0000 (19:26 +0000)]
ME default does not belong to the ME type enum.

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

16 years agochange some normal comments to doxy ones
Michael Niedermayer [Mon, 17 Dec 2007 19:25:13 +0000 (19:25 +0000)]
change some normal comments to doxy ones

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

16 years agoSimplify av_close_input_file similarly to av_open_input_file previously
Reimar Döffinger [Mon, 17 Dec 2007 19:12:43 +0000 (19:12 +0000)]
Simplify av_close_input_file similarly to av_open_input_file previously

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

16 years agoSimplify av_open_input_file
Reimar Döffinger [Mon, 17 Dec 2007 19:08:17 +0000 (19:08 +0000)]
Simplify av_open_input_file

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

16 years agoCorrect spatial prediction mode in RV30/40 for vertical left direction
Kostya Shishkov [Mon, 17 Dec 2007 18:43:34 +0000 (18:43 +0000)]
Correct spatial prediction mode in RV30/40 for vertical left direction
and add its version that does not rely on down left neighbour subblock.

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

16 years agoclarify FIXME
Michael Niedermayer [Mon, 17 Dec 2007 18:23:18 +0000 (18:23 +0000)]
clarify FIXME

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

16 years agoAdd FF_OPT_TYPE_BINARY and use it to add a cryptokey option
Reimar Döffinger [Mon, 17 Dec 2007 17:41:24 +0000 (17:41 +0000)]
Add FF_OPT_TYPE_BINARY and use it to add a cryptokey option

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

16 years agoFix crash in PCM decoder when number of channels is not set.
wg [Mon, 17 Dec 2007 10:41:47 +0000 (10:41 +0000)]
Fix crash in PCM decoder when number of channels is not set.
Patch by "wg": video06 malloc de
See Issue298

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

16 years agoEnable av_read_pause(), av_read_play() and the ASF demuxer's av_read_seek()
Björn Axelsson [Mon, 17 Dec 2007 09:28:46 +0000 (09:28 +0000)]
Enable av_read_pause(), av_read_play() and the ASF demuxer's av_read_seek()
to use the protocol-native functionality if available.
Patch by Björn Axelsson: bjorn point axelsson at intinor dot se
Original thread: [FFmpeg-devel] [PATCH][4/4] Enable use of the extended API
Date: Thu Nov 22 16:01:06 CET 2007

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

16 years agoRemove unnecessary system include path from pkg-config files.
Diego Biurrun [Mon, 17 Dec 2007 09:16:40 +0000 (09:16 +0000)]
Remove unnecessary system include path from pkg-config files.

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

16 years agoSkip dialog normalization. It shouldn't be used by the decoder, and there is
Justin Ruggles [Mon, 17 Dec 2007 01:09:00 +0000 (01:09 +0000)]
Skip dialog normalization. It shouldn't be used by the decoder, and there is
not currently a clean way to pass the value to the user.

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

16 years agoRevert commit made in revision 11228. I'm getting some strange results in the
Justin Ruggles [Mon, 17 Dec 2007 01:03:19 +0000 (01:03 +0000)]
Revert commit made in revision 11228. I'm getting some strange results in the
downmixed output that I can't quite figure out.

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

16 years agomove FLAC mmx dsp to its own file
Aurelien Jacobs [Sun, 16 Dec 2007 22:20:47 +0000 (22:20 +0000)]
move FLAC mmx dsp to its own file

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

16 years agouseless 0L here
Baptiste Coudurier [Sun, 16 Dec 2007 18:51:00 +0000 (18:51 +0000)]
useless 0L here

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

16 years agoremove now useless fields
Baptiste Coudurier [Sun, 16 Dec 2007 18:46:57 +0000 (18:46 +0000)]
remove now useless fields

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

16 years agodo not retain useless pointers to avstream priv_data, use it directly
Baptiste Coudurier [Sun, 16 Dec 2007 18:45:48 +0000 (18:45 +0000)]
do not retain useless pointers to avstream priv_data, use it directly

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

16 years agoremove duplicate field
Baptiste Coudurier [Sun, 16 Dec 2007 18:30:45 +0000 (18:30 +0000)]
remove duplicate field

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

16 years agocosmetics: func -> parse, remove useless parenthesis
Baptiste Coudurier [Sun, 16 Dec 2007 18:26:34 +0000 (18:26 +0000)]
cosmetics: func -> parse, remove useless parenthesis

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

16 years agoremove useless declaration
Baptiste Coudurier [Sun, 16 Dec 2007 18:24:32 +0000 (18:24 +0000)]
remove useless declaration

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

16 years agosave pointer to parse table, it is unlikely to change
Baptiste Coudurier [Sun, 16 Dec 2007 18:20:27 +0000 (18:20 +0000)]
save pointer to parse table, it is unlikely to change

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

16 years agoremove useless seek
Baptiste Coudurier [Sun, 16 Dec 2007 18:10:52 +0000 (18:10 +0000)]
remove useless seek

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

16 years agocosmetics
Baptiste Coudurier [Sun, 16 Dec 2007 18:10:18 +0000 (18:10 +0000)]
cosmetics

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

16 years agosupport streamed mov/mp4
Baptiste Coudurier [Sun, 16 Dec 2007 18:08:06 +0000 (18:08 +0000)]
support streamed mov/mp4

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

16 years agoreturn error when url_fseek could not read until desired offset in streamed mode
Baptiste Coudurier [Sun, 16 Dec 2007 17:52:46 +0000 (17:52 +0000)]
return error when url_fseek could not read until desired offset in streamed mode

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

16 years agocosmetics: comment typo fixes
Diego Biurrun [Sun, 16 Dec 2007 17:22:09 +0000 (17:22 +0000)]
cosmetics: comment typo fixes

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

16 years agoMake strict altivec parsers happy (gcc-4.3 and others)
Luca Barbato [Sun, 16 Dec 2007 14:31:38 +0000 (14:31 +0000)]
Make strict altivec parsers happy (gcc-4.3 and others)

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

16 years agoRV40 decoder should use availability cache
Kostya Shishkov [Sun, 16 Dec 2007 12:45:38 +0000 (12:45 +0000)]
RV40 decoder should use availability cache

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

16 years agoRV30/40 decoding core
Kostya Shishkov [Sun, 16 Dec 2007 12:44:25 +0000 (12:44 +0000)]
RV30/40 decoding core

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

16 years agodownmix before the IMDCT if no block switching is used
Justin Ruggles [Sun, 16 Dec 2007 04:25:50 +0000 (04:25 +0000)]
downmix before the IMDCT if no block switching is used

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

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