diff options
author | Reinhard Tartler <siretart@tauware.de> | 2012-03-18 09:26:32 +0100 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2012-03-18 09:26:32 +0100 |
commit | 050dc127787e91d8ee4b341046c74fe6e74e3285 (patch) | |
tree | a93a7e9dcf89db74f52853d61c97ae2bfa02e07f /cmdutils.c | |
parent | 6acac061ab28bb0b0ffb3edf91289b5f0d788a1c (diff) | |
download | ffmpeg-050dc127787e91d8ee4b341046c74fe6e74e3285.tar.gz |
Read preset files with suffix .avpreset
The preset files have been renamed some time ago.
CC: libav-stable@libav.org
Diffstat (limited to 'cmdutils.c')
-rw-r--r-- | cmdutils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmdutils.c b/cmdutils.c index 336f50bfd8..48cfff7ed5 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -872,12 +872,12 @@ FILE *get_preset_file(char *filename, size_t filename_size, for (i = 0; i < 3 && !f; i++) { if (!base[i]) continue; - snprintf(filename, filename_size, "%s%s/%s.ffpreset", base[i], + snprintf(filename, filename_size, "%s%s/%s.avpreset", base[i], i != 1 ? "" : "/.avconv", preset_name); f = fopen(filename, "r"); if (!f && codec_name) { snprintf(filename, filename_size, - "%s%s/%s-%s.ffpreset", + "%s%s/%s-%s.avpreset", base[i], i != 1 ? "" : "/.avconv", codec_name, preset_name); f = fopen(filename, "r"); |