changeset 80:63807035cdb5 libavformat

10l
author michaelni
date Sat, 08 Mar 2003 23:39:53 +0000
parents 8bdaec4e3e4b
children ff560598f12d
files avidec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/avidec.c	Sat Mar 08 14:29:12 2003 +0000
+++ b/avidec.c	Sat Mar 08 23:39:53 2003 +0000
@@ -209,8 +209,8 @@
     if (stream_index != s->nb_streams - 1) {
     fail:
         for(i=0;i<s->nb_streams;i++) {
+            av_freep(&s->streams[i]->codec.extradata);
             av_freep(&s->streams[i]);
-            av_freep(&s->streams[i]->codec.extradata);
         }
         return -1;
     }