[SCM] libav/experimental: nsvdec: remove commented out cruft

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Aug 10 16:03:48 UTC 2014


The following commit has been merged in the experimental branch:
commit 27c1f82f561932c83191bcd3e70e0cb1712485ba
Author: Anton Khirnov <anton at khirnov.net>
Date:   Thu Jun 19 09:13:19 2014 +0200

    nsvdec: remove commented out cruft

diff --git a/libavformat/nsvdec.c b/libavformat/nsvdec.c
index 18ebbe3..3089ffd 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;
 }
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list