fftools/ffmpeg_mux_init: move validating codec avoptions to a separate function

This commit is contained in:
Anton Khirnov
2022-11-14 11:18:26 +01:00
parent 0fb7d111e8
commit 52380a055b
3 changed files with 51 additions and 44 deletions

View File

@@ -694,7 +694,7 @@ void assert_avoptions(AVDictionary *m);
void assert_file_overwrite(const char *filename);
char *file_read(const char *filename);
AVDictionary *strip_specifiers(AVDictionary *dict);
AVDictionary *strip_specifiers(const AVDictionary *dict);
const AVCodec *find_codec_or_die(const char *name, enum AVMediaType type, int encoder);
int parse_and_set_vsync(const char *arg, int *vsync_var, int file_idx, int st_idx, int is_global);