AVOptions: fix using named constants with child contexts.
authorAnton Khirnov <anton@khirnov.net>
Tue, 12 Mar 2013 17:21:27 +0000 (18:21 +0100)
committerAnton Khirnov <anton@khirnov.net>
Sat, 16 Mar 2013 04:35:33 +0000 (05:35 +0100)
commit4d67ff8e8e3f8733ca2844143ebb2ac0ab34a9cd
tree475336b36d838201a79b2b5564076a19b1c6aba0
parent9676b9a2cdc4a90611188fc48d8d388e427997c5
AVOptions: fix using named constants with child contexts.

The named constant needs to be searched for in the same object on which
the option is set, i.e. target_obj.
libavutil/opt.c