[FFmpeg-cvslog] postproc/postprocess: remove redundant casts

Michael Niedermayer git at videolan.org
Fri Sep 19 00:02:02 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Sep 18 21:11:37 2014 +0200| [5a9ca68e15fe01a0b54a6b7808a42ef746dd7d75] | committer: Michael Niedermayer

postproc/postprocess: remove redundant casts

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5a9ca68e15fe01a0b54a6b7808a42ef746dd7d75
---

 libpostproc/postprocess.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libpostproc/postprocess.c b/libpostproc/postprocess.c
index 214a654..b6da294 100644
--- a/libpostproc/postprocess.c
+++ b/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);
 



More information about the ffmpeg-cvslog mailing list