aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJianhong Jiang <jianhong@google.com>2009-10-05 12:52:45 -0700
committerJianhong Jiang <jianhong@google.com>2009-10-05 12:52:45 -0700
commit291ae954bb619013294cf3d6136ac8c4c13a8992 (patch)
treed36c1f6ae5e4c48c218b15618badfcfa2366e896
parent727f0ff8aced75c0909fb04f2708bdbaebd19ae0 (diff)
downloadopencore-291ae954bb619013294cf3d6136ac8c4c13a8992.tar.gz
RIO-7665: Workaround for encoder problem where slice is marked as sync frame instead of IDR.
http://b/issue?id=2167163 J.D. & D.S.
-rw-r--r--codecs_v2/video/avc_h264/common/src/dpb.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/codecs_v2/video/avc_h264/common/src/dpb.cpp b/codecs_v2/video/avc_h264/common/src/dpb.cpp
index 2517766cf..2c4c7da47 100644
--- a/codecs_v2/video/avc_h264/common/src/dpb.cpp
+++ b/codecs_v2/video/avc_h264/common/src/dpb.cpp
@@ -479,11 +479,6 @@ AVCStatus sliding_window_process(AVCHandle *avcHandle, AVCCommonObj *video, AVCD
}
}
- if (numShortTerm <= 0)
- {
- return AVC_FAIL;
- }
-
while (numShortTerm + numLongTerm >= (int)video->currSeqParams->num_ref_frames)
{
/* get short-term ref frame with smallest PicOrderCnt */