Mercurial > libavcodec.hg
comparison cscd.c @ 6262:8d57e5a33dbd libavcodec
const
| author | michael |
|---|---|
| date | Fri, 01 Feb 2008 14:50:36 +0000 |
| parents | f99e40a7155b |
| children | 5f4bdfd1aa0e |
comparison
equal
deleted
inserted
replaced
| 6261:a0797336b964 | 6262:8d57e5a33dbd |
|---|---|
| 133 } | 133 } |
| 134 } | 134 } |
| 135 #endif | 135 #endif |
| 136 | 136 |
| 137 static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, | 137 static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, |
| 138 uint8_t *buf, int buf_size) { | 138 const uint8_t *buf, int buf_size) { |
| 139 CamStudioContext *c = avctx->priv_data; | 139 CamStudioContext *c = avctx->priv_data; |
| 140 AVFrame *picture = data; | 140 AVFrame *picture = data; |
| 141 | 141 |
| 142 if (buf_size < 2) { | 142 if (buf_size < 2) { |
| 143 av_log(avctx, AV_LOG_ERROR, "coded frame too small\n"); | 143 av_log(avctx, AV_LOG_ERROR, "coded frame too small\n"); |
