[Libav-user] decoding/encoding example passes c->priv_data to av_opt_set; shouldn't it just pass c?
Carl Eugen Hoyos
cehoyos at ag.or.at
Thu Dec 11 23:40:23 CET 2014
Michael Bradshaw <mjbshaw at ...> writes:
> After I suggest passing the AVCodecContext*
> instead of the priv_data member, like so:
>
> av_opt_set(c, "preset", "slow", 0);
> they report that the options are correctly set.
Maybe you should consider to send a patch to the
developer mailing list?
(I did not look at the issue / test myself.)
Carl Eugen
More information about the Libav-user
mailing list