Commit fa2dbcd4 authored by Michael Niedermayer's avatar Michael Niedermayer

bintext: remove unneeded get_buffer()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 07a70cab
...@@ -49,12 +49,6 @@ static av_cold int decode_init(AVCodecContext *avctx) ...@@ -49,12 +49,6 @@ static av_cold int decode_init(AVCodecContext *avctx)
int i; int i;
avctx->pix_fmt = PIX_FMT_PAL8; 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; p = avctx->extradata;
if (p) { if (p) {
s->font_height = p[0]; s->font_height = p[0];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment