Changeset dfc2a398 in ffmpeg


Ignore:
Timestamp:
Feb 18, 2015, 12:49:28 AM (10 years ago)
Author:
Michael Niedermayer <michaelni@gmx.at>
Branches:
master
Children:
b7c19aee
Parents:
092ee6cd
git-author:
Michael Niedermayer <michaelni@gmx.at> (02/18/15 00:34:50)
git-committer:
Michael Niedermayer <michaelni@gmx.at> (02/18/15 00:49:28)
Message:

avcodec/wmalosslessdec: Add () to protect the arguments of WMASIGN()

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libavcodec/wmalosslessdec.c

    r092ee6cd rdfc2a398  
    177177
    178178/** Get sign of integer (1 for positive, -1 for negative and 0 for zero) */
    179 #define WMASIGN(x) ((x > 0) - (x < 0))
     179#define WMASIGN(x) (((x) > 0) - ((x) < 0))
    180180
    181181static av_cold int decode_init(AVCodecContext *avctx)
Note: See TracChangeset for help on using the changeset viewer.