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
17 years ago
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
17 years ago
Måns Rullgård
b0367ef00a
ARM: optimised MAC64 and MLS64
...
Originally committed as revision 14245 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
6865e04620
ARM: optimised MUL64
...
Originally committed as revision 14244 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
7995962d4b
ARM: ARMv6 optimised MULH
...
Originally committed as revision 14243 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
6651ce17b8
ARM: ARMv6 optimised FASTDIV
...
Originally committed as revision 14242 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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
17 years ago
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
17 years ago
Måns Rullgård
ea66f252a8
ARM: ARMv6 optimised bswap_16/32
...
Originally committed as revision 14239 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
29c8b6263a
Remove dead code in bitstream.h
...
Originally committed as revision 14238 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
Michael Niedermayer
54347c2f51
Fix infinite loop at EOF.
...
Originally committed as revision 14231 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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
17 years ago
Ben Littler
e44bbf623e
only animated gif (gifdec.c) was removed)
...
Originally committed as revision 14229 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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
17 years ago
Michael Niedermayer
f55a5281ac
Fix decoding of 320x240.ogg.
...
Originally committed as revision 14227 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
8833f375f9
-itsscale to scale timestamps
...
fixes issue511
Originally committed as revision 14226 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Alexander Strange
88c5cadc2a
Cosmetics: reindent.
...
Originally committed as revision 27279 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
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
17 years ago
Ben Littler
1cad63d625
removed gif decoder in r14209
...
Originally committed as revision 14225 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
89129c6b1d
Drop non-C99-compliant initialization.
...
Originally committed as revision 14224 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
Vitor Sessak
b903a9285e
Simplify
...
Originally committed as revision 14218 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
3819081f75
Another av_clipf() usage
...
Originally committed as revision 14217 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
aa64ee30d1
Do not declare as double a var that only stores a float
...
Originally committed as revision 14216 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
1894db1487
Simplify: use FFMAX
...
Originally committed as revision 14215 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
b08edb2268
check that csize in ff_lzw_decode_init is < LZW_MAXBITS, <= is not enough and
...
might read outside the prefix array
Originally committed as revision 14214 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
4138ad961c
Add av_clipf() function to common.h and use it in ra288.c
...
Originally committed as revision 14213 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
8effdce0e7
dvdsubdec: allow compilation with -DDEBUG
...
Originally committed as revision 14212 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
e8420626d0
RTP: use dprintf(), allow compilation with -DDEBUG
...
Originally committed as revision 14211 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
f94981ea6a
ASF: use dprintf(), allow compilation with -DDEBUG
...
Originally committed as revision 14210 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
0b54f3c087
Remove gif demuxer, the code contains a gif decoder and lzw decoder neither
...
belongs in a demuxer, furthermore the code might be exploitable.
Fixes issue530
Originally committed as revision 14209 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
8858816d4c
Use -vsync 0 unless the user explicitly asked for something
...
else when the framerate is above 1000.
Fixes issue259.
Originally committed as revision 14208 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
b9fa32082c
exploit mdct symmetry
...
2% faster vorbis on conroe, k8. 7% on celeron.
Originally committed as revision 14207 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
eb2cd99c73
mlpdec: Check for bits left before each read of End-of-Stream indicator and
...
Substream parity check independently. This allows decoding of streams that
have EOS but don't have Substream parity check.
Originally committed as revision 14206 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
f27e1d645e
simplify vorbis windowing
...
Originally committed as revision 14205 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
6647ab80e3
bitstream: move put_sbits() from flacenc.c to bitstream.h and use it
...
throughout libavcodec.
Originally committed as revision 14204 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
f9bd305694
clip MS ADPCM predictor range to correct [0..6] range, not [0..7]
...
Originally committed as revision 14203 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
962fe7e1c4
Use bytestream and AV_RL* functions in ADPCM code where possible
...
Originally committed as revision 14202 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
ae8afab998
Fix MS ADPCM de- and encoding: first and second sample are swapped.
...
Noticeable better decoding of e.g. http://samples.mplayerhq.hu/A-codecs/msadpcm-stereo/dance-b5th.asf
Originally committed as revision 14201 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
e70f1a2067
Add parisc* to the list of architectures requiring PIC flags for shared libs.
...
Originally committed as revision 14200 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago