avformat/matroskaenc: switch to AVFMT_FLAG_BITEXACT
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 18 May 2014 02:02:44 +0000 (04:02 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 18 May 2014 02:04:01 +0000 (04:04 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/matroskaenc.c

index 17eb318..9ced57a 100644 (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)