Unified · Split
| @@ -53,7 +53,6 @@ static int apv_extract_header_info(GetByteContext *gbc) · 52 unmodified lines | |||
| 53 | 53 | ||
| 54 | if (info->pbu_type == APV_PBU_ACCESS_UNIT_INFORMATION) { | 54 | if (info->pbu_type == APV_PBU_ACCESS_UNIT_INFORMATION) { |
| 55 | unsigned int num_frames = bytestream2_get_be16(gbc); | 55 | unsigned int num_frames = bytestream2_get_be16(gbc); |
| 56 | int pbu_type; | ||
| 57 | 56 | ||
| 58 | if (num_frames < 1) | 57 | if (num_frames < 1) |
| 59 | return AVERROR_INVALIDDATA; | 58 | return AVERROR_INVALIDDATA; |