diff h264.c @ 8565:6687083ec76a libavcodec

Remove H264Context from vdpau_internal.h.
author cehoyos
date Sun, 11 Jan 2009 00:48:20 +0000
parents b59279494d84
children 7a463923ecd1
line wrap: on
line diff
--- a/h264.c	Sat Jan 10 23:17:07 2009 +0000
+++ b/h264.c	Sun Jan 11 00:48:20 2009 +0000
@@ -7625,7 +7625,7 @@
         s->current_picture_ptr->pict_type= s->pict_type;
 
         if (ENABLE_H264_VDPAU_DECODER && avctx->codec_id == CODEC_ID_H264_VDPAU)
-            ff_vdpau_h264_set_reference_frames(h);
+            ff_vdpau_h264_set_reference_frames(s);
 
         if(!s->dropable) {
             execute_ref_pic_marking(h, h->mmco, h->mmco_index);
@@ -7636,7 +7636,7 @@
         h->prev_frame_num= h->frame_num;
 
         if (ENABLE_H264_VDPAU_DECODER && avctx->codec_id == CODEC_ID_H264_VDPAU)
-            ff_vdpau_h264_picture_complete(h);
+            ff_vdpau_h264_picture_complete(s);
 
         /*
          * FIXME: Error handling code does not seem to support interlaced