Skip to content

Commit cda82b3

Browse files
committed
lavc: Include common hwaccel unconditionaly
Needed for create_hw_device_ctx() for vulkan hwframes. Shouldn't cause any issues as lavd always includes this too.
1 parent 206b05f commit cda82b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/video_compress/libavcodec.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ extern "C"
8181
#include <libavutil/hwcontext.h>
8282
#include <libavutil/hwcontext_vaapi.h>
8383
}
84-
#include "hwaccel_libav_common.h"
8584
#endif
85+
#include "hwaccel_libav_common.h"
8686

8787
#ifdef HAVE_SWSCALE
8888
extern "C"{

0 commit comments

Comments
 (0)