Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1092)

Unified Diff: media/gpu/h264_dpb.cc

Issue 2534313004: Add prototype D3D11VideoDecodeAccelerator. (Closed)
Patch Set: rename d3d11_video_decoder.cc and other changes Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/gpu/gpu_video_decode_accelerator_factory.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/h264_dpb.cc
diff --git a/media/gpu/h264_dpb.cc b/media/gpu/h264_dpb.cc
index 150bd31f6f110f30b177561bb1ac6173816bf7b7..3cc32a6247a30f9e1902f76100ffd8880e3e5087 100644
--- a/media/gpu/h264_dpb.cc
+++ b/media/gpu/h264_dpb.cc
@@ -62,7 +62,7 @@ void H264DPB::Clear() {
}
void H264DPB::set_max_num_pics(size_t max_num_pics) {
- DCHECK_LE(max_num_pics, kDPBMaxSize);
+ DCHECK_LE(max_num_pics, static_cast<size_t>(kDPBMaxSize));
max_num_pics_ = max_num_pics;
if (pics_.size() > max_num_pics_)
pics_.resize(max_num_pics_);
« no previous file with comments | « media/gpu/gpu_video_decode_accelerator_factory.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698