Opened 13 hours ago

Last modified 13 hours ago

#11373 new defect

Assertion ret >= 0 failed at libavcodec/vlc.c:238

Reported by: Kyant Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description (last modified by Kyant)

Summary of the bug: I got crash when using avformat_find_stream_info for some m4a.

Here is the log:
FFmpeg: incorrect codes
FFmpeg: needed 144 had 352
FFmpeg: Assertion ret >= 0 failed at libavcodec/vlc.c:238

Stack trace:

    #00 pc 000000000004fe2c  /apex/com.android.runtime/lib64/bionic/libc.so (abort+180)
    #01 pc 000000000013580c  /lib/arm64/libffmpeg.so
    #02 pc 00000000001356c8  /lib/arm64/libffmpeg.so (ff_vlc_init_sparse+1340)
    #03 pc 0000000000135db8  /lib/arm64/libffmpeg.so (ff_vlc_init_table_sparse+72)
    #04 pc 0000000000131ad8  /lib/arm64/libffmpeg.so (ff_aac_decode_init+400)
    #05 pc 000000000012e5ac  /lib/arm64/libffmpeg.so (avcodec_open2+1040)
    #06 pc 00000000001215d0  /lib/arm64/libffmpeg.so (avformat_find_stream_info+532)

How to reproduce:
Use avformat_find_stream_info for m4a (alac) may occasionally get crash.

Change History (1)

comment:1 by Kyant, 13 hours ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.