]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/tedcaptionsdec.c
Merge commit '5956f489d0452ff6dea6b6b81b4fa8e596fc5684'
[ffmpeg] / libavformat / tedcaptionsdec.c
index 68063fafbe045a25f0401148f3269648899d54ed..fb578ebc03606606b672a36d9673768417aaf3ff 100644 (file)
@@ -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)
 {