mirror of
https://github.com/librempeg/librempeg
synced 2024-11-23 11:39:47 +00:00
avcodec/vp8: fix () in macros
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
aab23f5ddd
commit
c89be82c98
@ -2755,7 +2755,7 @@ static av_cold int vp8_decode_init_thread_copy(AVCodecContext *avctx)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#define REBASE(pic) pic ? pic - &s_src->frames[0] + &s->frames[0] : NULL
|
||||
#define REBASE(pic) ((pic) ? (pic) - &s_src->frames[0] + &s->frames[0] : NULL)
|
||||
|
||||
static int vp8_decode_update_thread_context(AVCodecContext *dst,
|
||||
const AVCodecContext *src)
|
||||
|
@ -254,7 +254,7 @@ MK_IDCT_DC_ADD4_C(vp8)
|
||||
int av_unused q2 = p[ 2 * stride]; \
|
||||
int av_unused q3 = p[ 3 * stride];
|
||||
|
||||
#define clip_int8(n) (cm[n + 0x80] - 0x80)
|
||||
#define clip_int8(n) (cm[(n) + 0x80] - 0x80)
|
||||
|
||||
static av_always_inline void filter_common(uint8_t *p, ptrdiff_t stride,
|
||||
int is4tap, int is_vp7)
|
||||
|
Loading…
Reference in New Issue
Block a user