Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer authored on 2011/09/16 12:30:36... | ... |
@@ -49,12 +49,6 @@ static av_cold int decode_init(AVCodecContext *avctx) |
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]; |