aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2019-09-29 17:46:01 +0100
committerMark Thompson <sw@jkqxz.net>2020-02-09 20:36:44 +0000
commite1b5620b62ef0e3d04a6c4f3d837328076ed2a9b (patch)
tree3fd60f2a5d5c806febf52b78cf5c6febfa8aa9f2
parent177a90b1a3fcbadbcd3e32bfab5fa3cf01e9b8b8 (diff)
downloadffmpeg-e1b5620b62ef0e3d04a6c4f3d837328076ed2a9b.tar.gz
lavc/vp9_raw_reorder_bsf: Fix operator ordering
Fixes CID 1413024.
-rw-r--r--libavcodec/vp9_raw_reorder_bsf.c2
1 files changed, 1 insertions, 1 deletions
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);