Skip to content

Commit b57581c

Browse files
Remove opts mmleak
1 parent cfe788e commit b57581c

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/zm_videostore.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -360,16 +360,6 @@ bool VideoStore::open() {
360360
}
361361
av_dict_free(&opts);
362362

363-
// Reload it for next attempt and/or avformat open
364-
ret = av_dict_parse_string(&opts, options.c_str(), "=", "#,\n", 0);
365-
if (ret < 0) {
366-
Warning("Could not parse ffmpeg output options '%s'", options.c_str());
367-
} else {
368-
if (reorder_queue_size) {
369-
av_dict_set(&opts, "reorder_queue_size", nullptr, AV_DICT_MATCH_CASE);
370-
}
371-
}
372-
373363
if (video_out_codec) {
374364
break;
375365
}

0 commit comments

Comments
 (0)