]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/intrax8.c
Make 8SVX codec names just a single word for consistency with other codec names.
[ffmpeg] / libavcodec / intrax8.c
index ec1567ea230a9e9841849d0b93dda3c38fb67627..0436deb4ce865ac008b37b9705a1eab7eddb5e69 100644 (file)
@@ -676,6 +676,15 @@ void ff_intrax8_common_init(IntraX8Context * w, MpegEncContext * const s){
     ff_init_scantable(s->dsp.idct_permutation, &w->scantable[2], wmv1_scantable[3]);
 }
 
+/**
+ * Destroy IntraX8 frame structure.
+ * @param w pointer to IntraX8Context
+ */
+void ff_intrax8_common_end(IntraX8Context * w)
+{
+    av_freep(&w->prediction_table);
+}
+
 /**
  * Decode single IntraX8 frame.
  * The parent codec must fill s->loopfilter and s->gb (bitstream).