Commit a4271f3d authored by Michael Niedermayer's avatar Michael Niedermayer

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: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 3db4c88a
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
int i, ret;\ int i, ret;\
for (i = 0; i < o->nb_ ## name; i++) {\ for (i = 0; i < o->nb_ ## name; i++) {\
char *spec = o->name[i].specifier;\ char *spec = o->name[i].specifier;\
if (!strcmp(spec, mediatype) || !*spec)\ if (!strcmp(spec, mediatype))\
outvar = o->name[i].u.type;\ outvar = o->name[i].u.type;\
else if (ret < 0)\ else if (ret < 0)\
exit_program(1);\ exit_program(1);\
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment