parent
59d8454f03
commit
ad1b2283d9
@ -1,3 +1,3 @@
|
||||
SOURCES/gmp-api-e7d30b9.tar.gz
|
||||
SOURCES/gst-plugins-bad-openh264-1.22.1.tar.xz
|
||||
SOURCES/openh264-2.4.0.tar.gz
|
||||
SOURCES/openh264-2.4.1.tar.gz
|
||||
|
@ -1,3 +1,3 @@
|
||||
de8f6395a21b2005d04e105642538b68cfa07049 SOURCES/gmp-api-e7d30b9.tar.gz
|
||||
075f967360587e4ded76ba8b2cc25e6fdd8bbfbd SOURCES/gst-plugins-bad-openh264-1.22.1.tar.xz
|
||||
6777ef01daea39648d761df2b2b9661de2d3c44e SOURCES/openh264-2.4.0.tar.gz
|
||||
4c12ca6790c66900ecd24c12a624fa01490e823b SOURCES/openh264-2.4.1.tar.gz
|
||||
|
@ -1,29 +0,0 @@
|
||||
From fd66e67ac6136aff80b1567488568ba1ed7e8fb8 Mon Sep 17 00:00:00 2001
|
||||
From: Kalev Lember <klember@redhat.com>
|
||||
Date: Mon, 4 Dec 2023 07:54:04 +0100
|
||||
Subject: [PATCH] Fix off by one regression in decoder (#3704)
|
||||
|
||||
Fix iPicBuffIdx bounds check introduced in commit
|
||||
986bd65b711191d4883c54ace32a9879e17729c2 and allow 0 as an index value.
|
||||
|
||||
This fixes Big_Buck_Bunny_720_10s_30MB.mp4 playback with gst-play-1.0.
|
||||
---
|
||||
codec/decoder/plus/src/welsDecoderExt.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/codec/decoder/plus/src/welsDecoderExt.cpp b/codec/decoder/plus/src/welsDecoderExt.cpp
|
||||
index 170d17de..457effb6 100644
|
||||
--- a/codec/decoder/plus/src/welsDecoderExt.cpp
|
||||
+++ b/codec/decoder/plus/src/welsDecoderExt.cpp
|
||||
@@ -1136,7 +1136,7 @@ void CWelsDecoder::ReleaseBufferedReadyPictureReorder (PWelsDecoderContext pCtx,
|
||||
m_sPictInfoList[m_sReoderingStatus.iPictInfoIndex].iPOC = IMinInt32;
|
||||
int32_t iPicBuffIdx = m_sPictInfoList[m_sReoderingStatus.iPictInfoIndex].iPicBuffIdx;
|
||||
if (pPicBuff != NULL) {
|
||||
- if (iPicBuffIdx > 0 && iPicBuffIdx < pPicBuff->iCapacity)
|
||||
+ if (iPicBuffIdx >= 0 && iPicBuffIdx < pPicBuff->iCapacity)
|
||||
{
|
||||
PPicture pPic = pPicBuff->ppPic[iPicBuffIdx];
|
||||
--pPic->iRefCount;
|
||||
--
|
||||
2.41.0
|
||||
|
Loading…
Reference in new issue