diff --git a/libavformat/mov.c b/libavformat/mov.c
index 773760c..a75217d 100644
|
a
|
b
|
int ff_mov_read_stsd_entries(MOVContext *c, AVIOContext *pb, int entries)
|
| 1046 | 1046 | if (color_greyscale) { |
| 1047 | 1047 | int color_index, color_dec; |
| 1048 | 1048 | /* compute the greyscale palette */ |
| 1049 | | st->codec->bits_per_coded_sample = color_depth; |
| | 1049 | if (id != CODEC_ID_CINEPAK) |
| | 1050 | st->codec->bits_per_coded_sample = color_depth; |
| 1050 | 1051 | color_count = 1 << color_depth; |
| 1051 | 1052 | color_index = 255; |
| 1052 | 1053 | color_dec = 256 / (color_count - 1); |