summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/OMXCodec.cpp
diff options
context:
space:
mode:
authorLajos Molnar <lajos@google.com>2014-09-04 11:45:26 -0700
committerLajos Molnar <lajos@google.com>2014-09-04 11:46:37 -0700
commit5da491bb05009e2062d8a98a153594bb3ff15188 (patch)
treeed1ab354f31af8448131dc9efdd6eec53bb2260a /media/libstagefright/OMXCodec.cpp
parent9007305003e689362749a264af2eafea80eb12a0 (diff)
downloadframeworks_av-5da491bb05009e2062d8a98a153594bb3ff15188.zip
frameworks_av-5da491bb05009e2062d8a98a153594bb3ff15188.tar.gz
frameworks_av-5da491bb05009e2062d8a98a153594bb3ff15188.tar.bz2
stagefright: allow P-frames spacing of 0 and 1
Bug: 17387418 Change-Id: Ib966496b4ca220d96fb3741c29002c13cd2db848
Diffstat (limited to 'media/libstagefright/OMXCodec.cpp')
-rw-r--r--media/libstagefright/OMXCodec.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/media/libstagefright/OMXCodec.cpp b/media/libstagefright/OMXCodec.cpp
index 78758da..a8806c8 100644
--- a/media/libstagefright/OMXCodec.cpp
+++ b/media/libstagefright/OMXCodec.cpp
@@ -994,7 +994,6 @@ static OMX_U32 setPFramesSpacing(int32_t iFramesInterval, int32_t frameRate) {
return 0;
}
OMX_U32 ret = frameRate * iFramesInterval - 1;
- CHECK(ret > 1);
return ret;
}