OSDN Git Service

Merge declaration and initialization
authorVitor Sessak <vitor1001@gmail.com>
Sat, 24 May 2008 20:39:34 +0000 (20:39 +0000)
committerVitor Sessak <vitor1001@gmail.com>
Sat, 24 May 2008 20:39:34 +0000 (20:39 +0000)
Commited in SoC by Vitor Sessak on 2008-04-10 16:46:33

Originally committed as revision 13301 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavfilter/graphparser.c

index 1e74542..6b01f49 100644 (file)
@@ -197,8 +197,7 @@ typedef struct AVFilterInOut {
 static void free_inout(AVFilterInOut *head)
 {
     while (head) {
-        AVFilterInOut *next;
-        next = head->next;
+        AVFilterInOut *next = head->next;
         av_free(head);
         head = next;
     }