Commit 57fa9e97 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '27c1f82f'

* commit '27c1f82f':
  nsvdec: remove commented out cruft
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 73b12830 27c1f82f
......@@ -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;i<s->nb_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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment