Commit 0421409c authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/matroskaenc: switch to AVFMT_FLAG_BITEXACT

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent fab50573
......@@ -1064,7 +1064,7 @@ static int mkv_write_attachments(AVFormatContext *s)
return AVERROR(EINVAL);
}
if (st->codec->flags & CODEC_FLAG_BITEXACT) {
if (s->flags & AVFMT_FLAG_BITEXACT) {
struct AVSHA *sha = av_sha_alloc();
uint8_t digest[20];
if (!sha)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment