mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-24 00:02:52 +00:00
ffv1: Pass correct pointers to av_free()
Bug-Id: CID 1295124
This commit is contained in:
parent
3b1e35d46d
commit
338ed3ed33
@ -226,8 +226,8 @@ av_cold int ffv1_init_slice_contexts(FFV1Context *f)
|
||||
|
||||
memfail:
|
||||
for (j = 0; j < i; j++) {
|
||||
av_free(&f->slice_context[j]->sample_buffer);
|
||||
av_free(&f->slice_context[j]);
|
||||
av_free(f->slice_context[j]->sample_buffer);
|
||||
av_free(f->slice_context[j]);
|
||||
}
|
||||
return AVERROR(ENOMEM);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user