diff options
author | Yaowu Xu <yaowu@google.com> | 2014-04-09 11:37:27 -0700 |
---|---|---|
committer | Yaowu Xu <yaowu@google.com> | 2014-04-09 11:42:28 -0700 |
commit | 4f95a7fe3ef8e786dbb6c9c1dc3240da24538f92 (patch) | |
tree | f500d3cb867b449342f3f48397dfa69b8ca15ecc /third_party/libwebm/mkvreader.cpp | |
parent | e7e426b2748e93d32be21457902cbcf97de350a9 (diff) | |
download | libvpx-4f95a7fe3ef8e786dbb6c9c1dc3240da24538f92.tar libvpx-4f95a7fe3ef8e786dbb6c9c1dc3240da24538f92.tar.gz libvpx-4f95a7fe3ef8e786dbb6c9c1dc3240da24538f92.tar.bz2 libvpx-4f95a7fe3ef8e786dbb6c9c1dc3240da24538f92.zip |
Fix the setting of mode_skip_mask
In mode selection loop, once mode_index pass mode_skip_start, all
modes with a different reference frame from current best mode are
masked out using mode_skip_mask.
However, the setting of mode_skip_mask may use an invalid mode if
there is no mode tested yet. This commit fixes the issue by making
sure a mode has been tested and selected. Otherwise, no mode will be
masked out because of their reference frame.
Change-Id: Ib0009e8a96836a65cf5347440fff8a2e1a67f29f
Diffstat (limited to 'third_party/libwebm/mkvreader.cpp')
0 files changed, 0 insertions, 0 deletions