summaryrefslogtreecommitdiffstats
path: root/libavcodec/cfhd.c
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2018-05-08 12:45:11 +0200
committerClément Bœsch <u@pkh.me>2018-05-08 12:47:38 +0200
commit6876a63368931fffd9d2aa228907aac685a6701e (patch)
tree7994931a4ccc8eca2a380abf8ff33ae4b8f2e9d8 /libavcodec/cfhd.c
parent1eb4e731fc443ffb81e63274003d33947ec160fe (diff)
downloadffmpeg-streaming-6876a63368931fffd9d2aa228907aac685a6701e.zip
ffmpeg-streaming-6876a63368931fffd9d2aa228907aac685a6701e.tar.gz
lavc/cfhd: use AV_CEIL_RSHIFT instead of deprecated FF_CEIL_RSHIFT
Diffstat (limited to 'libavcodec/cfhd.c')
-rw-r--r--libavcodec/cfhd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/cfhd.c b/libavcodec/cfhd.c
index f10742f..7ceb803 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);
OpenPOWER on IntegriCloud