ffmpeg | branch: master | James Almer <jamr...@gmail.com> | Tue Feb 21 20:21:52 2017 -0300| [d04e0a6bcffed7b4a0a90ae25fb21466561762df] | committer: James Almer
avcodec/qdrw: don't overwrite bpp when checking its value Finishes fixing ticket #6171 > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d04e0a6bcffed7b4a0a90ae25fb21466561762df --- libavcodec/qdrw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/qdrw.c b/libavcodec/qdrw.c index 41da4af..e3d69c2 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); _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog