Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-10-21 00:23:08 +0400
committerMichael Niedermayer <michaelni@gmx.at>2013-10-23 18:32:32 +0400
commit3ce7c62e1b47af998b7854494978d8bf79329ec2 (patch)
treeacd6618eac9ba4fa2dab9711e4ad504a16d63a47 /libavformat/framehash.c
parentc994b42830cb6c3152b4d383d7c26affc1a2321b (diff)
avformat/framehash: add software version to framecrc/md5
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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);