Michael Niedermayer
960e48f8f0
another >> vs >
...
Originally committed as revision 7779 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-31 10:48:08 +00:00
Michael Niedermayer
bf47272f3c
simpify state and make code 2% faster
...
reimar, dont hesitate to flame me for not sending patches and feel free to revert any or all of my changes to lzo.c if you dont like them
Originally committed as revision 7778 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-31 10:34:13 +00:00
Reimar Döffinger
5fe9c42ceb
Add two extra needed bounds checks
...
Originally committed as revision 7777 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-31 10:29:58 +00:00
Michael Niedermayer
801778bc83
replace if(x>>b) by if(x>C) as shifts are slow on some cpus and i have my doubts that gcc can replace the shifts as x is signed, it could in theory but well its gcc ...
...
Originally committed as revision 7776 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-31 10:07:22 +00:00
Reimar Döffinger
d62a0c1e5d
Add code to testcode to ease comparing with liblzo.
...
Originally committed as revision 7775 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-31 09:37:02 +00:00
Michel Bardiaux
f0ee3ea619
Add some context to av_log calls.
...
patch by Michel Bardiaux, mbardiaux mediaxim be
Originally committed as revision 7774 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-31 08:29:24 +00:00
Michel Bardiaux
e96cc09dd2
Make BMP decoder use bytestream. Patch by Michel Bardiaux
...
mbardiaux mediaxim dot be.
Originally committed as revision 7773 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-31 00:34:56 +00:00
Diego Biurrun
31235134fd
slightly reformat --help output for ease of understanding
...
Originally committed as revision 7772 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-30 22:51:05 +00:00
Diego Biurrun
b44d58e61e
Clarify usage of external libs whose functionality exists natively.
...
Originally committed as revision 7771 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-30 22:12:02 +00:00
Diego Biurrun
ba5fd8c5df
Clarify that libogg is for muxing only.
...
Originally committed as revision 7770 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-30 22:05:21 +00:00
Diego Biurrun
71757822ac
Clarify --help output about Vorbis and Theora.
...
Originally committed as revision 7769 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-30 21:57:26 +00:00
Panagiotis Issaris
eabf65608d
Remove the getbe16 functions and use the AV_RB16 macro instead. Patch by Ian
...
Caulfield, ian dot caulfield gmail dot com.
Originally committed as revision 7768 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-30 14:24:12 +00:00
Ian Caulfield
4ee97612c7
Fix a bug in the DVD subtitle decoder where subtitles with odd heights would not
...
have the last line decoded, leaving the bottom line of the bitmap array
uninitialised. Patch by Ian Caulfield, ian dot caulfield gmail dot com.
Originally committed as revision 7767 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-30 14:19:43 +00:00
Ronald S. Bultje
68fcdbf1e5
Fix misbehaviour in url_fseek() when seeking fails.
...
The return value of the seek function is -1 on error, not -EPIPE (the return value in url_seek() if no seek function pointer is set)
Patch by Ronald S. Bultje % rbultje A ronald P bitfreak P net %
Original thread:
date: Dec 31, 2006 9:25 PM
subject: [Ffmpeg-devel] Re: [PATCH] file length handling
Originally committed as revision 7766 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-30 10:48:39 +00:00
Ronald S. Bultje
eabbae730c
protect the size=seek(SEEK_END,-1)+1 results with an if (.. < 0), else the
...
return value may still end up being zero (if the seek returns -1, which is
e.g. what file.c will return on error), which is a valid (but incorrect)
filesize.
Patch by Ronald S. Bultje % rbultje A ronald P bitfreak P net %
Original thread:
date: Jan 2, 2007 2:11 AM
subject: [Ffmpeg-devel] Re: [PATCH] file length handling
Originally committed as revision 7765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-30 10:37:52 +00:00
Panagiotis Issaris
9dd6c80453
Add the const specifier as needed to reduce the number of warnings.
...
Originally committed as revision 7764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-30 10:31:34 +00:00
Måns Rullgård
204ce38f53
typo fix by Dmitry Antipov dmantipov =a= yandex =d= ru
...
Originally committed as revision 7763 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-29 22:27:27 +00:00
Måns Rullgård
34b1b8fda8
theoretically save one cycle
...
Originally committed as revision 7762 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-29 22:25:54 +00:00
Michael Niedermayer
ac50bcc834
trigger for the audio scope vissualization
...
Originally committed as revision 7761 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-29 22:06:55 +00:00
Luca Barbato
a58b82f874
Missing prototype added
...
Originally committed as revision 7760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-29 15:02:57 +00:00
Michael Niedermayer
f8f0a0bdfd
fix seeking in wma
...
Originally committed as revision 7759 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-29 14:54:55 +00:00
Kostya Shishkov
b024824bed
Fix BI-frames decoding for Adv. profile
...
Originally committed as revision 7758 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-29 14:23:00 +00:00
Michel Bardiaux
d8b7b352a8
Fix segfault in bmp decoder. Patch by Michel Bardiaux mbardiaux mediaxim dot be.
...
Originally committed as revision 7757 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-29 14:07:12 +00:00
Benjamin Larsson
753c9d3260
Check that js_vlc_bits from the extradata is in a valid range.
...
Originally committed as revision 7756 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-29 10:42:36 +00:00
Benjamin Larsson
862be28b19
Get rid of the COOKextradata struct. And use valid C to parse the extradata.
...
Originally committed as revision 7755 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-29 10:32:14 +00:00
Benjamin Larsson
6e584be16c
Kill a warning and don't use modulus.
...
Originally committed as revision 7754 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-29 08:58:03 +00:00
Benjamin Larsson
a5b8a69c70
decode_subpacket cleanup by Ian Braithwaite ian braithwaite dot dk.
...
Originally committed as revision 7753 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-29 08:37:22 +00:00
Måns Rullgård
7d42886b93
ARMv6 SIMD IDCT
...
Originally committed as revision 7752 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-28 21:32:08 +00:00
Luca Barbato
94d122e96e
stray fflush spotted by Aurel
...
Originally committed as revision 22051 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-01-28 20:38:35 +00:00
Luca Barbato
66e9de3891
Make example and test build and link correctly
...
Originally committed as revision 22048 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-01-28 17:52:59 +00:00
Luca Barbato
da095a23a1
av_logify
...
Originally committed as revision 22047 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-01-28 17:51:41 +00:00
Diego Biurrun
797ee6a6c7
simplify condition
...
Originally committed as revision 7751 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-28 17:29:32 +00:00
Kostya Shishkov
49561f992e
Seeking support in WavPack
...
Originally committed as revision 7750 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-28 17:23:28 +00:00
Diego Biurrun
1658bc4f96
Use a function for repeated AltiVec output and condition check.
...
Originally committed as revision 7749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-28 16:54:58 +00:00
Diego Biurrun
d7a9562415
Fix wrong condition check in the memalign error output.
...
Originally committed as revision 7748 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-28 16:50:05 +00:00
Reimar Döffinger
a737f1dfdb
LZO optimization: check input buffer bounds less frequently if padded
...
Originally committed as revision 7747 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-28 16:49:51 +00:00
Diego Biurrun
910c62e1fc
spelling and formatting cosmetics
...
Originally committed as revision 7746 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-28 16:37:40 +00:00
Diego Biurrun
e3c00e34f0
Use ! disabled() where appropriate.
...
Originally committed as revision 7745 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-28 16:34:47 +00:00
Diego Biurrun
47f9cc15cc
Use disabled() to check for GPL.
...
Originally committed as revision 7744 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-28 16:28:03 +00:00
Diego Biurrun
ec5527c516
Make use of enabled_any().
...
Originally committed as revision 7743 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-28 16:22:07 +00:00
Diego Biurrun
2f7e6782f4
Make use of disabled(), disabled_all() and enabled_all().
...
Originally committed as revision 7742 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-28 16:20:11 +00:00
Diego Biurrun
85bca2c528
Add disabled_any() and disabled_all() functions.
...
Originally committed as revision 7741 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-28 16:16:49 +00:00
Ramiro Polla
37970ebfbf
Add disabled() function and make use of it.
...
patch by Ramiro Polla, ramiro lisha.ufsc br
Originally committed as revision 7740 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-28 16:04:55 +00:00
Benjamin Larsson
d7973906de
Sort out the diffrent cook versions.
...
Originally committed as revision 7739 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-28 10:17:48 +00:00
Benjamin Larsson
70ab75eb6a
Cook stereo (MONO_COOK2) bugfix, by Ian Braithwaite.
...
ian at braithwaite dot dk.
Originally committed as revision 7738 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-28 10:05:21 +00:00
François Revol
66d49636c7
an alloc func failing should give ENOMEM anyway.
...
Originally committed as revision 7737 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-28 09:07:49 +00:00
Ronald S. Bultje
8f42f5238e
proper error handling in file size retrieval, patch by Ronald S. Bultje rbultje at ronald bitfreak net
...
Originally committed as revision 7736 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-28 02:38:02 +00:00
Benjamin Larsson
b3203b64c6
Get rid of one warning.
...
Originally committed as revision 7735 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-27 17:30:54 +00:00
Luca Barbato
fe70f25c58
Simplify and avoid a warning (should be faster on Cell and certain G4 revisions)
...
Originally committed as revision 7734 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-27 15:09:34 +00:00
Kostya Shishkov
4b3b5a2337
Coded residual in WavPack may be > 0xFFFF
...
Originally committed as revision 7733 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-27 14:24:40 +00:00