Laurent Aimar
b59efc9434
Fixed size given to init_get_bits().
...
init_get_bits() takes a number of bits and not a number of bytes as
its size argument.
Signed-off-by: Alex Converse <alex.converse@gmail.com>
2011-09-15 13:23:04 -07:00
Ingo Brückl
5d305c9398
Correct determination of file size and frames in VBRI headers
...
The fields "Number of Bytes" and "Number of Frames" are mixed up. "Bytes"
come first, "Frames" behind.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-15 20:16:55 +02:00
Elvis Presley
b3887bd5fa
configure: require gplv2 for prores
...
Signed-off-by: Elvis Presley <elvis@e.p>
2011-09-15 17:07:00 +02:00
Elvis Presley
db54ff6d53
configure: add GPLv2 support (needed for ProRes)
...
Signed-off-by: Elvis Presley <elvis@e.p>
2011-09-15 17:06:21 +02:00
Ronald S. Bultje
ea540401d6
swscale: fix byte overreads in SSE-optimized hscale().
...
SSE-optimized hScale() scales up to 4 pixels at once, so we need to
allocate up to 3 padding pixels to prevent overreads. This fixes
valgrind errors in various swscale-tests on fate.
2011-09-15 07:30:46 -07:00
Elvis Presley
3dd47ae537
Revert "get_bits: remove x86 inline asm in A32 bitstream reader"
...
This reverts commit 23ce6e7212
.
2011-09-15 15:59:04 +02:00
Elvis Presley
5554de13b2
ProRes Decoder
...
Signed-off-by: Elvis Presley <elvis@e.p>
2011-09-15 15:58:56 +02:00
Dustin Brody
d7d2f0e63c
matroskadec: fix typo.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-09-15 09:34:38 +02:00
Dustin Brody
4a9628f276
matroskadec: bail on parsing of incorrect seek index segments
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-09-15 09:34:16 +02:00
Michael Niedermayer
d55b06b8e7
mjpeg: interlaced buggy avid fix
...
Fix Ticket362
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-15 04:20:11 +02:00
Michael Niedermayer
e009432b50
mjpegdec: fix len for AVI1 reader
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-15 04:18:32 +02:00
Michael Niedermayer
b34c7a5656
Revert "MJPEG: emulate EOI also on two consecutive SOI."
...
This causes Ticket463, fix will be in the next commits
This reverts commit 5e2ea138b7
.
2011-09-15 04:17:26 +02:00
Michael Niedermayer
3ee83f4605
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
lavf utils: Remove write-only variable
lavf utils: Rename shadowing variable
smacker: fix a few off by 1 errors
Check for invalid VLC value in smacker decoder.
Check and propagate errors when VLC trees cannot be built in smacker decoder.
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-14 21:57:47 +02:00
Michael Niedermayer
205c13685f
h264: allow disabling bitstream overread protection by using the fast flag.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-14 20:48:00 +02:00
Joakim Plate
cdced09ef6
Don't override duration from file header with bitrate duration
...
This is most noticable on matroska files which has duration
as part of it's header.
2011-09-14 20:08:43 +02:00
Joakim Plate
5d70536804
[yop] Check return value of avio_seek and avoid modifying state if it fails
2011-09-14 19:53:45 +02:00
Joakim Plate
7bcd81299a
[wtv] Check return value of avio_seek and avoid modifying state if it fails
2011-09-14 19:53:45 +02:00
Joakim Plate
d9d7174d70
[tta] Check return value of avio_seek and avoid modifying state if it fails
2011-09-14 19:53:45 +02:00
Joakim Plate
fc12f54ea9
[tmv] Check return value of avio_seek and avoid modifying state if it fails
2011-09-14 19:53:45 +02:00
Joakim Plate
425907809b
[r3d] Check return value of avio_seek and avoid modifying state if it fails
2011-09-14 19:53:45 +02:00
Joakim Plate
e22155ef0e
[nsv] Check return value of avio_seek and avoid modifying state if it fails
2011-09-14 19:53:45 +02:00
Joakim Plate
a3f4fc813d
[mxfdec] Check return value of avio_seek and avoid modifying state if it fails
2011-09-14 19:53:45 +02:00
Joakim Plate
88ad79415c
[mpc8] Check return value of avio_seek and avoid modifying state if it fails
2011-09-14 19:53:45 +02:00
Joakim Plate
833358172b
[jvd] Check return value of avio_seek and avoid modifying state if it fails
2011-09-14 19:53:39 +02:00
Joakim Plate
58540d7bd3
[filmstrip] Check return value of avio_seek and avoid modifying state if it fails
2011-09-14 19:51:07 +02:00
Joakim Plate
928cfc7e4f
[ffmdec] Check return value of avio_seek and avoid modifying state if it fails
2011-09-14 19:51:07 +02:00
Joakim Plate
1df00ac80f
[dv] Check return value of avio_seek and avoid modifying state if it fails
2011-09-14 19:51:07 +02:00
Joakim Plate
75f418064e
[cafdec] Check return value of avio_seek and avoid modifying state if it fails
2011-09-14 19:51:07 +02:00
Joakim Plate
598cc84fbf
[bink] Check return value of avio_seek and avoid modifying state if it fails
2011-09-14 19:51:07 +02:00
Alex Converse
940173d4d1
lavf utils: Remove write-only variable
2011-09-14 10:35:46 -07:00
Alex Converse
4439caa482
lavf utils: Rename shadowing variable
2011-09-14 10:35:42 -07:00
Michael Niedermayer
d2a847c203
Merge remote-tracking branch 'hexene/scratchpad'
...
* hexene/scratchpad:
libstagefright: Explicitly free smart pointer objects
Changelog: Explain why C++ support is added, and that its optional
tools/build_libstagefright: rename build/libav to something neutral
Conflicts:
Changelog
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-14 17:46:49 +02:00
Mohamed Naufal
e7f9aa6ff5
libstagefright: Explicitly free smart pointer objects
2011-09-14 21:01:07 +05:30
Michael Niedermayer
1a2d8c8b35
Changelog: Explain why C++ support is added, and that its optional
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-14 20:55:07 +05:30
elupus
9fa47cb773
make mpegts_get_pcr resync if it's not on a valid mpegts packet
2011-09-14 17:11:23 +02:00
elupus
6214266362
cosmetic reindent of mpegts_get_pcr
2011-09-14 17:11:07 +02:00
elupus
0a90b6a43e
check return value of url_fseek in mpegts_get_pcr
2011-09-14 17:10:40 +02:00
elupus
880e83827f
respect the maximum position mpegts_get_pcr is allowed to seek to
2011-09-14 17:09:56 +02:00
elupus
2130d2f594
remove unused code in mpegts_get_pcr
2011-09-14 17:08:43 +02:00
Michael Niedermayer
b5824233fb
tools/build_libstagefright: rename build/libav to something neutral
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-14 19:51:18 +05:30
Michael Niedermayer
a30ef63354
ffplay: dont drop all frames if realtime decoding is impossible
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-14 14:56:59 +02:00
Michael Niedermayer
5166376f24
smacker: fix a few off by 1 errors
...
stereo & 16bit is untested due to lack of samples
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-09-14 11:13:54 +03:00
Laurent Aimar
6489455495
Check for invalid VLC value in smacker decoder.
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-09-14 10:40:31 +03:00
Laurent Aimar
9676ffba83
Check and propagate errors when VLC trees cannot be built in smacker decoder.
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-09-14 10:38:49 +03:00
Kelly Anderson
872655fee9
dvdsubdec: fix bad free in dvdsub_init
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-14 07:14:37 +02:00
Michael Niedermayer
15240feb99
Merge remote-tracking branch 'hexene/scratchpad'
...
* hexene/scratchpad:
Move & Rename buildscript, remove tabs
Fix regular build
Support (H/W accelerated) H.264 decoding on Android via Stagefright
Add build-script for Android
C++ Support ;)
Conflicts:
Changelog
Makefile
configure
libavcodec/Makefile
libavcodec/allcodecs.c
libavcodec/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-14 01:23:16 +02:00
Carl Eugen Hoyos
f27f68eb4f
Muxing WTV is supported.
2011-09-14 01:21:15 +02:00
Michael Niedermayer
6a507ccfe5
wtvenc: add some asserts because iam paranoid
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-14 01:08:01 +02:00
zhentan feng
438debd095
WTV muxer (2_wtvenc.patch, 3_add_wtv_muxer.patch)
2011-09-14 00:41:25 +02:00
Michael Niedermayer
d06c5b44cc
swscale: drop redundant code.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-14 00:32:18 +02:00