Unified · Split
| @@ -49,12 +49,6 @@ static av_cold int decode_init(AVCodecContext *avctx) · 48 unmodified lines | ||
| 49 | 49 | int i; |
| 50 | 50 | |
| 51 | 51 | avctx->pix_fmt = PIX_FMT_PAL8; |
| 52 | − s->frame.reference = 1; | |
| 53 | − if (avctx->get_buffer(avctx, &s->frame)) { | |
| 54 | − av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n"); | |
| 55 | − return -1; | |
| 56 | − } | |
| 57 | − | |
| 58 | 52 | p = avctx->extradata; |
| 59 | 53 | if (p) { |
| 60 | 54 | s->font_height = p[0]; |