]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/framehash.c
avformat/gxf: fix old codec id
[ffmpeg] / libavformat / framehash.c
index 85caeb31111fd8f89f6fe6cf227fe7946202ef3d..f97f59b9bb2a09ea99e12e0b69abea09234625e2 100644 (file)
@@ -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);