aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/utils.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-08-12 00:13:21 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-08-12 00:13:21 +0200
commit98fd8a78487f03998cb9d552ae2b7d7aee3ce4f1 (patch)
tree22ea5fe15bd68aa07f05159be7512954065b51d9 /libavcodec/utils.c
parenta5ef7960fc96ed773acc4149104d6acf534e8a87 (diff)
downloadffmpeg-98fd8a78487f03998cb9d552ae2b7d7aee3ce4f1.tar.gz
avcodec: Remove ff_packet_free_side_data, use av_packet_free_side_data
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r--libavcodec/utils.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index c23805a341..f845349a5f 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -1712,7 +1712,7 @@ int attribute_align_arg avcodec_encode_audio(AVCodecContext *avctx,
avctx->coded_frame->key_frame = !!(pkt.flags & AV_PKT_FLAG_KEY);
}
/* free any side data since we cannot return it */
- ff_packet_free_side_data(&pkt);
+ av_packet_free_side_data(&pkt);
if (frame && frame->extended_data != frame->data)
av_freep(&frame->extended_data);
@@ -2001,7 +2001,7 @@ int attribute_align_arg avcodec_decode_video2(AVCodecContext *avctx, AVFrame *pi
avctx->pkt = NULL;
if (did_split) {
- ff_packet_free_side_data(&tmp);
+ av_packet_free_side_data(&tmp);
if(ret == tmp.size)
ret = avpkt->size;
}
@@ -2177,7 +2177,7 @@ int attribute_align_arg avcodec_decode_audio4(AVCodecContext *avctx,
avctx->pkt = NULL;
if (did_split) {
- ff_packet_free_side_data(&tmp);
+ av_packet_free_side_data(&tmp);
if(ret == tmp.size)
ret = avpkt->size;
}
@@ -2352,7 +2352,7 @@ int avcodec_decode_subtitle2(AVCodecContext *avctx, AVSubtitle *sub,
}
if (did_split) {
- ff_packet_free_side_data(&tmp);
+ av_packet_free_side_data(&tmp);
if(ret == tmp.size)
ret = avpkt->size;
}