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
Måns Rullgård
9ea583e1f6
mpegaudio: use MAC/MLS macros in ff_mpa_synth_filter
...
Originally committed as revision 14199 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
ffa978f157
mathops: add MAC64, MLS64, and MLS16
...
MAC64: 64 += 32 x 32 (bits)
MLS64: 64 -= 32 x 32
MLS16: 32 -= 16 x 16
Originally committed as revision 14198 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
71c465a151
Bitstream: use AV_RB16() in LIBMPEG2_BITSTREAM_READER
...
This makes LIBMPEG2_BITSTREAM_READER_HACK redundant, so remove it.
Originally committed as revision 14197 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
c1c9046656
Use CODEC_ID_PROBE when the mpeg-ps demuxer does not know exactly which
...
video codec is used.
Fixes issue49 Departed Trailer.evo (mpeg ps missdetecting h264 as mpeg2video)
Originally committed as revision 14196 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
1b71f04586
configure: simplify negative dependencies
...
Originally committed as revision 14195 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
3250003c79
configure: allow !foo as argument to enabled/disabled and *_deps lists
...
Originally committed as revision 14194 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
dd57251cb0
Remove old hackish codec probe system.
...
Originally committed as revision 14193 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Anuradha Suraparaju
007f67b012
Fix pts handling when encoding with libschroedinger, closes issue 453.
...
patch by Anuradha Suraparaju, anuradha rd.bbc.co uk
Originally committed as revision 14192 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Anuradha Suraparaju
f73b204000
Fix pts handling when encoding with libdirac.
...
patch by Anuradha Suraparaju, anuradha rd.bbc.co uk
Originally committed as revision 14191 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
2a72e494c3
Use strcmp() instead of strncmp() in set_codec_from_probe_data().
...
Originally committed as revision 14190 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
25d3fb7374
indent
...
Originally committed as revision 14189 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
942de2f4fa
Only try to probe the codec when the available data has roughly doubled
...
relative to the last attempt.
Originally committed as revision 14188 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
312d24d5e9
Add mpegvideo and H.264 to the codec probe.
...
Originally committed as revision 14187 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
010acd8ea1
h264_probe()
...
Originally committed as revision 14186 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
55823964dc
indent
...
Originally committed as revision 14185 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
0bef08e516
New codec probing system try #1 .
...
Originally committed as revision 14184 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
3e86dba24b
command_streams are type data not unknown.
...
Originally committed as revision 14183 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
09fec2b929
Use new style static VLC tables for IMC decoder.
...
Also fixes a memleak due to the previous in-context tables not being freed.
Originally committed as revision 14182 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
9d3b9f2cce
Move add_to_pktbuf() before av_read_packet(). My future work on codec identification
...
cleanup will need this.
Originally committed as revision 14181 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
64cd3108df
Move set_codec_from_probe_data() up to where the other probe functions are.
...
Originally committed as revision 14180 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
3179da621a
Pass AVPacketList instead of the whole context to add_to_pktbuf as that is
...
all that is needed.
Originally committed as revision 14179 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
d08e3e91af
Prevent users from setting -vol and -acodec copy together.
...
They are incompatible since the frames are not decoded, so they can't be preprocessed.
Originally committed as revision 14178 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Robert Swain
f1b2f1bf50
Typo and grammar fix
...
Originally committed as revision 14177 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Robert Swain
848eab4e0a
Correct a couple of typos
...
Originally committed as revision 14176 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
8884b91898
100l, fix MS ADPCM decoding for e.g. http://samples.mplayerhq.hu/mov/qtaudio/surge-2-16-L-ms02.mov
...
First coefficient array must be unsigned to fit in 8 bits
Originally committed as revision 14175 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
ff2271267e
10l, forgot to replace a / 256 for r14173.
...
Fixes MS ADPCM regression test.
Originally committed as revision 14174 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
ddcf031f3b
Change MS ADPCM table so they fit into int8_t and change array type.
...
Originally committed as revision 14173 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago