Skip to content
Snippets Groups Projects
Commit c1173437 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

avcodec/ffv1enc: Fix storing RGB48 without explicitly set level


the bps value is only stored with level >= 1, using rgb48 with level 0 requires the
user app to keep track of the bps by external means, which does not always happen
also we force level >= 1 for other 16bps formats, so this is consistent.

Found-by: default avatarJerome Martinez <jerome@mediaarea.net>
Signed-off-by: default avatarMichael Niedermayer <michael@niedermayer.cc>
parent ba53d3ae
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