X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fnsvdec.c;h=e1fcfee4cb9833e2a65e74d27614b4981e998f48;hb=70f7006eb311f49f627f6d3f4f8c43260cc33aa0;hp=4a749a2feb328bf2ffde456fbf4d7985ae2243ae;hpb=4b13ec69c6a23dd25d048bb129fadba131849cf9;p=ffmpeg diff --git a/libavformat/nsvdec.c b/libavformat/nsvdec.c index 4a749a2feb3..e1fcfee4cb9 100644 --- a/libavformat/nsvdec.c +++ b/libavformat/nsvdec.c @@ -706,7 +706,6 @@ static int nsv_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp static int nsv_read_close(AVFormatContext *s) { -/* int i; */ NSVContext *nsv = s->priv_data; av_freep(&nsv->nsvs_file_offset); @@ -715,20 +714,6 @@ static int nsv_read_close(AVFormatContext *s) av_free_packet(&nsv->ahead[0]); if (nsv->ahead[1].data) av_free_packet(&nsv->ahead[1]); - -#if 0 - - for(i=0;inb_streams;i++) { - AVStream *st = s->streams[i]; - NSVStream *ast = st->priv_data; - if(ast){ - av_free(ast->index_entries); - av_free(ast); - } - av_free(st->codec->palctrl); - } - -#endif return 0; }