mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
bintext: remove unneeded get_buffer()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
07a70caba7
commit
fa2dbcd46a
@ -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];
|
||||
|
Loading…
x
Reference in New Issue
Block a user