Showing the changes to libavformat (1 of 1 file). Show all
Unified · Split
| @@ -2493,6 +2493,10 @@ static int mxf_parse_ffv1_frame(AVFormatContext *s, AVStream *st, AVPacket *pkt) · 2492 unmodified lines | |||
| 2493 | if (v > 4) { | 2493 | if (v > 4) { |
| 2494 | return 0; | 2494 | return 0; |
| 2495 | } | 2495 | } |
| 2496 | if (v > 4) { | ||
| 2497 | av_log(s, AV_LOG_ERROR, "unsupported ffv1 version %d\n", v); | ||
| 2498 | return 0; | ||
| 2499 | } | ||
| 2496 | sc->micro_version = get_ffv1_unsigned_symbol(&c, state); | 2500 | sc->micro_version = get_ffv1_unsigned_symbol(&c, state); |
| 2497 | } else { | 2501 | } else { |
| 2498 | uint8_t keystate = 128; | 2502 | uint8_t keystate = 128; |