Skip to content

Commit

Permalink
Add missing ifdef
Browse files Browse the repository at this point in the history
  • Loading branch information
inactive123 committed Dec 24, 2019
1 parent e5a6517 commit 31a7f2b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cores/libretro-ffmpeg/video_buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ video_buffer_t *video_buffer_create(size_t num, int frame_size, int width, int h

if (!b->buffer[i].sws ||
!b->buffer[i].source ||
#if LIBAVUTIL_VERSION_MAJOR > 55
!b->buffer[i].hw_source ||
#endif
!b->buffer[i].target ||
!b->buffer[i].frame_buf)
goto fail;
Expand Down

0 comments on commit 31a7f2b

Please sign in to comment.