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 1e74542dfa070cbb5953c6a54cf27d7d0790720d..6b01f496500b00c78228a3c11cd02c1e2efcf6fd 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;
     }