Justin Ruggles
78eab18740
qdm2: check output buffer size before decoding
...
(cherry picked from commit 7d49f79f1c
)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-11-04 00:42:37 +01:00
Michael Niedermayer
902e9595e3
MAINTAINERS: new ffplay maintainer
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit cffd20b90e
)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-11-04 00:40:43 +01:00
Compn
d33a1d6507
riff: map 0x0038 to amrnb, works on http://video.mopoto.com/4/40/407/40709.avi
...
(cherry picked from commit 3ebab62fc6
)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-11-04 00:40:21 +01:00
Justin Ruggles
fc8c0ee09f
mpc8: check output buffer size before decoding
...
(cherry picked from commit 5674d4b0a3
)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-11-04 00:40:13 +01:00
Justin Ruggles
490617b6ff
mpc7: return error if packet is too small.
...
(cherry picked from commit 8290d1f38b
)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-11-04 00:40:03 +01:00
Justin Ruggles
b833859daa
mpc7: check output buffer size before decoding
...
(cherry picked from commit c8b5c4d274
)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-11-04 00:39:47 +01:00
Gwenole Beauchesne
7d52ed686b
vaapi: fix VC-1 decoding (reconstruct bitstream TTFRM correctly).
...
(cherry picked from commit 825dd135d8
)
2011-10-12 11:27:11 +02:00
Laurent Aimar
f74d1c6de7
h264: do not let invalid values in h->ref_count after a decoder reset.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 0333d234b0
)
2011-10-11 21:34:15 +02:00
Michael Niedermayer
e49abd1d92
libx264: Fix loop failure due to bufsize becoming 0
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 751a4efd4d
)
2011-10-11 21:34:15 +02:00
Clément Bœsch
414409e6c5
configure: remove bashism equality check for target_os.
...
(cherry picked from commit e39be59b85
)
2011-10-11 21:34:15 +02:00
Michael Niedermayer
09a288476f
H264: hotfix for speedloss on frame threading and h264 files with slices.
...
This fix is not ideal as it still limits the multithreading on field pictures
to the 2nd field only.
Ill try to fix it properly to allow both fields to decode concurrently but this
needs more work.
This bug exists since and was caused by:
commit ea6331f8bb
Author: Ronald S. Bultje <rsbultje@gmail.com>
Date: Mon Jun 20 10:24:33 2011 -0400
h264-mt: fix deadlock in packets with multiple slices (e.g. MP4).
(cherry picked from commit eaa21b6870
)
2011-10-11 21:34:14 +02:00
Loren Osborn
b981c5d4e0
mpegtsenc: Lift limit on PMT PID
...
Fixes Ticket518
(cherry picked from commit bf5c3bac51
)
2011-10-11 21:34:14 +02:00
Carl Eugen Hoyos
60171d8fa6
Do not set codec_tag property for matroska muxers.
...
Fixes ticket #8 , #537 .
2011-10-09 20:07:41 +02:00
Michael Niedermayer
a39b603bf6
lavf/utils: fix overestimation of the rational number density.
...
Fixes Ticket498
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-10-09 01:14:21 +02:00
Michael Niedermayer
09d8f515b9
Update for 0.8.5
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-10-02 22:02:45 +02:00
Laurent Aimar
b89a0c9d7f
h264: fix intra 16x16 mode check when using mbaff and constrained_intra_pred.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit a4fd95b5d5
)
2011-10-02 21:30:21 +02:00
Laurent Aimar
efedf09378
h264: check for invalid bit depth value.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit c2b7f7748b
)
2011-10-02 21:30:14 +02:00
Laurent Aimar
46edabac3c
h264: add entries for 11 and 12 bits in ff_h264_chroma_qp[][]
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 27d3361e34
)
2011-10-02 21:30:08 +02:00
Laurent Aimar
bfd7238adb
h264: fix the check for invalid SPS:num_ref_frames.
...
This patch set the limit to 16.
For information, thoses previous commits:
41f7e2d11d
5cbb0e70a0
assumed it was either 30 or 32.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit bcf881a685
)
2011-10-02 21:29:58 +02:00
Laurent Aimar
cf0052931d
h264: do not let invalid values in h->ref_count on ff_h264_decode_ref_pic_list_reordering() errors.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 2428b53f6d
)
2011-10-02 21:29:51 +02:00
Laurent Aimar
6b998720b2
Reject video with non multiple of 16 width/height in the 4xm decoder.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit db5b487551
)
2011-10-02 21:29:45 +02:00
Michael Niedermayer
55a070870f
4xm decoder: fix data size for i2 frames.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 0a19b4b0ba
)
2011-10-02 05:48:40 +02:00
Michael Niedermayer
54a1e7b0f2
4xm decoder: print some error messages in case of errors.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 1008f639e2
)
2011-10-02 05:48:40 +02:00
Laurent Aimar
2c282e9679
Check for out of bound accesses in the 4xm decoder.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 9c661e952f
)
2011-10-02 05:48:26 +02:00
Laurent Aimar
55a96a984e
Prevent block size from inreasing in the shorten decoder.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit b399cbfba5
)
2011-10-02 05:48:13 +02:00
Laurent Aimar
64a9004d07
Check for out of bound reads in PTX decoder.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 581898ae88
)
2011-10-02 05:48:07 +02:00
Laurent Aimar
f421b53400
Clear FF_INPUT_BUFFER_PADDING_SIZE bytes at the end of the temporary buffers used in 4xm decoder.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 90a69b2f61
)
2011-10-02 05:47:51 +02:00
Laurent Aimar
d2a276a3fd
Fix the check for missing references in ff_er_frame_end() for H264.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-10-02 05:47:46 +02:00
Laurent Aimar
535112b365
Prevent NULL dereference when the huffman table is invalid in the 4xm decoder.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 4a8ff0636d
)
2011-10-02 05:45:01 +02:00
Laurent Aimar
2e342df4a2
Fix use of uninitialized memory in 4X Technologies demuxer.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit a1876e0072
)
2011-10-02 05:45:01 +02:00
Michael Niedermayer
86491c5dbc
h264: increase ref_poc size to 32 as it can be per field.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 8c851ef5a8
)
2011-10-02 05:44:42 +02:00
Michael Niedermayer
3e0dbb8a7e
h264: set unused ref_counts to 0 as a precautionary meassure.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 3af2de76ac
)
2011-10-02 05:44:35 +02:00
Michael Niedermayer
2cd7580ab5
Remove Chnagelog it has nothing to do with reality
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-10-01 22:45:25 +02:00
Michael Niedermayer
b0804f3705
Merge remote-tracking branch 'qatar/release/0.7' into release/0.8
...
* qatar/release/0.7: (73 commits)
Update Changelog for 0.7.2 release
Update RELEASE file for 0.7.2
lavf: do not set codec_tag for rawvideo
fate: allow testing with libavfilter disabled
fate: separate lavf-mxf_d10 test from lavf-mxf
Fix memory (re)allocation in matroskadec.c, related to MSVR-11-0080.
movenc: fix NULL reference in mov_write_tkhd_tag
movenc: create an alternate group for each media type
flvdec: Check for overflow before allocating arrays
ppc: fix some pointer to integer casts
ppc: fix 32-bit PIC build
rv34: Check for invalid slice offsets
rv34: Fix potential overreads
rv34: Avoid NULL dereference on corrupted bitstream
rv10: Reject slices that does not have the same type as the first one
lavf: Fix context pointer in av_open_input_stream when avformat_open_input fails
oggdec: fix out of bound write in the ogg demuxer
Fixed size given to init_get_bits().
smacker: fix a few off by 1 errors
Check for invalid VLC value in smacker decoder.
...
Conflicts:
RELEASE
libavcodec/avs.c
libavcodec/ppc/asm.S
libavcodec/rv34.c
libavcodec/xan.c
libavdevice/alsa-audio.h
libavformat/flvdec.c
libavformat/gxf.c
libavformat/utils.c
libswscale/x86/swscale_template.c
tests/ref/lavf/mov
tests/ref/lavf/mxf
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-10-01 22:42:41 +02:00
Michael Niedermayer
77a7092d1c
fate: fix motion pixels checksum change caused by backported bugfix
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-10-01 22:28:16 +02:00
Michael Niedermayer
80331265ca
avienc: Add a limit on the number of skiped frames muxed in a row.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 9cb9e39c41
)
2011-10-01 21:04:04 +02:00
Michael Niedermayer
00f6cbb53d
vf_scale.c: propagate error code
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 8447703c16
)
2011-10-01 21:03:57 +02:00
Laurent Aimar
f144a70d60
Fix out of bound reads/writes in the TIFF decoder.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 5ca5d432e0
)
2011-10-01 21:03:49 +02:00
Laurent Aimar
b08df314dc
Check for out of bound writes in the QDM2 decoder.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 4a7876c6e4
)
2011-10-01 21:03:45 +02:00
Laurent Aimar
e0fb22cea9
Fix out of bound reads in the QDM2 decoder.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 491eaf35ae
)
2011-10-01 21:03:40 +02:00
Laurent Aimar
802045777a
Fix out of bound reads due to integer overflow in the ADPCM IMA Electronic Arts EACS decoder.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 346876ec16
)
2011-10-01 21:03:35 +02:00
Laurent Aimar
e8fd4a43ba
Check for out of bound reads in the Electronic Arts CMV decoder.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit a5d46235f3
)
2011-10-01 21:03:31 +02:00
Laurent Aimar
d950461f59
Prevent NULL dereferences when missing the reference frame in the Electronic Arts CMV decoder.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 113d7be624
)
2011-10-01 21:03:26 +02:00
Laurent Aimar
df39708269
Fix potential pointer arithmetic overflows in the Electronic Arts CMV decoder.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit e9064c9ce8
)
2011-10-01 20:59:57 +02:00
Laurent Aimar
1f2a93cf4b
Prevent infinite loop in the ANM decoder.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 39993860e1
)
2011-10-01 20:59:49 +02:00
Laurent Aimar
67b704982f
Fix double free on error in Deluxe Paint Animation demuxer.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit d39d7122e3
)
2011-10-01 20:59:42 +02:00
Laurent Aimar
3b840fab90
Check for out of bound reads in AVS decoder.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 7afe9e5638
)
2011-10-01 20:59:34 +02:00
Laurent Aimar
fa79af6845
Check for out of bound writes in the avs demuxer.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 5d44c061cf
)
2011-10-01 20:59:28 +02:00
Laurent Aimar
c23d5261f7
Check for corrupted data in avs demuxer.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 1cce7def0a
)
2011-10-01 20:59:20 +02:00
Martin Storsjö
932b5f3cbb
lavf: Avoid using av_malloc(0) in av_dump_format
...
On OS X, av_malloc(0) returns pointers that cause crashes when
freed.
Signed-off-by: Martin Storsjö <martin@martin.st>
(cherry picked from commit e81e5e8ad2
)
2011-10-01 20:57:04 +02:00