260
261
av_log(avctx, AV_LOG_ERROR, "reget_buffer() failed\n");
264
265
av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
267
268
if ((res = ff_cmap_read_palette(avctx, (uint32_t*)s->frame.data[1])) < 0)
272
273
if (avctx->codec_tag == MKTAG('I','L','B','M')) { // interleaved
274
275
for(y = 0; y < avctx->height; y++ ) {
275
276
uint8_t *row = &s->frame.data[0][ y*s->frame.linesize[0] ];
276
277
memset(row, 0, avctx->width);