Janne Grunau
a03be6e1ba
use LIBAV_LICENSE and LIBAV_VERSION instead of FFMPEG_*
2011-03-16 21:54:39 +01:00
Janne Grunau
29ba091136
replace FFMPEG with LIBAV in FFMPEG_CONFIGURATION
...
also update the multiple inclusion guards in config.h|mak
2011-03-16 21:54:39 +01:00
Janne Grunau
070c5d0f35
partially rename FFmpeg to Libav
...
update mailing list references and irc channels in configure
2011-03-16 21:54:39 +01:00
Ramiro Polla
57149a92f8
Remove occurrences of my old email address.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-03-16 20:07:38 +01:00
Anton Khirnov
fed5676ffe
mp3enc: remove mp3_write_packet(), use ff_raw_write_packet() instead
...
The two functions are identical, no point in duplicating code here.
2011-03-16 10:20:24 -04:00
Kostya
8312e3fc90
Do not attempt to decode APE file with no frames
...
This fixes invalid reads/writes with this sample:
http://packetstorm.linuxsecurity.com/1103-exploits/vlc105-dos.txt
2011-03-16 12:53:52 +01:00
Anton Khirnov
1dac4d5547
jvdec: don't use deprecated url_feof()
2011-03-16 12:24:23 +01:00
Justin Ruggles
79414257e2
mathops: fix MULL() when the compiler does not inline the function.
...
If the function is not inlined, an immmediate cannot be used for the
shift parameter, so the %cl register must be used instead in that case.
This fixes compilation for x86-32 using gcc with --disable-optimizations.
2011-03-15 20:49:37 -04:00
Kostya Shishkov
1c31b26bdf
Do not attempt to decode APE file with no frames.
...
This fixes invalid reads/writes with this sample:
http://packetstorm.linuxsecurity.com/1103-exploits/vlc105-dos.txt
2011-03-15 20:37:37 +01:00
Anton Khirnov
56e2ac6b45
id3v2: merge TYER/TDAT/TIME to date tag
2011-03-15 13:57:52 -04:00
Justin Ruggles
aaff3b312e
mathops: change "g" constraint to "rm" in x86-32 version of MUL64().
...
The 1-arg imul instruction cannot take an immediate argument, only a register
or memory argument.
2011-03-15 13:43:47 -04:00
Justin Ruggles
b181b8fb96
mathops: convert MULL/MULH/MUL64 to inline functions rather than macros.
...
This fixes unexpected name collisions that were occurring with variables
declared within the macros.
It also fixes the fate-acodec-ac3_fixed regression test on x86-32.
2011-03-15 13:43:47 -04:00
Michael Niedermayer
6947b0c42e
Merge remote-tracking branch 'newdev/master'
...
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-03-15 16:48:42 +01:00
Michael Niedermayer
27293b840c
Revert "ac3enc: shift coefficients to 24-bit following MDCT rather than using an exponent offset."
...
This reverts commit 7e0a284b9f
.
revert at authors request due to better impementation
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-03-15 15:12:17 +01:00
Michael Niedermayer
f7a5e7791d
Revert "ac3enc: add SIMD-optimized shifting functions for use with the fixed-point AC3 encoder"
...
This reverts commit cc4d3dd3e2
.
revert at authors request due to better impementation being available
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-03-15 15:11:22 +01:00
Nicolas George
c76374c6db
Use AVERROR_EXIT with url_interrupt_cb.
...
Functions interrupted by url_interrupt_cb should not be restarted.
Therefore using AVERROR(EINTR) was wrong, as it did not allow to distinguish
when the underlying system call was interrupted and actually needed to be
restarted.
This fixes roundup issues 2657 and 2659 (ffplay not exiting for streamed
content).
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-15 08:09:19 -04:00
Nicolas George
bafa4dd3e6
Add AVERROR_EXIT.
...
This is different from AVERROR(EINTR) because calls that fail with EINTR
should usually be restarted.
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-15 08:09:19 -04:00
Anton Khirnov
3e68b3ba7b
avio: deprecate url_ferror
...
AVIOContext.error should be used directly instead.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-15 08:04:28 -04:00
Anton Khirnov
75b9ed04b9
lavf/utils: dont't explicitly check AVIOContext.error
...
The error should be caught in write_packet()/write_trailer()
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-15 08:04:10 -04:00
Philip Langdale
025225d7ee
h264_mp4toannexb_bsf: Fix spurious warning when stream has SPS and PPS units.
...
Signed-off-by: Philip Langdale <philipl@overt.org>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-15 07:20:44 -04:00
Mans Rullgard
9f8f62d4a3
Delete MAINTAINERS file
...
This file is a bad idea and also badly outdated.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-14 21:13:27 +00:00
Justin Ruggles
f1efbca5e9
ac3enc: add SIMD-optimized shifting functions for use with the fixed-point AC3 encoder.
2011-03-14 08:45:31 -04:00
Justin
323e6fead0
ac3enc: do not right-shift fixed-point coefficients in the final MDCT stage.
...
This increases the accuracy of coefficients, leading to improved quality.
Rescaling of the coefficients to full 25-bit accuracy is done rather than
offsetting the exponent values. This requires coefficient scaling to be done
before determining the rematrixing strategy. Also, the rematrixing strategy
calculation must use 64-bit math to prevent overflow due to the higher
precision coefficients.
2011-03-14 08:45:26 -04:00
Peter Ross
6e7cf13b6b
mm decoder: move buffer allocation from decode_init() to decode_frame()
...
This permits playback in ffplay when libavfilter is enabled.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-14 08:07:29 -04:00
Peter Ross
7f05c164d8
jv demuxer: prevent video packet size overflow
...
In the event of overflow, the JV_PADDING state will avio_skip over
any overflow bytes (using JVFrame.total_size).
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-14 08:06:19 -04:00
Peter Ross
772cb06281
jv demuxer: define JV_PREAMBLE_SIZE instead of hard coding the number
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-14 08:05:54 -04:00
Peter Ross
20c1281fe3
jv demuxer: calculate palette_size for each frame in read_header
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-14 08:05:34 -04:00
Peter Ross
402f9ad5fd
Bitmap Brothers JV errata
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-14 08:05:03 -04:00
Peter Ross
bfaefd87dc
Bitmap Brothers JV demuxer
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-14 08:05:02 -04:00
Peter Ross
0697440c1e
Bitmap Brothers JV video decoder
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-14 08:05:01 -04:00
Johan Andersson
21de920472
Update the url to the site website and change ffmpeg-devel to libav-devel
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-13 18:45:29 -04:00
Luca Barbato
0e6a3ee4fa
doc: document applehttp protocol
...
The documentation might be extended once/if a live/store override option
will have to be provided for non-compliant segmenter.
2011-03-13 16:34:58 +01:00
Peter Ross
6e1f0d5edf
mm decoder: move buffer allocation from decode_init() to decode_frame().
...
this permits playback in ffplay when libavfilter is enabled.
2011-03-13 16:24:12 +11:00
Peter Ross
435535e411
jv demuxer: prevent video packet size overflow
...
In the event of overflow, the JV_PADDING state will avio_skip over
any overflow bytes (using JVFrame.total_size).
2011-03-13 16:08:52 +11:00
Stefano Sabatini
478607668c
fbdev: fix check on nanosleep return vale
...
In fbdev_read_packet(): nanosleep returns -1 in case of errors,
the EINTR check has to be done on errno.
Spotted by Nicolas.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-03-13 01:41:46 +01:00
Peter Ross
57d63d43cf
jv demuxer: define JV_PREAMBLE_SIZE instead of hard coding the number
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-03-13 01:36:42 +01:00
Peter Ross
2f1084ca87
jv demuxer: calculate palette_size for each frame in read_header
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-03-13 01:36:36 +01:00
Jason Garrett-Glaser
81a131312d
VP8: fix other function declaration
...
Was missed in 3efbe137
.
2011-03-12 15:36:15 -08:00
Michael Niedermayer
fbe98aee20
Revert "configure: allow checking multiple functions in check_func_headers()"
...
This reverts commit edaf1ae276
.
breaks windows builds
2011-03-12 19:14:55 +01:00
Michael Niedermayer
8876c8ae24
Revert "configure: improve pkg-config support"
...
This reverts commit 3f8040db3e
.
breaks windows builds
2011-03-12 19:14:49 +01:00
Michael Niedermayer
a0a1b7b90d
Revert "configure: use pkg-config helpers"
...
This reverts commit 4fa18c5666
.
breaks windows builds
2011-03-12 19:14:25 +01:00
Michael Niedermayer
27efa296c2
Merge branch 'master' of git://git.ffmpeg.org/ffmpeg
...
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-03-12 17:55:59 +01:00
Hendrik Leppkes
0215006ab7
VC1: Export profile/level
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-12 14:08:27 +00:00
Stefano Sabatini
5dbe78bf91
ffmpeg: remove unused variable in ffmpeg_exit()
...
Fix the warning:
ffmpeg.c: In function ‘ffmpeg_exit’:
ffmpeg.c:509: warning: unused variable ‘j’
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-12 14:08:27 +00:00
Jason Garrett-Glaser
1eeca88691
VP8: optimize VP8Context struct ordering
...
Shaves at least 3KB off code size on x86, should improve cache utilization.
This would probably be useful to do for other decoders/encoders as well.
2011-03-12 03:43:42 -08:00
Jason Garrett-Glaser
3efbe13739
VP8: fix function declaration
2011-03-12 03:41:39 -08:00
Jason Garrett-Glaser
b1d2f812c9
VP8: token probs doesn't need padding
...
prob[0] is the only prob array ever accessed, so prob[1] can serve as padding
for prob[0].
2011-03-12 03:41:36 -08:00
Jason Garrett-Glaser
628b48db85
VP8: use a goto to break out of two loops
...
A break statement was supposed to break out of two loops, but only broke out of one.
Didn't affect output, just could have been marginally slower.
2011-03-12 03:41:33 -08:00
Mans Rullgard
a5444fee06
Add CONFIG_AC3DSP symbol to simplify makefiles
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-12 11:35:26 +00:00
Mans Rullgard
4fa18c5666
configure: use pkg-config helpers
...
This makes existing pkg-config uses as well as the libsdl checks
use the new pkg-config helper functions, which should be more
robust against broken systems.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-11 20:13:32 +00:00