Skip to content

Commit

Permalink
postprocess: fix another void returning void function.
Browse files Browse the repository at this point in the history
lets hope this makes suncc happy finally ...

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
  • Loading branch information
michaelni committed Jun 10, 2012
1 parent ee1748a commit 234d42f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions libpostproc/postprocess.c
Expand Up @@ -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
Expand Down

0 comments on commit 234d42f

Please sign in to comment.