Print libavformat version in outgoing SDPs.
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Tue, 8 Jul 2008 07:05:57 +0000 (07:05 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Tue, 8 Jul 2008 07:05:57 +0000 (07:05 +0000)
Originally committed as revision 14106 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/sdp.c

index c1075c3..cf83e60 100644 (file)
@@ -59,7 +59,7 @@ static void sdp_write_header(char *buff, int size, struct sdp_session_level *s)
                             "o=- %d %d IN IPV4 %s\r\n"
                             "t=%d %d\r\n"
                             "s=%s\r\n"
-                            "a=tool:libavformat\r\n",
+                            "a=tool:libavformat " AV_STRINGIFY(LIBAVFORMAT_VERSION) "\r\n",
                             s->sdp_version,
                             s->id, s->version, s->src_addr,
                             s->start_time, s->end_time,