Michael Niedermayer
7c5ea40ca4
100l, someone used FLT_MIN where -FLT_MAX was meant at a few places in the
...
AVOptions array.
Originally committed as revision 14264 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-17 17:42:44 +00:00
Diego Biurrun
8351d2ba75
Replace LDLATEFLAGS hackery by proper LDFLAGS tests.
...
The original reasons for LDLATEFLAGS are lost in the mists of time.
Originally committed as revision 14263 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-17 16:28:48 +00:00
Michael Niedermayer
2615800a27
Try to fix FATE after my time_base simplification change.
...
Originally committed as revision 14262 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-17 14:13:44 +00:00
Diego Biurrun
2ece2e9773
Move up swscale_error target so that regression tests error out immediately.
...
Originally committed as revision 14261 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-17 09:30:48 +00:00
Stefano Sabatini
ef2b64f04c
Free in avcodec_close() avctx->rc_eq. Fix a memory leak.
...
Originally committed as revision 14260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-16 22:10:34 +00:00
Michael Niedermayer
9dff86c672
10000l, revert
...
r14254
Log:
The funny memcpyin svq3 generally has src & dst overlapping, so it
should at least be a memmove().
I was tired, they do not overlap.
Originally committed as revision 14259 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-16 17:54:57 +00:00
Michael Niedermayer
1d42f41091
indent
...
Originally committed as revision 14258 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-16 17:51:24 +00:00
Michael Niedermayer
7a9dba3cd6
SVQ3 uses the JPEG variant of YUV 4:2:0.
...
Fixes issue256
Originally committed as revision 14257 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-16 17:48:47 +00:00
Diego Biurrun
9e4cd83347
cosmetics: Fix mxf codec long name.
...
Originally committed as revision 14256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-16 17:20:21 +00:00
Baptiste Coudurier
59e7894c3d
print AVCodecContext address instead of AVClass, better when multiple instances of same codecs are used, based on r14237
...
Originally committed as revision 14255 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-16 03:21:23 +00:00
Michael Niedermayer
38844c0b42
The funny memcpyin svq3 generally has src & dst overlapping, so it
...
should at least be a memmove().
Originally committed as revision 14254 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-16 02:10:21 +00:00
Michael Niedermayer
fb0fbd7c6c
Print slice num as well.
...
Originally committed as revision 14253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-16 01:57:28 +00:00
Loren Merritt
5eb0f2a425
float_to_int16_interleave: change src to an array of pointers instead of assuming it's contiguous.
...
this has no immediate effect, but will allow it to be used in more codecs.
Originally committed as revision 14252 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-16 00:50:12 +00:00
Loren Merritt
633d9def9d
vorbis: reduce memory by reusing buffers
...
Originally committed as revision 14251 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-15 23:04:28 +00:00
Loren Merritt
1a32536737
unroll another common case in vorbis_residue_decode
...
Originally committed as revision 14250 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-15 23:01:15 +00:00
Siarhei Siamashka
589790c294
OGG: Add padding at end of Vorbis headers
...
Patch by Siarhei Siamashka <siarhei.siamashka gmail com>
Originally committed as revision 14249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-15 23:00:29 +00:00
Alexander Strange
64b9d48f76
Move the size of the H264Context delayed_pic array into a #define.
...
This improves readability by getting rid of some magic numbers.
Originally committed as revision 14248 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-15 21:30:04 +00:00
Stefano Sabatini
deaab5fc32
Make v4l2_read_header() don't free a stream in case of failure when
...
reading its header. The stream will be freed later in
av_open_input_stream(). Fix a segmentation fault due to a double free
on the same pointer.
Originally committed as revision 14247 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-15 20:45:42 +00:00
Stefano Sabatini
7c1d608ece
Make v4l_read_header() don't free a stream in case of failure when
...
reading its header. The stream will be freed later in
av_open_input_stream(). Fix a segmentation fault due to a double free
on the same pointer.
Originally committed as revision 14246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-15 20:39:20 +00:00
Måns Rullgård
b0367ef00a
ARM: optimised MAC64 and MLS64
...
Originally committed as revision 14245 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-15 19:06:32 +00:00
Måns Rullgård
6865e04620
ARM: optimised MUL64
...
Originally committed as revision 14244 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-15 19:06:29 +00:00
Måns Rullgård
7995962d4b
ARM: ARMv6 optimised MULH
...
Originally committed as revision 14243 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-15 19:06:25 +00:00
Måns Rullgård
6651ce17b8
ARM: ARMv6 optimised FASTDIV
...
Originally committed as revision 14242 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-15 19:06:18 +00:00
Måns Rullgård
de0e19cc38
ARM: disable use of system byteswap.h
...
Our bswap functions are better than those in glibc, which has
no ARM-optimised versions.
Originally committed as revision 14241 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-15 19:06:09 +00:00
Måns Rullgård
c696a863d4
ARM: fix ARCH_ARM -> ARCH_ARMV4L test in bswap_32()
...
Originally committed as revision 14240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-15 19:06:03 +00:00
Måns Rullgård
ea66f252a8
ARM: ARMv6 optimised bswap_16/32
...
Originally committed as revision 14239 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-15 19:05:49 +00:00
Måns Rullgård
29c8b6263a
Remove dead code in bitstream.h
...
Originally committed as revision 14238 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-15 18:43:26 +00:00
Alexander Strange
b1e12f99a2
Print the address of the AVCodecContext in av_log().
...
This makes debug output much easier to read when the
same codec is open more than once.
Originally committed as revision 14237 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-15 17:17:35 +00:00
Loren Merritt
4342a7f30b
10l, float_to_int16_interleave_sse/3dnow wrote the wrong samples
...
Originally committed as revision 14236 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-15 04:11:30 +00:00
Michael Niedermayer
154dffd04c
Make flic probe check a few more things.
...
fixes issue399
Originally committed as revision 14235 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-14 22:55:07 +00:00
Michael Niedermayer
744b4c02c2
Move the codec_id overriding at a slightly better place.
...
Originally committed as revision 14234 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-14 20:31:17 +00:00
Måns Rullgård
e1f15d3836
H264: fix index range assert() in remove_short_at_index()
...
Originally committed as revision 14233 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-14 19:17:13 +00:00
Michael Niedermayer
283c061936
Remove common factors from timebase in av_set_pts_info().
...
Should fix issue313
Originally committed as revision 14232 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-14 19:11:09 +00:00
Michael Niedermayer
54347c2f51
Fix infinite loop at EOF.
...
Originally committed as revision 14231 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-14 16:18:29 +00:00
Vitor Sessak
0e3510a31f
Revert r14218. FFMAX is a macro, so
...
sum = FFMAX(1, scalar_product(...));
might calculate the scalar product twice, which is slower.
Originally committed as revision 14230 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-14 14:41:01 +00:00
Ben Littler
e44bbf623e
only animated gif (gifdec.c) was removed)
...
Originally committed as revision 14229 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-14 12:08:48 +00:00
Diego Biurrun
fb72cf46f7
gifdec.c was removed, purge its entry from the Makefile.
...
Originally committed as revision 14228 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-14 08:55:07 +00:00
Michael Niedermayer
f55a5281ac
Fix decoding of 320x240.ogg.
...
Originally committed as revision 14227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-13 23:34:29 +00:00
Michael Niedermayer
8833f375f9
-itsscale to scale timestamps
...
fixes issue511
Originally committed as revision 14226 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-13 22:55:52 +00:00
Alexander Strange
88c5cadc2a
Cosmetics: reindent.
...
Originally committed as revision 27279 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-07-13 22:27:50 +00:00
Alexander Strange
2ac6ff2ecb
Remove const vector casts.
...
Fixes compilation with altivec and -std=gnu99.
Originally committed as revision 27278 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-07-13 22:27:19 +00:00
Ben Littler
1cad63d625
removed gif decoder in r14209
...
Originally committed as revision 14225 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-13 22:21:25 +00:00
Diego Biurrun
89129c6b1d
Drop non-C99-compliant initialization.
...
Originally committed as revision 14224 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-13 21:59:58 +00:00
Michael Niedermayer
4c453ddbbc
Make our flac decoder decode all the data at EOF.
...
Fixes issue524
Originally committed as revision 14223 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-13 21:51:29 +00:00
Matthieu Castet
4a8361f848
tools/trasher: Don't mix srand/rand and srandom/random interface.
...
patch by matthieu castet, castet.matthieu free fr
Originally committed as revision 14222 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-13 21:44:00 +00:00
Stefano Sabatini
9606a83824
strdup() the default value for rc_eq in AVCodec when setting it in
...
avcodec_get_context_defaults(). The value has to be alloced dinamically
rather than statically since it may be freed for example by
av_set_string2(). Fix a segmentation fault.
Originally committed as revision 14221 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-13 21:44:00 +00:00
Michael Niedermayer
bd6754aa79
On EOF keep calling the decoders until they do not output anything
...
anymore, instead of just once.
Originally committed as revision 14220 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-13 21:39:18 +00:00
Stefano Sabatini
f969058998
Fix the logic to access the location of a string to free when setting
...
a new value for a string with av_set_string2(). Fix a segmentation
fault.
Originally committed as revision 14219 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-13 21:28:17 +00:00
Vitor Sessak
b903a9285e
Simplify
...
Originally committed as revision 14218 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-13 20:41:09 +00:00
Vitor Sessak
3819081f75
Another av_clipf() usage
...
Originally committed as revision 14217 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-13 20:39:55 +00:00