summaryrefslogtreecommitdiff
path: root/libavcodec/bintext.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-09-16 05:30:36 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-09-16 05:53:31 +0200
commitfa2dbcd46ab067b8900a58c499dcfabb190a8854 (patch)
treeabc9668c14a853781d085b9c258949c87dc6ffdf /libavcodec/bintext.c
parent07a70caba7cb2fac69bf9541914d4bffce61d1ea (diff)
downloadffmpeg-fa2dbcd46ab067b8900a58c499dcfabb190a8854.tar.gz
bintext: remove unneeded get_buffer()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/bintext.c')
-rw-r--r--libavcodec/bintext.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libavcodec/bintext.c b/libavcodec/bintext.c
index 0726d4689d..a4467b35e8 100644
--- a/libavcodec/bintext.c
+++ b/libavcodec/bintext.c
@@ -49,12 +49,6 @@ static av_cold int decode_init(AVCodecContext *avctx)
int i;
avctx->pix_fmt = PIX_FMT_PAL8;
- s->frame.reference = 1;
- if (avctx->get_buffer(avctx, &s->frame)) {
- av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
- return -1;
- }
-
p = avctx->extradata;
if (p) {
s->font_height = p[0];