[FFmpeg-cvslog] lavc/vp9_raw_reorder_bsf: Fix operator ordering

Mark Thompson git at videolan.org
Sun Feb 9 22:37:26 EET 2020


ffmpeg | branch: master | Mark Thompson <sw at jkqxz.net> | Sun Sep 29 17:46:01 2019 +0100| [e1b5620b62ef0e3d04a6c4f3d837328076ed2a9b] | committer: Mark Thompson

lavc/vp9_raw_reorder_bsf: Fix operator ordering

Fixes CID 1413024.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e1b5620b62ef0e3d04a6c4f3d837328076ed2a9b
---

 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);



More information about the ffmpeg-cvslog mailing list