comparison asf.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 6c1263967c7c
comparison
equal deleted inserted replaced
3486:f68fcc8b8e9e 3487:2f191d610db9
923 int i; 923 int i;
924 924
925 asf_reset_header(s); 925 asf_reset_header(s);
926 for(i=0;i<s->nb_streams;i++) { 926 for(i=0;i<s->nb_streams;i++) {
927 AVStream *st = s->streams[i]; 927 AVStream *st = s->streams[i];
928 av_free(st->priv_data);
929 av_free(st->codec->palctrl); 928 av_free(st->codec->palctrl);
930 } 929 }
931 return 0; 930 return 0;
932 } 931 }
933 932