Commit 1ec295a5 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '1b1094a1'

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

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

See: 2a37e560Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 4d216420 1b1094a1
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment