aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-05-18 04:02:44 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-05-18 04:04:32 +0200
commit17c8a069167e055b33813aa9a29220c3563573b7 (patch)
tree4c182e68ffda2fcaca849ce7ddf024d1a6fb1c51
parent9646ea63df78fe79b2f9fa3e8a0f08e48bd074bb (diff)
downloadffmpeg-17c8a069167e055b33813aa9a29220c3563573b7.tar.gz
avformat/framehash: switch to AVFMT_FLAG_BITEXACT
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/framehash.c2
1 files changed, 1 insertions, 1 deletions
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];