summaryrefslogtreecommitdiff
path: root/libavformat/framehash.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/framehash.c')
-rw-r--r--libavformat/framehash.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/framehash.c b/libavformat/framehash.c
index 85caeb3111..f97f59b9bb 100644
--- a/libavformat/framehash.c
+++ b/libavformat/framehash.c
@@ -23,6 +23,9 @@
int ff_framehash_write_header(AVFormatContext *s)
{
int i;
+
+ if (s->nb_streams && !(s->streams[0]->codec->flags & CODEC_FLAG_BITEXACT))
+ avio_printf(s->pb, "#software: %s\n", LIBAVFORMAT_IDENT);
for (i = 0; i < s->nb_streams; i++) {
AVStream *st = s->streams[i];
avpriv_set_pts_info(st, 64, st->codec->time_base.num, st->codec->time_base.den);