git.videolan.org
/
ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vdpau: don't assume Picture and H264Picture are the same
[ffmpeg.git]
/
libavcodec
/
vdpau_vc1.c
diff --git
a/libavcodec/vdpau_vc1.c
b/libavcodec/vdpau_vc1.c
index
b401352
..
01ad0ae
100644
(file)
--- a/
libavcodec/vdpau_vc1.c
+++ b/
libavcodec/vdpau_vc1.c
@@
-89,7
+89,7
@@
static int vdpau_vc1_start_frame(AVCodecContext *avctx,
info->deblockEnable = v->postprocflag & 1;
info->pquant = v->pq;
info->deblockEnable = v->postprocflag & 1;
info->pquant = v->pq;
- return ff_vdpau_common_start_frame(pic, buffer, size);
+ return ff_vdpau_common_start_frame(pic
_ctx
, buffer, size);
}
static int vdpau_vc1_decode_slice(AVCodecContext *avctx,
}
static int vdpau_vc1_decode_slice(AVCodecContext *avctx,
@@
-101,7
+101,7
@@
static int vdpau_vc1_decode_slice(AVCodecContext *avctx,
struct vdpau_picture_context *pic_ctx = pic->hwaccel_picture_private;
int val;
struct vdpau_picture_context *pic_ctx = pic->hwaccel_picture_private;
int val;
- val = ff_vdpau_add_buffer(pic, buffer, size);
+ val = ff_vdpau_add_buffer(pic
_ctx
, buffer, size);
if (val < 0)
return val;
if (val < 0)
return val;