]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/hwcontext_vdpau.c
avutil/buffer: Switch AVBuffer API to size_t
[ffmpeg] / libavutil / hwcontext_vdpau.c
index a6fd7126f377a8ff3deadde9d6b8842e3d8b981c..5b78e95529f70e9e6d672e5333ebd0bcfa497782 100644 (file)
@@ -225,7 +225,7 @@ static void vdpau_buffer_free(void *opaque, uint8_t *data)
     device_priv->surf_destroy(surf);
 }
 
-static AVBufferRef *vdpau_pool_alloc(void *opaque, buffer_size_t size)
+static AVBufferRef *vdpau_pool_alloc(void *opaque, size_t size)
 {
     AVHWFramesContext             *ctx = opaque;
     VDPAUFramesContext           *priv = ctx->internal->priv;