Skip to content

Commit

Permalink
rotate_vt: silence a warning
Browse files Browse the repository at this point in the history
The filter is never enabled on macOS before version 13, so there is no need to do some ugly casts here
  • Loading branch information
galad87 committed Oct 10, 2024
1 parent f6fb090 commit 5fa1e55
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libhb/platform/macosx/rotate_vt.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@

struct hb_filter_private_s
{
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunguarded-availability-new"
VTPixelRotationSessionRef session;
#pragma GCC diagnostic pop
CVPixelBufferPoolRef pool;

hb_filter_init_t input;
Expand Down

0 comments on commit 5fa1e55

Please sign in to comment.