comparison aasc.c @ 8720:052c676c433b libavcodec

Silence useless compiler warning when passing AVFrame* instead of AVPicture* to ff_msrle_decode()
author kostya
date Sun, 01 Feb 2009 14:44:51 +0000
parents e9d9d946f213
children 54bc8a2727b0
comparison
equal deleted inserted replaced
8719:2dbf614093ea 8720:052c676c433b
81 memcpy(s->frame.data[0] + i*s->frame.linesize[0], buf, avctx->width*3); 81 memcpy(s->frame.data[0] + i*s->frame.linesize[0], buf, avctx->width*3);
82 buf += stride; 82 buf += stride;
83 } 83 }
84 break; 84 break;
85 case 1: 85 case 1:
86 ff_msrle_decode(avctx, &s->frame, 8, buf - 4, buf_size + 4); 86 ff_msrle_decode(avctx, (AVPicture*)&s->frame, 8, buf - 4, buf_size + 4);
87 break; 87 break;
88 default: 88 default:
89 av_log(avctx, AV_LOG_ERROR, "Unknown compression type %d\n", compr); 89 av_log(avctx, AV_LOG_ERROR, "Unknown compression type %d\n", compr);
90 return -1; 90 return -1;
91 } 91 }