Showing the changes to libavcodec/8bps.c (1 of 29 files). Show all
Unified · Split
| @@ -122,7 +122,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, · 121 unmodified lines | |||
| 122 | } | 122 | } |
| 123 | 123 | ||
| 124 | if (avctx->bits_per_coded_sample <= 8) { | 124 | if (avctx->bits_per_coded_sample <= 8) { |
| 125 | int size; | 125 | buffer_size_t size; |
| 126 | const uint8_t *pal = av_packet_get_side_data(avpkt, | 126 | const uint8_t *pal = av_packet_get_side_data(avpkt, |
| 127 | AV_PKT_DATA_PALETTE, | 127 | AV_PKT_DATA_PALETTE, |
| 128 | &size); | 128 | &size); |