ffmpeg | branch: master | Michael Niedermayer <[email protected]> | 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 <[email protected]>

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

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to