summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/libav/gstavaudenc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/libav/gstavaudenc.c b/ext/libav/gstavaudenc.c
index ad8da90..93eecf5 100644
--- a/ext/libav/gstavaudenc.c
+++ b/ext/libav/gstavaudenc.c
@@ -434,8 +434,8 @@ buffer_info_free (void *opaque, guint8 * data)
gst_buffer_unmap (info->buffer, &info->map);
gst_buffer_unref (info->buffer);
} else {
- g_free (info->ext_data);
- g_free (info->ext_data_array);
+ av_free (info->ext_data);
+ av_free (info->ext_data_array);
}
g_slice_free (BufferInfo, info);
}