[FFmpeg-devel] [PATCH 2/3] avcodec/internal: Deprecate ff_alloc_packet() in favor of ff_alloc_packet2()
Michael Niedermayer
michaelni at gmx.at
Mon Jul 6 12:07:54 CEST 2015
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
libavcodec/internal.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/internal.h b/libavcodec/internal.h
index cea5355..2feb68b 100644
--- a/libavcodec/internal.h
+++ b/libavcodec/internal.h
@@ -221,7 +221,7 @@ int avpriv_unlock_avformat(void);
*/
int ff_alloc_packet2(AVCodecContext *avctx, AVPacket *avpkt, int64_t 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.
--
1.7.9.5
More information about the ffmpeg-devel
mailing list