Michael Niedermayer
ba5ff1b31e
h264dec: add forgotten copying of h->sync
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-18 21:53:30 +02:00
Michael Niedermayer
9209249ba1
lavc: better reference to AVOptions
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-18 16:06:28 +02:00
Michael Niedermayer
0812ad01c8
h264dec: Support CODEC_FLAG2_SHOW_ALL.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-18 15:33:50 +02:00
Michael Niedermayer
86dd4b0495
mpeg2dec: support CODEC_FLAG2_SHOW_ALL.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-18 15:33:50 +02:00
Michael Niedermayer
4907302236
lavc: Document that AVOptions should be used.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-18 15:33:50 +02:00
Michael Niedermayer
645cebbe4f
lavc: add CODEC_FLAG2_SHOW_ALL
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-18 15:33:50 +02:00
Laurent Aimar
140dbcff35
Avoid NULL dereference on corrupted bitstream with real decoder.
...
rv34_decode_slice() can return without allocating any pictures.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-18 00:57:49 +02:00
Laurent Aimar
d788af6cf6
Reject slices that does not have the same type than the first one in RV10/RV20 decoder.
...
This prevents crashes with some corrupted bitstreams.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-18 00:57:49 +02:00
Michael Niedermayer
eac673d506
timecode: relicense to LGPLv2+ with permission of Baptiste and ubitux.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-18 00:29:32 +02:00
Michael Niedermayer
979bea1300
check all svq3_get_ue_golomb() returns.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-17 21:55:11 +02:00
Michael Niedermayer
a64b028aeb
h264dec: Dont display trash before a keyframe.
...
Fixes Ticket472
This may (or may not) cause problems with files that have no keyframes.
Plese open a bugreport or mail me if you have a file for which this fails.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-17 21:20:44 +02:00
Michael Niedermayer
35f38b3ab9
rv34: check for size mismatch
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-17 20:17:10 +02:00
Laurent Aimar
a5dc990a4e
Fix buffer size used for MC of B frames after a resolution change in the real decoder.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-17 19:00:11 +02:00
Laurent Aimar
352c878de6
Fix js_vlc_bits value validation when joint stereo is used in cook decoder.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-17 17:44:56 +02:00
Laurent Aimar
9a0a64cb26
Fix potential overreads in rv34 decoder.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-17 17:38:26 +02:00
Michael Niedermayer
bfadca1faf
mjpegdec: print nb_components too in pict debug info
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-17 01:38:58 +02:00
Michael Niedermayer
b002184fa1
mjpegdec: make sure we dont interpret things after the bitstream buffer as resync marker
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-17 01:38:58 +02:00
Michael Niedermayer
b6c04b6821
mjpegdec: Remove buggy avid hacks, they dont do anything good with any file i found
...
Fix multi plane jpeg
Fixes ticket471
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-16 23:09:12 +02:00
Michael Niedermayer
93869d4e44
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
libx264: introduce slice-max-size option
Fixed size given to init_get_bits().
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-16 21:43:56 +02:00
Luca Barbato
3a78fb57de
libx264: introduce slice-max-size option
...
Yet another option useful for low latency streaming.
2011-09-16 07:56:17 -07:00
Michael Niedermayer
cfe4e8c220
bintext: make decoder names unique
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-16 05:53:32 +02:00
Michael Niedermayer
3ac4f444e2
bintext: set buffer hints
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-16 05:53:32 +02:00
Michael Niedermayer
b9dbaa409f
bintext: fix possible x variable overflow.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-16 05:53:32 +02:00
Michael Niedermayer
fa2dbcd46a
bintext: remove unneeded get_buffer()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-16 05:53:31 +02:00
Peter Ross
07a70caba7
Binary text decoder
...
Decoder and demuxer for various binary text formats.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-16 05:53:14 +02:00
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
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
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
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
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
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
Michael Niedermayer
cac9877ed5
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
sws: implement MMX/SSE2/SSSE3/SSE4 versions for horizontal scaling.
include stdint.h in adpcm_data.h
mpeg12: reorder functions to avoid ugly forward declarations
Fixed off by one packet size allocation in the smacker demuxer.
Check for invalid packet size in the smacker demuxer.
ape demuxer: fix segfault on memory allocation failure.
xan: Add some buffer checks
xan: Remove extra trailing newline
Fixed size given to init_get_bits() in xan decoder.
Conflicts:
libavcodec/mpeg12.c
libswscale/x86/swscale_template.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-13 23:44:12 +02:00
Justin Ruggles
3ed7860943
include stdint.h in adpcm_data.h
...
fixes make checkheaders
2011-09-13 10:59:47 -04:00
Diego Biurrun
a05ea77c9f
mpeg12: reorder functions to avoid ugly forward declarations
2011-09-13 15:53:05 +02:00
Michael Niedermayer
838e36635a
avcodec: move "thread emulation" warning to common code
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-13 15:05:42 +02:00
Michael Niedermayer
d67e74929c
smacker: fix a few off by 1 errors
...
stereo & 16bit is untested due to lack of samples
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-13 01:27:35 +02:00
Joakim Plate
32c0c562e7
dvdsubdec: Move colormap and alpha to context
...
This makes it rememember old values should the stream not
contain new values for these for each subtitle.
2011-09-13 00:26:27 +02:00
Michael Niedermayer
f98edc73c5
smacker: add forgotten *
...
found by fenrir
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-12 23:55:44 +02:00
Andrew Wason
5e85fd9f9c
libx264: fix overwriting presets with flags2
...
This fixes overwriting x264 preset settings for flags2 based options.
See https://ffmpeg.org/trac/ffmpeg/ticket/448
2011-09-12 22:12:47 +02:00
Andrew Wason
3eb1e65f5f
libx264: fix overwriting preset rc_lookahead
...
This fixes https://ffmpeg.org/trac/ffmpeg/ticket/448 - at least for
rc_lookahead. A similar problem still exists for the flags2 based
options.
2011-09-12 21:35:24 +02:00
Joakim Plate
7009b96511
dvdsubdec: Support palette information for vobsub's stored as text in extradata
...
This is how mkv's store palette information for vobsubs
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-12 21:35:10 +02:00
Michael Niedermayer
9765caec1b
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
adpcm: split ADPCM encoders and decoders into separate files.
doc/avconv: fix typo.
rv34: check that subsequent slices have the same type as first one.
smacker demuxer: handle possible av_realloc() failure.
lavfi: add split filter from soc.
lavfi: add showinfo filter
libxavs: add private options corresponding to deprecated global options
Conflicts:
Changelog
libavcodec/adpcm.c
libavfilter/avfilter.h
libavfilter/vf_showinfo.c
libavfilter/vf_split.c
libavformat/smacker.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-12 21:01:12 +02:00