From 7f4ec4364bc4a73036660c1c6a3c4801db524e9e Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Thu, 5 Nov 2015 09:49:02 -0800 Subject: avformat: expose av_stream_new_side_data helper Signed-off-by: Anton Khirnov --- libavformat/replaygain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/replaygain.c') diff --git a/libavformat/replaygain.c b/libavformat/replaygain.c index 98e7aad81b..3188b1503b 100644 --- a/libavformat/replaygain.c +++ b/libavformat/replaygain.c @@ -75,7 +75,7 @@ int ff_replaygain_export_raw(AVStream *st, int32_t tg, uint32_t tp, if (tg == INT32_MIN && ag == INT32_MIN) return 0; - replaygain = (AVReplayGain*)ff_stream_new_side_data(st, AV_PKT_DATA_REPLAYGAIN, + replaygain = (AVReplayGain*)av_stream_new_side_data(st, AV_PKT_DATA_REPLAYGAIN, sizeof(*replaygain)); if (!replaygain) return AVERROR(ENOMEM); -- cgit v1.2.3