diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-10-15 09:14:43 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-10-15 09:14:43 +0100 |
| commit | b67a3505b58ffd204ee1a2560be3026688be8f10 (patch) | |
| tree | ca714b9d7101a9973573d89a5be586d3a0edd4b9 /src/wx/video_waveform_plot.cc | |
| parent | 0165a71f3074233f03c868cce9b760e51cc10ff5 (diff) | |
Use AV_ prefixes on some FFmpeg bits.
Diffstat (limited to 'src/wx/video_waveform_plot.cc')
| -rw-r--r-- | src/wx/video_waveform_plot.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/video_waveform_plot.cc b/src/wx/video_waveform_plot.cc index a9100b4b4..0dedd9bb1 100644 --- a/src/wx/video_waveform_plot.cc +++ b/src/wx/video_waveform_plot.cc @@ -137,7 +137,7 @@ VideoWaveformPlot::create_waveform () } dcp::Size const size = _image->size(); - _waveform.reset (new Image (PIX_FMT_RGB24, dcp::Size (size.width, size.height), true)); + _waveform.reset (new Image (AV_PIX_FMT_RGB24, dcp::Size (size.width, size.height), true)); for (int x = 0; x < size.width; ++x) { @@ -166,7 +166,7 @@ VideoWaveformPlot::create_waveform () _waveform = _waveform->scale ( dcp::Size (GetSize().GetWidth() - 32, GetSize().GetHeight() - _vertical_margin * 2), - dcp::YUV_TO_RGB_REC709, PIX_FMT_RGB24, false + dcp::YUV_TO_RGB_REC709, AV_PIX_FMT_RGB24, false ); } |
