Unified · Split
| @@ -1248,7 +1248,7 @@ static int GetCodingFrameNumFromGopMap(const std::vector<int> &gop_map) { · 1247 unmodified lines | ||
| 1248 | 1248 | start_show_index += gop_command.show_frame_count; |
| 1249 | 1249 | coding_frame_count += gop_command_coding_frame_count(&gop_command); |
| 1250 | 1250 | } |
| 1251 | − assert(start_show_index == gop_map.size()); | |
| 1251 | + assert(static_cast<size_t>(start_show_index) == gop_map.size()); | |
| 1252 | 1252 | return coding_frame_count; |
| 1253 | 1253 | } |
| 1254 | 1254 | |
| @@ -1279,7 +1279,8 @@ int SimpleEncode::GetCodingFrameNum() const { · 24 unmodified lines | ||
| 1279 | 1279 | |
| 1280 | 1280 | std::vector<int> SimpleEncode::ComputeKeyFrameMap() const { |
| 1281 | 1281 | // The last entry of first_pass_stats is the overall stats. |
| 1282 | − assert(impl_ptr_->first_pass_stats.size() == num_frames_ + 1); | |
| 1282 | + assert(impl_ptr_->first_pass_stats.size() == | |
| 1283 | + static_cast<size_t>(num_frames_) + 1); | |
| 1283 | 1284 | vpx_rational_t frame_rate = |
| 1284 | 1285 | make_vpx_rational(frame_rate_num_, frame_rate_den_); |
| 1285 | 1286 | const VP9EncoderConfig oxcf = GetEncodeConfig( |