summaryrefslogtreecommitdiff
path: root/libavcodec/encode.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-06-01 11:44:00 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-06-01 14:52:26 +0200
commitf02b1b12221843e4817e16f4fa210790a8c26184 (patch)
treebd9a0db552791158df76dd140fc40006107a6225 /libavcodec/encode.c
parentdd76226842f268c7f85a125da1834e3af2413be4 (diff)
avcodec/encode: Remove ff_alloc_packet
It is no longer used anymore. Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/encode.c')
-rw-r--r--libavcodec/encode.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/encode.c b/libavcodec/encode.c
index b850f86d0c..b1784ed050 100644
--- a/libavcodec/encode.c
+++ b/libavcodec/encode.c
@@ -70,11 +70,6 @@ int ff_alloc_packet2(AVCodecContext *avctx, AVPacket *avpkt, int64_t size, int64
}
}
-int ff_alloc_packet(AVPacket *avpkt, int size)
-{
- return ff_alloc_packet2(NULL, avpkt, size, 0);
-}
-
/**
* Pad last frame with silence.
*/