Baptiste Coudurier
112249de00
set block align for mace3/6
...
Originally committed as revision 12328 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
28da7981d0
correctly compute bit rate for compressed audio, should fix seeking in aiff
...
Originally committed as revision 12327 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Mike Melanson
282ee4e766
fix the WC3 Xan decoder by correcting the frame accounting logic
...
Originally committed as revision 12326 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
56adc69501
One more (forgotten) fix for fixing sws_flags.
...
Originally committed as revision 26166 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Michael Niedermayer
e60da588e3
sws_flags is unsigned.
...
This together with the last commit fixes the strange behavior of -sws_flags.
(issue229)
Originally committed as revision 12325 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
378774e9a8
Fix handling flags with the MSB set.
...
Originally committed as revision 12324 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
8b2fce0d3f
Turn ancient V offset numerical constants into named ones.
...
Add a check that checks that the width is within the choosen constant.
This might have been exploitable.
Originally committed as revision 26165 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Aurelien Jacobs
fbd4293df9
remove more useless mpegvideo.h includes
...
Originally committed as revision 12323 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
cbcd6c8ca9
move EDGE_WIDTH definition allong with draw_edges where it belongs
...
Originally committed as revision 12322 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
d37f007d54
remove #include "mpegvideo.h" where it is not needed
...
Originally committed as revision 12321 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
3bfe9260fa
move relevant declarations to mpeg12data.h
...
Originally committed as revision 12320 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
6d93461504
move run length table constants to rl.h
...
Originally committed as revision 12319 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
288a44fb7a
move ff_emulated_edge_mc() to dsputil
...
Originally committed as revision 12318 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
8d4bef64b4
Remove unused elements from tables.
...
Originally committed as revision 12317 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
6a287b739f
Detect and prevent reading over the end of counts_*. We pass the error
...
through a context variable as this is simpler and i think also faster, but
the return value of functions could be used instead of course.
The code also ensures as a side effect that the AC decoder state does not
become invalid.
This fixes all known crashes. And outputs nothing in case of an error instead
of random noise.
Originally committed as revision 12316 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
1a2a1d9077
Prevent segfault due to reading over the end of the input buffer.
...
Originally committed as revision 12315 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
7998988129
fix wmv3 dependencies
...
Originally committed as revision 12314 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
49c35f16fc
Fix compilation on powerpc.
...
DECLARE_ALIGNED_8 is not defined at that point, but this code is powerpc
only, so it's really equivalent to DECLARE_ALIGNED(16...
Originally committed as revision 12313 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
015d0bb95c
remove old draw_edges declaration cruft
...
Originally committed as revision 12312 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
4c79b95c32
move ff_init_scantable() into dsputil
...
Originally committed as revision 12311 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
675b8390f6
Ignore flags after pts/dts if there are no bytes left.
...
Fixes decoding of vdr-radio.vdr. (issue198)
Originally committed as revision 12310 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
5a6a9e78ab
move draw_edges() into dsputil
...
Originally committed as revision 12309 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
ce7f71a2dd
dsputil.h is a local header
...
Originally committed as revision 12308 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
c8deab7af7
include required header
...
Originally committed as revision 12307 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
6e196eacc3
include required headers for int64_t and AV_RB16()
...
Originally committed as revision 12306 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
abf2dc9c9a
avi.h does not use anything from avcodec.h.
...
Originally committed as revision 12305 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
22f8654776
Fix endian test with grep not handling non-text files
...
POSIX grep is not required to support non-text files.
Idea by Rich Felker.
Originally committed as revision 12304 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
0e9fbd35b5
remove invalid free() forgotten in r12300
...
Originally committed as revision 12303 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
932ccf398a
remove unnecessary backslashes
...
Originally committed as revision 12302 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
81124ba0d1
Fix libavfilter compilation and make it more in line
...
with the other libav*.
Originally committed as revision 12301 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
f15e6b869f
Provide non null class name to avoid crash with ffmpeg -h.
...
Originally committed as revision 12300 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
6548ff57c0
Force DOS users to enable memalign hack when needed,
...
the same way it's done for MinGW.
Originally committed as revision 12299 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Benjamin Larsson
40bcf4c780
Support setting the debuglevel (-g level) with --enable-debug=#
...
Originally committed as revision 12298 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
e7a5e2f626
Fix decoding of interlaced gif, e.g. http://samples.mplayerhq.hu/GIF/7up.gif
...
Originally committed as revision 12297 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
78db672cae
Use block_align as the avi spec says.
...
fix issue274
Originally committed as revision 12296 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
143b082044
Print slightly more useful info.
...
Originally committed as revision 12295 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
a7805e2983
Fallback to sample rate if bit rate is 0. This avoids 0 timebases in nut.
...
Originally committed as revision 12294 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
9fdfd21c77
factorize
...
Originally committed as revision 12293 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
a048febdc4
subtitles (codec tag tables still missing ...)
...
Originally committed as revision 12292 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
c6eed369d2
Use "disable" helper function
...
Originally committed as revision 12291 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
5b08754912
Store aspect ratio in avis.
...
Originally committed as revision 12290 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
1f3d74d39b
Remove INFINITY as suggested by rich.
...
Originally committed as revision 12289 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
3948c74f80
Remove INFINITY.
...
Originally committed as revision 12288 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
d8870f120e
use scale factor instead of sum for downmix level adjustment. avoids division
...
inside downmix loop. 7% faster 5.1-to-stereo downmixing.
Originally committed as revision 12287 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
9d10e6e6c0
pre-calculate downmix coefficient sums. 2% faster 5.1-to-stereo downmixing.
...
Originally committed as revision 12286 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
İsmail Dönmez
8541cc274c
Do not add deprecated -no-cpp-precomp to CFLAGS on Darwin.
...
patch by İsmail Dönmez, ismail namtrac org
Originally committed as revision 12285 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
a4de6dd2c1
Use 24-bit fixed-point transform coefficients until just before MDCT. This
...
gives 7% faster decoding on average.
Originally committed as revision 12284 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Mike Melanson
74e21d0352
fix wc3movie demuxer to conform to the PTS API
...
Originally committed as revision 12283 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
be0995b166
more aspect ratios added in one of the ammendments
...
Originally committed as revision 12282 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Mike Melanson
40e8e49700
fix the id CIN demuxer by using the pts API correctly
...
Originally committed as revision 12281 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago