You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
ffv1: Pass correct pointers to av_free()
Bug-Id: CID 1295124
This commit is contained in:
committed by
Vittorio Giovara
parent
3b1e35d46d
commit
338ed3ed33
@@ -226,8 +226,8 @@ av_cold int ffv1_init_slice_contexts(FFV1Context *f)
|
|||||||
|
|
||||||
memfail:
|
memfail:
|
||||||
for (j = 0; j < i; j++) {
|
for (j = 0; j < i; j++) {
|
||||||
av_free(&f->slice_context[j]->sample_buffer);
|
av_free(f->slice_context[j]->sample_buffer);
|
||||||
av_free(&f->slice_context[j]);
|
av_free(f->slice_context[j]);
|
||||||
}
|
}
|
||||||
return AVERROR(ENOMEM);
|
return AVERROR(ENOMEM);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user