aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2014-09-16 10:07:56 +0200
committerClément Bœsch <clement@stupeflix.com>2014-09-16 16:57:20 +0200
commitde0e49c2450f3c59dd746e59a713fb9313369441 (patch)
tree4c9cf717d632414d32c62179fca37cdb44b2904f
parent2c21e8b1a490dcfb8999bb44e20e59f657939acc (diff)
downloadffmpeg-de0e49c2450f3c59dd746e59a713fb9313369441.tar.gz
avformat/flacenc: use av_clip() instead of av_clip_c()
-rw-r--r--libavformat/flacenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/flacenc.c b/libavformat/flacenc.c
index b3695a27ba..0eea94288f 100644
--- a/libavformat/flacenc.c
+++ b/libavformat/flacenc.c
@@ -95,7 +95,7 @@ static int flac_write_header(struct AVFormatContext *s)
padding = 8192;
/* The FLAC specification states that 24 bits are used to represent the
* size of a metadata block so we must clip this value to 2^24-1. */
- padding = av_clip_c(padding, 0, 16777215);
+ padding = av_clip(padding, 0, 16777215);
ret = ff_flac_write_header(s->pb, codec->extradata,
codec->extradata_size, 0);