From 17c8a069167e055b33813aa9a29220c3563573b7 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 18 May 2014 04:02:44 +0200 Subject: [PATCH] avformat/framehash: switch to AVFMT_FLAG_BITEXACT Signed-off-by: Michael Niedermayer --- libavformat/framehash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/framehash.c b/libavformat/framehash.c index f97f59b9bb..f075c404fc 100644 --- a/libavformat/framehash.c +++ b/libavformat/framehash.c @@ -24,7 +24,7 @@ int ff_framehash_write_header(AVFormatContext *s) { int i; - if (s->nb_streams && !(s->streams[0]->codec->flags & CODEC_FLAG_BITEXACT)) + if (s->nb_streams && !(s->flags & AVFMT_FLAG_BITEXACT)) avio_printf(s->pb, "#software: %s\n", LIBAVFORMAT_IDENT); for (i = 0; i < s->nb_streams; i++) { AVStream *st = s->streams[i];