mirror of https://git.ffmpeg.org/ffmpeg.git
indent
Originally committed as revision 13709 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
23b20b5cf3
commit
439c18c75d
14
ffmpeg.c
14
ffmpeg.c
|
@ -3648,14 +3648,14 @@ static int opt_preset(const char *opt, const char *arg)
|
|||
|
||||
for(i=!base[0]; i<3 && !f; i++){
|
||||
snprintf(tmp, sizeof(tmp), "%s/%sffmpeg/%s.ffpreset", base[i], i ? "" : ".", arg);
|
||||
f= fopen(tmp, "r");
|
||||
if(!f){
|
||||
char *codec_name= *opt == 'v' ? video_codec_name :
|
||||
*opt == 'a' ? audio_codec_name :
|
||||
subtitle_codec_name;
|
||||
snprintf(tmp, sizeof(tmp), "%s/%sffmpeg/%s-%s.ffpreset", base[i], i ? "" : ".", codec_name, arg);
|
||||
f= fopen(tmp, "r");
|
||||
}
|
||||
if(!f){
|
||||
char *codec_name= *opt == 'v' ? video_codec_name :
|
||||
*opt == 'a' ? audio_codec_name :
|
||||
subtitle_codec_name;
|
||||
snprintf(tmp, sizeof(tmp), "%s/%sffmpeg/%s-%s.ffpreset", base[i], i ? "" : ".", codec_name, arg);
|
||||
f= fopen(tmp, "r");
|
||||
}
|
||||
}
|
||||
|
||||
if(!f){
|
||||
|
|
Loading…
Reference in New Issue