From de0e49c2450f3c59dd746e59a713fb9313369441 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= Date: Tue, 16 Sep 2014 10:07:56 +0200 Subject: [PATCH] avformat/flacenc: use av_clip() instead of av_clip_c() --- libavformat/flacenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);