[FFmpeg-devel] [PATCH v2] avcodec/av1dec: convert to receive_frame()
Michael Niedermayer
michael at niedermayer.cc
Sat May 20 20:23:23 EEST 2023
On Fri, May 19, 2023 at 10:50:57PM -0300, James Almer wrote:
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
> libavcodec/av1dec.c | 75 +++++++++++++++++++++++++++++++++------------
> libavcodec/av1dec.h | 4 +++
> 2 files changed, 60 insertions(+), 19 deletions(-)
Crashes intermittently (so maybe its not this one)
[av1 @ 0x562d7e65db40] No sequence header available.
[av1 @ 0x562d7e65db40] Invalid OBU length: 1071323, but only 768 bytes remaining in fragment.
[av1 @ 0x562d7e65db40] Failed to parse temporal unit.
[av1 @ 0x562d7e65db40] Invalid OBU length: 1071323, but only 768 bytes remaining in fragment.
[av1 @ 0x562d7e65db40] Failed to read packet.
Assertion i <= s->current_obu.nb_units failed at libavcodec/av1dec.c:1415
Aborted (core dumped)
#0 0x00007fffed2e2e87 in __GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1 0x00007fffed2e47f1 in __GI_abort () at abort.c:79
#2 0x0000555555bfcf4a in av1_receive_frame ()
#3 0x0000555555c7d814 in decode_receive_frame_internal ()
#4 0x0000555555c7e4c0 in avcodec_send_packet ()
#5 0x0000555555a5d633 in try_decode_frame ()
#6 0x0000555555a628ff in avformat_find_stream_info ()
#7 0x000055555574578e in ifile_open ()
#8 0x000055555575c99c in open_files.isra ()
#9 0x000055555575ddb5 in ffmpeg_parse_options ()
#10 0x000055555573df61 in main ()
if i build with full debug symbols it doesnt crash :)
ill mail you the file
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20230520/1af1300f/attachment.sig>
More information about the ffmpeg-devel
mailing list