Add missing ifdef
This commit is contained in:
parent
e5a6517897
commit
31a7f2b4d9
|
@ -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 ||
|
if (!b->buffer[i].sws ||
|
||||||
!b->buffer[i].source ||
|
!b->buffer[i].source ||
|
||||||
|
#if LIBAVUTIL_VERSION_MAJOR > 55
|
||||||
!b->buffer[i].hw_source ||
|
!b->buffer[i].hw_source ||
|
||||||
|
#endif
|
||||||
!b->buffer[i].target ||
|
!b->buffer[i].target ||
|
||||||
!b->buffer[i].frame_buf)
|
!b->buffer[i].frame_buf)
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
Loading…
Reference in New Issue