summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/qdrw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/qdrw.c b/libavcodec/qdrw.c
index 41da4afc41..e3d69c226d 100644
--- a/libavcodec/qdrw.c
+++ b/libavcodec/qdrw.c
@@ -405,9 +405,9 @@ static int decode_frame(AVCodecContext *avctx,
if (avctx->pix_fmt == AV_PIX_FMT_RGB555)
ret = decode_rle16(avctx, p, &gbc);
- else if (bpp = 2)
+ else if (bpp == 2)
ret = decode_rle_bpp2(avctx, p, &gbc);
- else if (bpp = 4)
+ else if (bpp == 4)
ret = decode_rle_bpp4(avctx, p, &gbc);
else
ret = decode_rle(avctx, p, &gbc, bppcnt);