i965_drv_video: fix POC value for current picture 26/526/1
authorXiang, Haihao <haihao.xiang@intel.com>
Mon, 29 Mar 2010 07:37:12 +0000 (15:37 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Mon, 29 Mar 2010 07:37:12 +0000 (15:37 +0800)
i965_drv_video/i965_avc_bsd.c

index 9770207..84739e9 100644 (file)
@@ -448,6 +448,7 @@ i965_avc_bsd_buf_base_state(VADriverContextP ctx, struct decode_state *decode_st
         }
     }
 
+    va_pic = &pic_param->CurrPic;
     OUT_BCS_BATCH(ctx, va_pic->TopFieldOrderCnt);
     OUT_BCS_BATCH(ctx, va_pic->BottomFieldOrderCnt);