From: James Almer <jamrial@gmail.com>
To: ffmpeg-devel@ffmpeg.org
Subject: Re: [FFmpeg-devel] [PATCH v2] avcodec/av1dec: convert to receive_frame()
Date: Sat, 20 May 2023 14:43:06 -0300
Message-ID: <5e072d0e-8aa4-7f6f-19b8-863cc4e5318b@gmail.com> (raw)
In-Reply-To: <20230520172323.GC1391451@pb2>
On 5/20/2023 2:23 PM, Michael Niedermayer wrote:
> On Fri, May 19, 2023 at 10:50:57PM -0300, James Almer wrote:
>> Signed-off-by: James Almer <jamrial@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@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
"i" was uninitialized because the for loop was never reached. Fixed locally.
>
>
> [...]
>
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
prev parent reply other threads:[~2023-05-20 17:43 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-20 1:50 James Almer
2023-05-20 16:12 ` Anton Khirnov
2023-05-20 16:44 ` James Almer
2023-05-20 16:59 ` Andreas Rheinhardt
2023-05-20 17:01 ` James Almer
2023-05-20 17:07 ` Andreas Rheinhardt
2023-05-20 17:15 ` James Almer
2023-05-20 17:17 ` Andreas Rheinhardt
2023-05-20 17:20 ` James Almer
2023-05-20 17:23 ` Michael Niedermayer
2023-05-20 17:43 ` James Almer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5e072d0e-8aa4-7f6f-19b8-863cc4e5318b@gmail.com \
--to=jamrial@gmail.com \
--cc=ffmpeg-devel@ffmpeg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git