summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJulian Scheel <julian@jusst.de>2008-12-01 20:39:58 +0000
committerJulian Scheel <julian@jusst.de>2008-12-01 20:39:58 +0000
commitc81918d927a1bfec86c45fcf293d35f0ef8a3431 (patch)
treeaf04d5479986e23081a24b96513aa0ddbe81ff63 /src
parent833e829c33d3c9a77674e89fb6efacf6b43ad68a (diff)
downloadxine-lib-c81918d927a1bfec86c45fcf293d35f0ef8a3431.tar.gz
xine-lib-c81918d927a1bfec86c45fcf293d35f0ef8a3431.tar.bz2
First picture.
Diffstat (limited to 'src')
-rw-r--r--src/libvdpau/vdpau_h264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libvdpau/vdpau_h264.c b/src/libvdpau/vdpau_h264.c
index 5ca120b04..0559c66d7 100644
--- a/src/libvdpau/vdpau_h264.c
+++ b/src/libvdpau/vdpau_h264.c
@@ -230,7 +230,7 @@ static void vdpau_h264_decode_data (video_decoder_t *this_gen,
img->bad_frame = 0;
/* create surface if needed */
- if(this->vdpau_accel->surface == 0) {
+ if(this->vdpau_accel->surface == VDP_INVALID_HANDLE) {
VdpStatus status = this->vdpau_accel->vdp_video_surface_create(this->vdpau_accel->vdp_device,
VDP_YCBCR_FORMAT_YV12, this->width, this->height,
&this->vdpau_accel->surface);