Unified · Split
| @@ -362,9 +362,9 @@ static int config_input(AVFilterLink *inlink) · 361 unmodified lines | ||
| 362 | 362 | avctx_enc->global_quality = 123; |
| 363 | 363 | av_dict_set(&opts, "no_bitstream", "1", 0); |
| 364 | 364 | ret = avcodec_open2(avctx_enc, enc, &opts); |
| 365 | + av_dict_free(&opts); | |
| 365 | 366 | if (ret < 0) |
| 366 | 367 | return ret; |
| 367 | − av_dict_free(&opts); | |
| 368 | 368 | av_assert0(avctx_enc->codec); |
| 369 | 369 | } |
| 370 | 370 | |