Changeset d501b986 in ffmpeg


Ignore:
Timestamp:
Feb 18, 2015, 12:55:15 AM (10 years ago)
Author:
Michael Niedermayer <michaelni@gmx.at>
Branches:
master
Children:
8bc80016
Parents:
0babb896
Message:

swscale/bayer_template: Add () to protect the argument of BAYER_READ()

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libswscale/bayer_template.c

    r0babb896 rd501b986  
    3737#endif
    3838#if defined(BAYER_16LE)
    39 #define BAYER_READ(x) AV_RL16(&x)
     39#define BAYER_READ(x) AV_RL16(&(x))
    4040#define BAYER_SIZEOF  2
    4141#define BAYER_SHIFT   8
    4242#endif
    4343#if defined(BAYER_16BE)
    44 #define BAYER_READ(x) AV_RB16(&x)
     44#define BAYER_READ(x) AV_RB16(&(x))
    4545#define BAYER_SIZEOF  2
    4646#define BAYER_SHIFT   8
Note: See TracChangeset for help on using the changeset viewer.