summaryrefslogtreecommitdiffstats
path: root/media/base/mac/video_frame_mac.cc
diff options
context:
space:
mode:
Diffstat (limited to 'media/base/mac/video_frame_mac.cc')
-rw-r--r--media/base/mac/video_frame_mac.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/base/mac/video_frame_mac.cc b/media/base/mac/video_frame_mac.cc
index e532ddc..9fd290465 100644
--- a/media/base/mac/video_frame_mac.cc
+++ b/media/base/mac/video_frame_mac.cc
@@ -43,7 +43,7 @@ WrapVideoFrameInCVPixelBuffer(const VideoFrame& frame) {
// represent I420 and NV12 frames. In addition, VideoFrame does not carry
// colorimetric information, so this function assumes standard video range
// and ITU Rec 709 primaries.
- VideoFrame::Format video_frame_format = frame.format();
+ const VideoFrame::Format video_frame_format = frame.format();
OSType cv_format;
if (video_frame_format == VideoFrame::Format::I420) {
cv_format = kCVPixelFormatType_420YpCbCr8Planar;