Fix compilation error around struct visibility when VDPAU disabled.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Dale Curtis 2014-05-20 12:03:58 -07:00 committed by Michael Niedermayer
parent 80ee2dfcf6
commit d5d6b8e259
1 changed files with 2 additions and 0 deletions

View File

@ -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,