aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vp56.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2010-03-03 22:29:06 +0000
committerAurelien Jacobs <aurel@gnuage.org>2010-03-03 22:29:06 +0000
commitded2100e48cfbf23bcc367a0b215776d5f621419 (patch)
treea5cf98481285953f66cc797d41b72da0d31466ba /libavcodec/vp56.c
parent68b0fd7c685f8db4842f3509a8b47d33e74f6e50 (diff)
downloadffmpeg-ded2100e48cfbf23bcc367a0b215776d5f621419.tar.gz
move vp6 huffman table freeing code, out of common vp56 code
Originally committed as revision 22186 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vp56.c')
-rw-r--r--libavcodec/vp56.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/libavcodec/vp56.c b/libavcodec/vp56.c
index dd8f05a8c3..63055f5059 100644
--- a/libavcodec/vp56.c
+++ b/libavcodec/vp56.c
@@ -26,7 +26,6 @@
#include "vp56.h"
#include "vp56data.h"
-#include "get_bits.h"
void vp56_init_dequant(VP56Context *s, int quantizer)
@@ -696,7 +695,6 @@ av_cold void vp56_init(AVCodecContext *avctx, int flip, int has_alpha)
av_cold int vp56_free(AVCodecContext *avctx)
{
VP56Context *s = avctx->priv_data;
- int pt;
av_freep(&s->qscale_table);
av_freep(&s->above_blocks);
@@ -708,15 +706,5 @@ av_cold int vp56_free(AVCodecContext *avctx)
avctx->release_buffer(avctx, s->framep[VP56_FRAME_GOLDEN2]);
if (s->framep[VP56_FRAME_PREVIOUS]->data[0])
avctx->release_buffer(avctx, s->framep[VP56_FRAME_PREVIOUS]);
-
- for (pt=0; pt < 2; pt++) {
- int ct, cg;
- free_vlc(&s->dccv_vlc[pt]);
- free_vlc(&s->runv_vlc[pt]);
- for (ct=0; ct<3; ct++)
- for (cg = 0; cg < 6; cg++)
- free_vlc(&s->ract_vlc[pt][ct][cg]);
- }
-
return 0;
}