Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

lavf: dealloc private options in av_write_trailer

Fix the iformat/oformat typo.
  • Loading branch information...
commit 4badb386cee42569e2e1a1c6981a33c065ebf2de 1 parent d32eed5
Luca Barbato authored December 12, 2011

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  libavformat/utils.c
2  libavformat/utils.c
@@ -3261,7 +3261,7 @@ int av_write_trailer(AVFormatContext *s)
3261 3261
         av_freep(&s->streams[i]->priv_data);
3262 3262
         av_freep(&s->streams[i]->index_entries);
3263 3263
     }
3264  
-    if (s->iformat && s->iformat->priv_class)
  3264
+    if (s->oformat->priv_class)
3265 3265
         av_opt_free(s->priv_data);
3266 3266
     av_freep(&s->priv_data);
3267 3267
     return ret;

0 notes on commit 4badb38

Please sign in to comment.
Something went wrong with that request. Please try again.