Fixes ticket #11416
Showing the changes to libavformat (1 of 1 file). Show all
Unified · Split
| @@ -570,6 +570,7 @@ static int param_parse(void *s, IAMFContext *c, AVIOContext *pb, · 569 unmodified lines | |||
| 570 | 570 | ||
| 571 | if (!mode && !constant_subblock_duration && total_duration != duration) { | 571 | if (!mode && !constant_subblock_duration && total_duration != duration) { |
| 572 | av_log(s, AV_LOG_ERROR, "Invalid subblock durations in parameter_id %u\n", parameter_id); | 572 | av_log(s, AV_LOG_ERROR, "Invalid subblock durations in parameter_id %u\n", parameter_id); |
| 573 | av_free(param); | ||
| 573 | return AVERROR_INVALIDDATA; | 574 | return AVERROR_INVALIDDATA; |
| 574 | } | 575 | } |
| 575 | 576 | ||