cmdutils: apply option to codec and format contexts if possible.
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 17 Oct 2012 23:56:48 +0000 (01:56 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 22 Oct 2012 20:24:23 +0000 (22:24 +0200)
commit250fe6eeb4a157295272c26605e5578b1437a184
treeb8f046081944a30071510f30717791d068999f44
parentc68a8a1340e7c8baa17d2dd9d011571f03053087
cmdutils: apply option to codec and format contexts if possible.

This is needed for setting both contexts -err_detect at once.

Reviewed-by: Clément Bœsch <ubitux@gmail.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
cmdutils.c