]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/vp9_raw_reorder_bsf.c
avfilter/avfilter: Remove compatibility code for old filter options
[ffmpeg] / libavcodec / vp9_raw_reorder_bsf.c
index f19b4c7198023dd9628913ab31f5c40b9155f944..6562399159f240271a1c7810378fad790414f799 100644 (file)
@@ -20,9 +20,9 @@
 #include "libavutil/intmath.h"
 #include "libavutil/log.h"
 #include "libavutil/mem.h"
-#include "libavutil/opt.h"
 
 #include "bsf.h"
+#include "bsf_internal.h"
 #include "get_bits.h"
 #include "put_bits.h"
 
@@ -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);