summaryrefslogtreecommitdiff
path: root/libavformat/nsvdec.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2014-06-19 09:13:19 +0200
committerAnton Khirnov <anton@khirnov.net>2014-07-09 13:38:54 +0000
commit27c1f82f561932c83191bcd3e70e0cb1712485ba (patch)
tree35b831c108d05174cfab10c04c890d636159e2f0 /libavformat/nsvdec.c
parentedb1af7c466ebb28bfdb0c076e498e527b43d24f (diff)
nsvdec: remove commented out cruft
Diffstat (limited to 'libavformat/nsvdec.c')
-rw-r--r--libavformat/nsvdec.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/libavformat/nsvdec.c b/libavformat/nsvdec.c
index 18ebbe35f4..3089ffdd00 100644
--- a/libavformat/nsvdec.c
+++ b/libavformat/nsvdec.c
@@ -704,7 +704,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);
@@ -713,20 +712,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;
}