From 8a51af0b56bccee20f9e8831d4f3818e43538385 Mon Sep 17 00:00:00 2001 From: GinkREAL Date: Sat, 7 Apr 2018 06:59:46 +0800 Subject: [PATCH] cellVdec: Do not decode next frame during end_sequence --- rpcs3/Emu/Cell/Modules/cellVdec.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rpcs3/Emu/Cell/Modules/cellVdec.cpp b/rpcs3/Emu/Cell/Modules/cellVdec.cpp index ab946cc0ec..c169ca06f0 100644 --- a/rpcs3/Emu/Cell/Modules/cellVdec.cpp +++ b/rpcs3/Emu/Cell/Modules/cellVdec.cpp @@ -226,6 +226,11 @@ struct vdec_thread : ppu_thread while (max_frames) { + if (vcmd == vdec_cmd::end_seq) + { + break; + } + vdec_frame frame; frame.avf.reset(av_frame_alloc());