summaryrefslogtreecommitdiff
authorMichael Niedermayer <michaelni@gmx.at>2012-06-10 16:14:51 (GMT)
committer Michael Niedermayer <michaelni@gmx.at>2012-06-10 16:26:16 (GMT)
commit234d42f53bad912290c0c6a5a7fd886bc47007ce (patch)
treed4db4f82c4f0bcf754e09ddafd7186fe4b0e98f1
parentee1748ab539b46e34808ef7d9b496e2d7fd24350 (diff)
downloadffmpeg-234d42f53bad912290c0c6a5a7fd886bc47007ce.zip
ffmpeg-234d42f53bad912290c0c6a5a7fd886bc47007ce.tar.gz
ffmpeg-234d42f53bad912290c0c6a5a7fd886bc47007ce.tar.bz2
postprocess: fix another void returning void function.
lets hope this makes suncc happy finally ... Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat
-rw-r--r--libpostproc/postprocess.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libpostproc/postprocess.c b/libpostproc/postprocess.c
index 1e31cee..62eb3b2 100644
--- a/libpostproc/postprocess.c
+++ b/libpostproc/postprocess.c
@@ -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