[FFmpeg-cvslog] avcodec/internal: Deprecate ff_alloc_packet() in favor of ff_alloc_packet2 ()

Michael Niedermayer git at videolan.org
Mon Jul 27 20:19:12 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Jul  6 11:33:01 2015 +0200| [0dbfb5386f1e27ef148793a4eb47bd9826756f2c] | committer: Michael Niedermayer

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

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0dbfb5386f1e27ef148793a4eb47bd9826756f2c
---

 libavcodec/internal.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/internal.h b/libavcodec/internal.h
index 1a15e6b..97b89c1 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.



More information about the ffmpeg-cvslog mailing list