Browse Source

avformat/matroskaenc: switch to AVFMT_FLAG_BITEXACT

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.3
Michael Niedermayer 11 years ago
parent
commit
0421409c52
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/matroskaenc.c

+ 1
- 1
libavformat/matroskaenc.c View File

@@ -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)


Loading…
Cancel
Save