Le quartidi 24 nivôse, an CCXXIII, Michael Bradshaw a écrit :
> In the encoding/decoding example[1], in the video_encode_example()
> function, av_opt_set() is used to set the option "preset" to "slow" (here,
> c is a AVCodecContext*):
>
> av_opt_set(c->priv_data, "preset", "slow", 0);
>
> I p
In the encoding/decoding example[1], in the video_encode_example()
function, av_opt_set() is used to set the option "preset" to "slow" (here,
c is a AVCodecContext*):
av_opt_set(c->priv_data, "preset", "slow", 0);
I presume this is wrong to use priv_data, and instead the codec context
should