From 0dbfb5386f1e27ef148793a4eb47bd9826756f2c Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 6 Jul 2015 11:33:01 +0200 Subject: avcodec/internal: Deprecate ff_alloc_packet() in favor of ff_alloc_packet2() Signed-off-by: Michael Niedermayer --- libavcodec/internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/internal.h') diff --git a/libavcodec/internal.h b/libavcodec/internal.h index 1a15e6b443..97b89c1c1d 100644 --- a/libavcodec/internal.h +++ b/libavcodec/internal.h @@ -225,7 +225,7 @@ int avpriv_unlock_avformat(void); */ int ff_alloc_packet2(AVCodecContext *avctx, AVPacket *avpkt, int64_t size, int64_t min_size); -int ff_alloc_packet(AVPacket *avpkt, int size); +attribute_deprecated int ff_alloc_packet(AVPacket *avpkt, int size); /** * Rescale from sample rate to AVCodecContext.time_base. -- cgit v1.2.3