summaryrefslogtreecommitdiff
path: root/libavcodec/vda_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/vda_internal.h')
-rw-r--r--libavcodec/vda_internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/vda_internal.h b/libavcodec/vda_internal.h
index 364ebfb53e..f5d24c21d7 100644
--- a/libavcodec/vda_internal.h
+++ b/libavcodec/vda_internal.h
@@ -31,11 +31,15 @@
* @{
*/
+#if FF_API_VDA_ASYNC
/** Send frame data to the hardware decoder. */
int ff_vda_decoder_decode(struct vda_context *vda_ctx,
uint8_t *bitstream,
int bitstream_size,
int64_t frame_pts);
+#endif
+
+int ff_vda_sync_decode(struct vda_context *vda_ctx);
/* @} */