diff options
author | John Stebbins <stebbins@jetheaddev.com> | 2015-11-05 09:49:02 -0800 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2015-11-18 11:36:27 +0100 |
commit | 7f4ec4364bc4a73036660c1c6a3c4801db524e9e (patch) | |
tree | 2958c6492f6be1c09363aa99d821355751d1594f /libavformat/mov.c | |
parent | 21ab6fd01b9107d7171fc1a77c2bfacff845a97a (diff) | |
download | ffmpeg-7f4ec4364bc4a73036660c1c6a3c4801db524e9e.tar.gz |
avformat: expose av_stream_new_side_data helper
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r-- | libavformat/mov.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index c7495772fe..aaf1c2db9a 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -684,7 +684,7 @@ static int mov_read_dac3(MOVContext *c, AVIOContext *pb, MOVAtom atom) return 0; st = c->fc->streams[c->fc->nb_streams-1]; - ast = (enum AVAudioServiceType*)ff_stream_new_side_data(st, AV_PKT_DATA_AUDIO_SERVICE_TYPE, + ast = (enum AVAudioServiceType*)av_stream_new_side_data(st, AV_PKT_DATA_AUDIO_SERVICE_TYPE, sizeof(*ast)); if (!ast) return AVERROR(ENOMEM); @@ -716,7 +716,7 @@ static int mov_read_dec3(MOVContext *c, AVIOContext *pb, MOVAtom atom) return 0; st = c->fc->streams[c->fc->nb_streams-1]; - ast = (enum AVAudioServiceType*)ff_stream_new_side_data(st, AV_PKT_DATA_AUDIO_SERVICE_TYPE, + ast = (enum AVAudioServiceType*)av_stream_new_side_data(st, AV_PKT_DATA_AUDIO_SERVICE_TYPE, sizeof(*ast)); if (!ast) return AVERROR(ENOMEM); |