]> git.sesse.net Git - ffmpeg/commitdiff
postprocess: fix another void returning void function.
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 10 Jun 2012 16:14:51 +0000 (18:14 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 10 Jun 2012 16:26:16 +0000 (18:26 +0200)
lets hope this makes suncc happy finally ...

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libpostproc/postprocess.c

index 1e31cee9f32a15583e5e6901a50f052cec0b0fa0..62eb3b2de049bf81ba65af0b84ab46ee392af68f 100644 (file)
@@ -624,8 +624,10 @@ static inline void postProcess(const uint8_t src[], int srcStride, uint8_t dst[]
     PPMode *ppMode= (PPMode *)vm;
     c->ppMode= *ppMode; //FIXME
 
-    if(ppMode->lumMode & BITEXACT)
-        return postProcess_C(src, srcStride, dst, dstStride, width, height, QPs, QPStride, isColor, c);
+    if(ppMode->lumMode & BITEXACT) {
+        postProcess_C(src, srcStride, dst, dstStride, width, height, QPs, QPStride, isColor, c);
+        return;
+    }
 
     // Using ifs here as they are faster than function pointers although the
     // difference would not be measurable here but it is much better because