aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/af_volume.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-05-05 11:42:18 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-05-05 11:42:18 +0200
commita8ff830b79d05b1c03ae7e2551ff7142e0845cec (patch)
tree35911c95ac168e57e97871aa0524a43a2b04268e /libavfilter/af_volume.c
parent0aa095483d194c0cfe6acc6dd4c72e545312676e (diff)
parent093804a93cc5da3f95f98265a5df116912443cec (diff)
downloadffmpeg-a8ff830b79d05b1c03ae7e2551ff7142e0845cec.tar.gz
Merge commit '093804a93cc5da3f95f98265a5df116912443cec'
* commit '093804a93cc5da3f95f98265a5df116912443cec': avfilter: Add av_cold attributes to init/uninit functions Conflicts: libavfilter/af_ashowinfo.c libavfilter/af_volume.c libavfilter/src_movie.c libavfilter/vf_lut.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/af_volume.c')
-rw-r--r--libavfilter/af_volume.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_volume.c b/libavfilter/af_volume.c
index a55e1a3518..b7aec8d6fa 100644
--- a/libavfilter/af_volume.c
+++ b/libavfilter/af_volume.c
@@ -165,7 +165,7 @@ static inline void scale_samples_s32(uint8_t *dst, const uint8_t *src,
smp_dst[i] = av_clipl_int32((((int64_t)smp_src[i] * volume + 128) >> 8));
}
-static void volume_init(VolumeContext *vol)
+static av_cold void volume_init(VolumeContext *vol)
{
vol->samples_align = 1;