diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-03-17 12:57:42 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-03-17 13:05:13 +0100 |
commit | 2a37e560dccb81328f610c51e74ce6cc53f1a5c7 (patch) | |
tree | 8a8e8569f6be8f90d73808614d45fdcf00317893 /libavcodec/vdpau.c | |
parent | 377cfc28a226a66d6f872f0a16b3811208011ebc (diff) | |
download | ffmpeg-2a37e560dccb81328f610c51e74ce6cc53f1a5c7.tar.gz |
avcodec/vdpau: fix ff_vdpau_get_surface_id() argument after H264Picture
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vdpau.c')
-rw-r--r-- | libavcodec/vdpau.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vdpau.c b/libavcodec/vdpau.c index 6f9a55a254..06f6d4c4f2 100644 --- a/libavcodec/vdpau.c +++ b/libavcodec/vdpau.c @@ -67,7 +67,7 @@ int ff_vdpau_mpeg_end_frame(AVCodecContext *avctx) MpegEncContext *s = avctx->priv_data; Picture *pic = s->current_picture_ptr; struct vdpau_picture_context *pic_ctx = pic->hwaccel_picture_private; - VdpVideoSurface surf = ff_vdpau_get_surface_id(pic); + VdpVideoSurface surf = ff_vdpau_get_surface_id(&pic->f); #if FF_API_BUFS_VDPAU FF_DISABLE_DEPRECATION_WARNINGS |