summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/api/api-h264-slice-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/api/api-h264-slice-test.c b/tests/api/api-h264-slice-test.c
index 1d37a85..57e7dc7 100644
--- a/tests/api/api-h264-slice-test.c
+++ b/tests/api/api-h264-slice-test.c
@@ -103,7 +103,7 @@ static void decode(AVCodecContext *dec_ctx, AVFrame *frame,
frame_cnt, frame_cnt,
(frame->width * frame->height + 2 * (frame->height >> desc->log2_chroma_h) * (frame->width >> desc->log2_chroma_w)), sum);
frame_cnt += 1;
- av_free(hash);
+ av_hash_freep(&hash);
av_free(sum);
}
}
OpenPOWER on IntegriCloud