Revision a2338352
libavcodec/mpeg12.c | ||
---|---|---|
1970 | 1970 |
(width % 2) != 0 || (height % 2) != 0) |
1971 | 1971 |
return -1; |
1972 | 1972 |
s->aspect_ratio_info= get_bits(&s->gb, 4); |
1973 |
if (s->aspect_ratio_info == 0) |
|
1974 |
return -1; |
|
1975 | 1973 |
s->frame_rate_index = get_bits(&s->gb, 4); |
1976 | 1974 |
if (s->frame_rate_index == 0 || s->frame_rate_index > 13) |
1977 | 1975 |
return -1; |
Also available in: Unified diff