[FFmpeg-cvslog] lavc/cfhd: use AV_CEIL_RSHIFT instead of deprecated FF_CEIL_RSHIFT
Clément Bœsch
git at videolan.org
Tue May 8 13:48:15 EEST 2018
ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Tue May 8 12:45:11 2018 +0200| [6876a63368931fffd9d2aa228907aac685a6701e] | committer: Clément Bœsch
lavc/cfhd: use AV_CEIL_RSHIFT instead of deprecated FF_CEIL_RSHIFT
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6876a63368931fffd9d2aa228907aac685a6701e
---
libavcodec/cfhd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/cfhd.c b/libavcodec/cfhd.c
index f10742f4fa..7ceb803595 100644
--- a/libavcodec/cfhd.c
+++ b/libavcodec/cfhd.c
@@ -627,7 +627,7 @@ static int cfhd_decode(AVCodecContext *avctx, void *data, int *got_frame,
goto end;
}
- bytes = FFALIGN(FF_CEIL_RSHIFT(get_bits_count(&s->gb), 3), 4);
+ bytes = FFALIGN(AV_CEIL_RSHIFT(get_bits_count(&s->gb), 3), 4);
if (bytes > bytestream2_get_bytes_left(&gb)) {
av_log(avctx, AV_LOG_ERROR, "Bitstream overread error\n");
ret = AVERROR(EINVAL);
More information about the ffmpeg-cvslog
mailing list