Commit 527f1d22 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/tedcaptionsdec: add () to protect the argument of ERR_CODE()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 61eb602d
......@@ -51,7 +51,7 @@ static const AVClass tedcaptions_demuxer_class = {
#define HEX_DIGIT_TEST(c) (BETWEEN(c, '0', '9') || BETWEEN((c) | 32, 'a', 'z'))
#define HEX_DIGIT_VAL(c) ((c) <= '9' ? (c) - '0' : ((c) | 32) - 'a' + 10)
#define ERR_CODE(c) (c < 0 ? c : AVERROR_INVALIDDATA)
#define ERR_CODE(c) ((c) < 0 ? (c) : AVERROR_INVALIDDATA)
static void av_bprint_utf8(AVBPrint *bp, unsigned c)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment