Projects
Essentials
A_tw-ffmpeg-4
fix-CVE-2024-36615-part02.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-CVE-2024-36615-part02.patch of Package A_tw-ffmpeg-4
From 2d32a6611a5a9e540d7e2b9bad14c73ceeb8c0a6 Mon Sep 17 00:00:00 2001 From: Haihao Xiang <haihao.xiang@intel.com> Date: Mon, 22 Apr 2024 14:57:08 +0800 Subject: [PATCH] lavc/vp9: Fix regression introduced in 0ba05857 It is possible that ff_progress_frame_await() is called but ff_progress_frame_report() isn't called when a hardware acceleration method is used, so a thread for vp9 decoding might get stuck. Backport comment: in 7.1 there was a switch to ProgressFrames (7bd3b737163), so there was the need to convert the calls back to ThreadFrames calls. In this case, it was just moving the progress report function inside the finish label. Reviewed-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Signed-off-by: Haihao Xiang <haihao.xiang@intel.com> (cherry picked from commit 8c62d77139ca07390414fcfd26b2a4d506fed3b9) Signed-off-by: Carlos Henrique Lima Melara <charlesmelara@riseup.net> --- libavcodec/vp9.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c index bc58d647ab..3ea02e0773 100644 --- a/libavcodec/vp9.c +++ b/libavcodec/vp9.c @@ -1761,9 +1761,9 @@ FF_ENABLE_DEPRECATION_WARNINGS if (ret < 0) goto fail; } - ff_thread_report_progress(&s->s.frames[CUR_FRAME].tf, INT_MAX, 0); finish: + ff_thread_report_progress(&s->s.frames[CUR_FRAME].tf, INT_MAX, 0); // ref frame setup for (i = 0; i < 8; i++) { if (s->s.refs[i].f->buf[0]) -- 2.51.1
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.