Skip to content
Snippets Groups Projects
Commit c854102d authored by Nathan Caldwell's avatar Nathan Caldwell Committed by Luca Barbato
Browse files

avcodec: handle AVERROR_EXPERIMENTAL


Error out on init if a codec with CODEC_CAP_EXPERIMENTAL is requested
and strict_std_compliance is not FF_COMPLIANCE_EXPERIMENTAL.

Move the check from avconv to avcodec_open2() and return
AVERROR_EXPERIMENTAL accordingly.

Signed-off-by: default avatarLuca Barbato <lu_zero@gentoo.org>
parent a893655b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment