Commit 0dbfb538 authored by Michael Niedermayer's avatar Michael Niedermayer Committed by Michael Niedermayer

avcodec/internal: Deprecate ff_alloc_packet() in favor of ff_alloc_packet2()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent e36db49b
...@@ -225,7 +225,7 @@ int avpriv_unlock_avformat(void); ...@@ -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_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. * Rescale from sample rate to AVCodecContext.time_base.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment