diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2024-02-19 10:50:45 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-19 10:50:45 -0500 |
| commit | c9ef2e26ca82cacc44998727d704f4b77ee88591 (patch) | |
| tree | 43a5699123e4930560fc5016faac7efb15b63f4e /src/video_core/host1x/ffmpeg/ffmpeg.cpp | |
| parent | 58c7e846cbc1aaab3d7309712b9c68eef3633315 (diff) | |
| parent | 310c1f50beb77fc5c6f9075029973161d4e51a4a (diff) | |
Merge pull request #13080 from FearlessTobi/scope-exit
scope_exit: Make constexpr
Diffstat (limited to 'src/video_core/host1x/ffmpeg/ffmpeg.cpp')
| -rw-r--r-- | src/video_core/host1x/ffmpeg/ffmpeg.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/host1x/ffmpeg/ffmpeg.cpp b/src/video_core/host1x/ffmpeg/ffmpeg.cpp index 96686da59..1003cd38d 100644 --- a/src/video_core/host1x/ffmpeg/ffmpeg.cpp +++ b/src/video_core/host1x/ffmpeg/ffmpeg.cpp @@ -273,10 +273,10 @@ DeinterlaceFilter::DeinterlaceFilter(const Frame& frame) { const AVFilter* buffer_sink = avfilter_get_by_name("buffersink"); AVFilterInOut* inputs = avfilter_inout_alloc(); AVFilterInOut* outputs = avfilter_inout_alloc(); - SCOPE_EXIT({ + SCOPE_EXIT { avfilter_inout_free(&inputs); avfilter_inout_free(&outputs); - }); + }; // Don't know how to get the accurate time_base but it doesn't matter for yadif filter // so just use 1/1 to make buffer filter happy |
