summaryrefslogtreecommitdiff
path: root/libavcodec/libtheoraenc.c
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2015-02-28 10:36:16 +0100
committerClément Bœsch <u@pkh.me>2015-03-02 21:27:21 +0100
commit546d69eb43e831bb67a8a0d54a8762a315710c94 (patch)
tree0f25608330566a2abfaa205d06be99b66f9671f0 /libavcodec/libtheoraenc.c
parentcb39fe9336539f7a88c5ac8e2ad6c840338c0306 (diff)
avcodec: use av_frame_free() for coded_frame
Diffstat (limited to 'libavcodec/libtheoraenc.c')
-rw-r--r--libavcodec/libtheoraenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libtheoraenc.c b/libavcodec/libtheoraenc.c
index 48f6c07aee..b4b395aa8c 100644
--- a/libavcodec/libtheoraenc.c
+++ b/libavcodec/libtheoraenc.c
@@ -359,7 +359,7 @@ static av_cold int encode_close(AVCodecContext* avc_context)
th_encode_free(h->t_state);
av_freep(&h->stats);
- av_freep(&avc_context->coded_frame);
+ av_frame_free(&avc_context->coded_frame);
av_freep(&avc_context->stats_out);
av_freep(&avc_context->extradata);
avc_context->extradata_size = 0;