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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/161/head
Michael Niedermayer 10 years ago committed by Michael Niedermayer
parent e36db49b7b
commit 0dbfb5386f
  1. 2
      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.

Loading…
Cancel
Save