[FFmpeg-trac] #3374(avcodec:closed): avcodec_decode_video2 crashes while using in iOS by linking libavcodec.a
FFmpeg
trac at avcodec.org
Wed Apr 27 18:37:59 CEST 2016
#3374: avcodec_decode_video2 crashes while using in iOS by linking libavcodec.a
-------------------------------------+-------------------------------------
Reporter: sam18 | Owner:
Type: defect | Status: closed
Priority: normal | Component: avcodec
Version: unspecified | Resolution:
Keywords: | needs_more_info
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by glip):
I have the same on Mac 32/64 bit, using latest from git. It's hard to
reproduce. Crash happens in h264.c, line 261 (first if in for)
#if HAVE_FAST_64BIT
for (i = 0; i + 1 < length; i += 9) {
if (!((~AV_RN64A(src + i) & <-- crash
(AV_RN64A(src + i) - 0x0100010001000101ULL)) &
0x8000800080008080ULL))
continue;
FIND_FIRST_ZERO;
STARTCODE_TEST;
i -= 7;
}
#else
--
Ticket URL: <https://trac.ffmpeg.org/ticket/3374#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list