From e1b5620b62ef0e3d04a6c4f3d837328076ed2a9b Mon Sep 17 00:00:00 2001 From: Mark Thompson Date: Sun, 29 Sep 2019 17:46:01 +0100 Subject: [PATCH] lavc/vp9_raw_reorder_bsf: Fix operator ordering Fixes CID 1413024. --- libavcodec/vp9_raw_reorder_bsf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/vp9_raw_reorder_bsf.c b/libavcodec/vp9_raw_reorder_bsf.c index f19b4c7198..e55a358457 100644 --- a/libavcodec/vp9_raw_reorder_bsf.c +++ b/libavcodec/vp9_raw_reorder_bsf.c @@ -292,7 +292,7 @@ static int vp9_raw_reorder_filter(AVBSFContext *bsf, AVPacket *out) return err; } - if (in->data[in->size - 1] & 0xe0 == 0xc0) { + if ((in->data[in->size - 1] & 0xe0) == 0xc0) { av_log(bsf, AV_LOG_ERROR, "Input in superframes is not " "supported.\n"); av_packet_free(&in);