Browse Source

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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.8
Michael Niedermayer Michael Niedermayer 10 years ago
parent
commit
0dbfb5386f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/internal.h

+ 1
- 1
libavcodec/internal.h View File

@@ -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