summaryrefslogtreecommitdiff
path: root/libavcodec/vdpauvideo.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2009-01-10 22:57:51 +0000
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2009-01-10 22:57:51 +0000
commit1968e438d00af0a264f8b16ce88b7a099eebe23f (patch)
treeee27519a9db64ab3ad0e1233685baa241dfa6553 /libavcodec/vdpauvideo.c
parent6f0b5d6fae3bcbd4791ecaa40f7016d29e4d0ea9 (diff)
Use only MpegEncContext in ff_vdpau_h264_add_data_chunk.
Originally committed as revision 16520 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vdpauvideo.c')
-rw-r--r--libavcodec/vdpauvideo.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/vdpauvideo.c b/libavcodec/vdpauvideo.c
index 248716ac20..e79fa5ac4a 100644
--- a/libavcodec/vdpauvideo.c
+++ b/libavcodec/vdpauvideo.c
@@ -106,10 +106,9 @@ void ff_vdpau_h264_set_reference_frames(H264Context *h)
}
}
-void ff_vdpau_h264_add_data_chunk(H264Context *h,
+void ff_vdpau_h264_add_data_chunk(MpegEncContext *s,
const uint8_t *buf, int buf_size)
{
- MpegEncContext * s = &h->s;
struct vdpau_render_state * render;
render = (struct vdpau_render_state*)s->current_picture_ptr->data[0];