History

re-structure SWelsDecoderContext and others and prepare for the support of multi-threading support.

xiaotiansf committed 7 years ago

Commit 2f5ecec1 parent 9ed97c729 files · +2285 −1568Browse files

Showing the changes to codec/decoder/core/src/pic_queue.cpp (1 of 29 files). Show all

Unified · Split

codec/decoder/core/src/pic_queue.cpp+4−0
@@ -168,6 +168,7 @@ PPicture PrefetchPic (PPicBuff pPicBuf) { · 167 unmodified lines
168168 }
169169 if (pPic != NULL) {
170170 pPicBuf->iCurrentIdx = iPicIdx;
171+ pPic->iPicBuffIdx = iPicIdx;
171172 return pPic;
172173 }
173174 for (iPicIdx = 0 ; iPicIdx <= pPicBuf->iCurrentIdx ; ++iPicIdx) {
@@ -179,6 +180,9 @@ PPicture PrefetchPic (PPicBuff pPicBuf) { · 5 unmodified lines
179180 }
180181
181182 pPicBuf->iCurrentIdx = iPicIdx;
183+ if (pPic != NULL) {
184+ pPic->iPicBuffIdx = iPicIdx;
185+ }
182186 return pPic;
183187 }
184188

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t