diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-09-22 18:56:10 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-09-22 18:56:10 +0200 |
commit | a4271f3d4e4efd749e5101aa2cefa5e483bc7989 (patch) | |
tree | 6a3f9bcae89e76e6ccaf785711181890099c73f7 | |
parent | 3db4c88ac1d54381514198f0dba139be1c07d77c (diff) | |
download | ffmpeg-a4271f3d4e4efd749e5101aa2cefa5e483bc7989.tar.gz |
ffmpeg: dont match unspecified media types in MATCH_PER_TYPE_OPT
This would change existing behavior, and should if done, done seperately.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | ffmpeg_opt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c index dc89e67dc1..2e94686894 100644 --- a/ffmpeg_opt.c +++ b/ffmpeg_opt.c @@ -59,7 +59,7 @@ int i, ret;\ for (i = 0; i < o->nb_ ## name; i++) {\ char *spec = o->name[i].specifier;\ - if (!strcmp(spec, mediatype) || !*spec)\ + if (!strcmp(spec, mediatype))\ outvar = o->name[i].u.type;\ else if (ret < 0)\ exit_program(1);\ |