Merge commit '1b1094a19d9e41baf3253c83841f9e5343cecbd0'

* commit '1b1094a19d9e41baf3253c83841f9e5343cecbd0':
  vdpau: switch ff_vdpau_get_surface_id from Picture to AVFrame

Conflicts:
	libavcodec/vdpau_internal.h
	libavcodec/vdpau_vc1.c

See: 2a37e560dccb81328f610c51e74ce6cc53f1a5c7
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-03-20 22:47:29 +01:00
commit 1ec295a5c5

View File

@ -36,10 +36,10 @@
#include "mpegvideo.h"
#include "version.h"
/** Extract VdpVideoSurface from a Picture */
static inline uintptr_t ff_vdpau_get_surface_id(AVFrame *frm)
/** Extract VdpVideoSurface from an AVFrame */
static inline uintptr_t ff_vdpau_get_surface_id(AVFrame *pic)
{
return (uintptr_t)frm->data[3];
return (uintptr_t)pic->data[3];
}
#if CONFIG_VDPAU