diff options
author | Dale Curtis <dalecurtis@chromium.org> | 2014-05-20 12:03:58 -0700 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-05-22 01:53:13 +0200 |
commit | d5d6b8e259793d0f96f820d4d724652268f0f8d4 (patch) | |
tree | 6de021c87b4b435997fa081d2085e34fe18b7963 /libavcodec/vdpau_internal.h | |
parent | 80ee2dfcf6744525b0d08311333a06ab780af30c (diff) | |
download | ffmpeg-d5d6b8e259793d0f96f820d4d724652268f0f8d4.tar.gz |
Fix compilation error around struct visibility when VDPAU disabled.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vdpau_internal.h')
-rw-r--r-- | libavcodec/vdpau_internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/vdpau_internal.h b/libavcodec/vdpau_internal.h index 604298c877..a7319ed77e 100644 --- a/libavcodec/vdpau_internal.h +++ b/libavcodec/vdpau_internal.h @@ -75,6 +75,8 @@ struct vdpau_picture_context { */ VdpBitstreamBuffer *bitstream_buffers; }; +#else +struct vdpau_picture_context; #endif int ff_vdpau_common_start_frame(struct vdpau_picture_context *pic, |