diff avidec.c @ 3487:2f191d610db9 libavformat

uniformize AVStream->priv_data freeing in av_close_input_stream
author bcoudurier
date Fri, 20 Jun 2008 17:22:56 +0000
parents f68fcc8b8e9e
children e50efb387048
line wrap: on
line diff
--- a/avidec.c	Fri Jun 20 17:16:56 2008 +0000
+++ b/avidec.c	Fri Jun 20 17:22:56 2008 +0000
@@ -1060,8 +1060,6 @@
 
     for(i=0;i<s->nb_streams;i++) {
         AVStream *st = s->streams[i];
-        AVIStream *ast = st->priv_data;
-        av_free(ast);
         av_free(st->codec->palctrl);
     }