am 40be0709: am dcd76da5: Merge "Make a small correction in terms of GOP structure in the recorded video" into jb-mr1-dev
* commit '40be070922721b285a9436ec49e5d438ba322133':
Make a small correction in terms of GOP structure in the recorded video
diff --git a/media/libstagefright/OMXCodec.cpp b/media/libstagefright/OMXCodec.cpp
index 233a733..07f92c7 100755
--- a/media/libstagefright/OMXCodec.cpp
+++ b/media/libstagefright/OMXCodec.cpp
@@ -890,7 +890,7 @@
} else if (iFramesInterval == 0) {
return 0;
}
- OMX_U32 ret = frameRate * iFramesInterval;
+ OMX_U32 ret = frameRate * iFramesInterval - 1;
CHECK(ret > 1);
return ret;
}