diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-07-06 11:33:01 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-07-27 19:58:36 +0200 |
commit | 0dbfb5386f1e27ef148793a4eb47bd9826756f2c (patch) | |
tree | cb62cae81c418ffc9f8d3b537b89b0821b0df78f /libavcodec | |
parent | e36db49b7b31cb17912895cb4d95b7b45d6f0882 (diff) | |
download | ffmpeg-0dbfb5386f1e27ef148793a4eb47bd9826756f2c.tar.gz |
avcodec/internal: Deprecate ff_alloc_packet() in favor of ff_alloc_packet2()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
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. |