[Ffmpeg-devel] [PATCH] remove unused code

Limin Wang lance.lmwang
Fri Mar 9 08:16:46 CET 2007


Hi,

$subj


Thanks,
Limin
-------------- next part --------------
Index: ffmpeg.c
===================================================================
--- ffmpeg.c	(revision 8302)
+++ ffmpeg.c	(working copy)
@@ -1347,7 +1347,6 @@
     AVOutputStream *ost, **ost_table = NULL;
     AVInputStream *ist, **ist_table = NULL;
     AVInputFile *file_table;
-    AVFormatContext *stream_no_data;
     int key;
 
     file_table= (AVInputFile*) av_mallocz(nb_input_files * sizeof(AVInputFile));
@@ -1809,7 +1808,6 @@
     }
     term_init();
 
-    stream_no_data = 0;
     key = -1;
 
     for(; received_sigterm == 0;) {
@@ -1879,11 +1877,6 @@
             if (opt_shortest) break; else continue; //
         }
 
-        if (!pkt.size) {
-            stream_no_data = is;
-        } else {
-            stream_no_data = 0;
-        }
         if (do_pkt_dump) {
             av_pkt_dump(stdout, &pkt, do_hex_dump);
         }
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070309/51a1ac3b/attachment.pgp>



More information about the ffmpeg-devel mailing list