mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1109552: Fix incorrect scoped_ptr type (uint8_t array vs ptr) r=glandium
This commit is contained in:
parent
47987a6d11
commit
e725d38d76
@ -83,7 +83,7 @@ VideoContentMetrics* VPMContentAnalysis::ComputeContentMetrics(
|
||||
|
||||
int32_t VPMContentAnalysis::Release() {
|
||||
content_metrics_.reset(NULL);
|
||||
prev_frame_.reset(NULL);
|
||||
prev_frame_.reset();
|
||||
|
||||
width_ = 0;
|
||||
height_ = 0;
|
||||
@ -112,7 +112,7 @@ int32_t VPMContentAnalysis::Initialize(int width, int height) {
|
||||
}
|
||||
|
||||
content_metrics_.reset(NULL);
|
||||
prev_frame_.reset(NULL);
|
||||
prev_frame_.reset();
|
||||
|
||||
// Spatial Metrics don't work on a border of 8. Minimum processing
|
||||
// block size is 16 pixels. So make sure the width and height support this.
|
||||
|
@ -66,7 +66,7 @@ class VPMContentAnalysis {
|
||||
#endif
|
||||
|
||||
const uint8_t* orig_frame_;
|
||||
scoped_ptr<uint8_t> prev_frame_;
|
||||
scoped_ptr<uint8_t[]> prev_frame_;
|
||||
int width_;
|
||||
int height_;
|
||||
int skip_num_;
|
||||
|
Loading…
Reference in New Issue
Block a user