1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00
Commit Graph

8164 Commits

Author SHA1 Message Date
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
Reimar Döffinger
8cb59bce97 Fix _LZO_H vs. LZO_H typo
Originally committed as revision 7732 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-27 14:23:55 +00:00
Reimar Döffinger
cf0ef3dc34 Fix buffer end checks in lzo copy code to work in all cases.
Originally committed as revision 7731 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-27 14:15:03 +00:00
Måns Rullgård
30b9d5f622 nobody uses TARGET_CMOV
Originally committed as revision 7730 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-27 14:11:50 +00:00
Måns Rullgård
7073e9fc69 rename CMOV_IS_FAST to HAVE_FAST_CMOV and simplify configure
Originally committed as revision 7729 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-27 14:10:57 +00:00
Måns Rullgård
1ac9331a8f simplify setting of TARGET_* variables
Originally committed as revision 7728 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-27 14:02:10 +00:00
Reimar Döffinger
266aa26c52 Add lzo test code
Originally committed as revision 7727 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-27 13:48:27 +00:00
Luca Barbato
994fd8500d Fix warnings and simplify/reorder the code
Originally committed as revision 7726 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-27 12:35:12 +00:00
Michael Niedermayer
de3ae9596b stealing a few field names from mplayers asf demuxer
Originally committed as revision 7725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-27 12:07:16 +00:00
Ramiro Polla
c839db53f7 Change occurences of 'test $foo != "no"' to 'enabled foo' for
values which can only be set to "no" or "yes".
patch by Ramiro Polla, ramiro lisha.ufsc br

Originally committed as revision 7724 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-27 07:59:43 +00:00
Ramiro Polla
9a46fe7509 Change one occurence of 'test $foo = yes -o test $bar = yes' to
'enabled_any foo bar', and one occurence of
'test $foo = yes && test $bar = yes' to 'enabled_all foo bar'.
patch by Ramiro Polla, ramiro lisha.ufsc br

Originally committed as revision 7723 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-27 07:58:21 +00:00
Ramiro Polla
90be59ef95 Change all straight 'test $foo = "yes"' to 'enabled foo'.
patch by Ramiro Polla, ramiro lisha.ufsc br

Originally committed as revision 7722 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-27 07:54:52 +00:00
Michel Bardiaux
76ebb18f16 Segregate code common to BMP decoder and future encoder
patch by Michel Bardiaux, mbardiaux mediaxim be

Originally committed as revision 7721 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-27 07:39:16 +00:00
Kostya Shishkov
74fd63d009 Set aspect ratio if present (for AP only)
Originally committed as revision 7720 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-27 06:57:11 +00:00