Browse Source

ffv1: Pass correct pointers to av_free()

Bug-Id: CID 1295124
tags/n2.7
Diego Biurrun Vittorio Giovara 10 years ago
parent
commit
338ed3ed33
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavcodec/ffv1.c

+ 2
- 2
libavcodec/ffv1.c View File

@@ -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…
Cancel
Save