[FFmpeg-cvslog] avformat/rka: improve probing

Paul B Mahol git at videolan.org
Tue Feb 14 23:30:28 EET 2023


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Tue Feb 14 09:55:02 2023 +0100| [4113445e9d4d7600c676ee0e42f1dc7968de6e0f] | committer: Paul B Mahol

avformat/rka: improve probing

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

 libavformat/rka.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/rka.c b/libavformat/rka.c
index c1e64ebcb3..cc55480345 100644
--- a/libavformat/rka.c
+++ b/libavformat/rka.c
@@ -42,7 +42,7 @@ static int rka_probe(const AVProbeData *p)
         p->buf[12] > 0 &&
         p->buf[12] <= 2 &&
         (p->buf[13] == 8 || p->buf[13] == 16) &&
-        p->buf[15] & 2 != 0)
+        (p->buf[15] & 2) != 0)
         return AVPROBE_SCORE_EXTENSION + 30;
     return 0;
 }



More information about the ffmpeg-cvslog mailing list