]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/libkvazaar.c
avformat/mux: factorize interleaved write_packet
[ffmpeg] / libavcodec / libkvazaar.c
index a89ca7f74951c0337f1eacc11bf31a5983c80265..02bcae3d5c070a108a7f49174328e1dcf50795ee 100644 (file)
@@ -110,8 +110,8 @@ static av_cold int libkvazaar_init(AVCodecContext *avctx)
                            entry->key, entry->value);
                 }
             }
-            av_dict_free(&dict);
         }
+        av_dict_free(&dict);
     }
 
     ctx->encoder = enc = api->encoder_open(cfg);