浏览代码

postproc/postprocess: remove redundant casts

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer 11 年之前
父节点
当前提交
5a9ca68e15
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      libpostproc/postprocess.c

+ 2 - 2
libpostproc/postprocess.c

@@ -953,8 +953,8 @@ void  pp_postprocess(const uint8_t * src[3], const int srcStride[3],
 {
     int mbWidth = (width+15)>>4;
     int mbHeight= (height+15)>>4;
-    PPMode *mode = (PPMode*)vm;
-    PPContext *c = (PPContext*)vc;
+    PPMode *mode = vm;
+    PPContext *c = vc;
     int minStride= FFMAX(FFABS(srcStride[0]), FFABS(dstStride[0]));
     int absQPStride = FFABS(QPStride);