Mercurial > libavcodec.hg
comparison cook.c @ 4423:96a09fef9a67 libavcodec
Get rid of one warning.
| author | banan |
|---|---|
| date | Sat, 27 Jan 2007 17:30:54 +0000 |
| parents | a0f83004d485 |
| children | 8c830bde8006 |
comparison
equal
deleted
inserted
replaced
| 4422:c867ae28d4de | 4423:96a09fef9a67 |
|---|---|
| 1153 * @param avctx pointer to the AVCodecContext | 1153 * @param avctx pointer to the AVCodecContext |
| 1154 */ | 1154 */ |
| 1155 | 1155 |
| 1156 static int cook_decode_init(AVCodecContext *avctx) | 1156 static int cook_decode_init(AVCodecContext *avctx) |
| 1157 { | 1157 { |
| 1158 COOKextradata *e = avctx->extradata; | 1158 COOKextradata *e = (COOKextradata *)avctx->extradata; |
| 1159 COOKContext *q = avctx->priv_data; | 1159 COOKContext *q = avctx->priv_data; |
| 1160 | 1160 |
| 1161 /* Take care of the codec specific extradata. */ | 1161 /* Take care of the codec specific extradata. */ |
| 1162 if (avctx->extradata_size <= 0) { | 1162 if (avctx->extradata_size <= 0) { |
| 1163 av_log(avctx,AV_LOG_ERROR,"Necessary extradata missing!\n"); | 1163 av_log(avctx,AV_LOG_ERROR,"Necessary extradata missing!\n"); |
