diff vdpauvideo.c @ 8562:187862685e70 libavcodec

Use only MpegEncContext in ff_vdpau_h264_add_data_chunk.
author cehoyos
date Sat, 10 Jan 2009 22:57:51 +0000
parents 2a8ad335df49
children b59279494d84
line wrap: on
line diff
--- a/vdpauvideo.c	Sat Jan 10 22:55:26 2009 +0000
+++ b/vdpauvideo.c	Sat Jan 10 22:57:51 2009 +0000
@@ -106,10 +106,9 @@
     }
 }
 
-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];