Showing the changes to libavcodec (1 of 1 file). Show all
Unified · Split
| @@ -49,12 +49,6 @@ static av_cold int decode_init(AVCodecContext *avctx) · 48 unmodified lines | |||
| 49 | int i; | 49 | int i; |
| 50 | 50 | ||
| 51 | avctx->pix_fmt = PIX_FMT_PAL8; | 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 | p = avctx->extradata; | 52 | p = avctx->extradata; |
| 59 | if (p) { | 53 | if (p) { |
| 60 | s->font_height = p[0]; | 54 | s->font_height = p[0]; |