changeset 327:741c56c608bb libavformat

using LIBAVFORMAT_IDENT
author alex
date Mon, 08 Dec 2003 17:50:38 +0000
parents a44f75c31b8d
children 137b4ce31b0f
files http.c ogg.c
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/http.c	Fri Dec 05 23:12:03 2003 +0000
+++ b/http.c	Mon Dec 08 17:50:38 2003 +0000
@@ -184,13 +184,13 @@
 
     snprintf(s->buffer, sizeof(s->buffer),
              "%s %s HTTP/1.0\n"
-             "User-Agent: FFmpeg %s\n"
+             "User-Agent: %s\n"
              "Accept: */*\n"
              "Host: %s\n"
              "\n",
              post ? "POST" : "GET",
              path,
-             LIBAVFORMAT_VERSION,
+             LIBAVFORMAT_IDENT,
              hoststr);
     
     if (http_write(h, s->buffer, strlen(s->buffer)) < 0)
--- a/ogg.c	Fri Dec 05 23:12:03 2003 +0000
+++ b/ogg.c	Mon Dec 08 17:50:38 2003 +0000
@@ -63,7 +63,7 @@
 	vorbis_block_init(&vd, &vb) ;
 	
 	vorbis_comment_init(&vc) ;
-	vorbis_comment_add_tag(&vc, "encoder", "ffmpeg") ;
+	vorbis_comment_add_tag(&vc, "encoder", LIBAVFORMAT_IDENT) ;
 	if(*avfcontext->title)
 	    vorbis_comment_add_tag(&vc, "title", avfcontext->title) ;