[FFmpeg-cvslog] hdsenc: Use the right filename in an error message

Martin Storsjö git at videolan.org
Wed Nov 19 20:29:07 CET 2014


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Tue Nov 18 14:16:41 2014 +0200| [f918b8a2933a65020cbe490ec637d5485c11a692] | committer: Martin Storsjö

hdsenc: Use the right filename in an error message

Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f918b8a2933a65020cbe490ec637d5485c11a692
---

 libavformat/hdsenc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/hdsenc.c b/libavformat/hdsenc.c
index ae9275c..012de60 100644
--- a/libavformat/hdsenc.c
+++ b/libavformat/hdsenc.c
@@ -174,7 +174,7 @@ static int write_manifest(AVFormatContext *s, int final)
     ret = avio_open2(&out, temp_filename, AVIO_FLAG_WRITE,
                      &s->interrupt_callback, NULL);
     if (ret < 0) {
-        av_log(s, AV_LOG_ERROR, "Unable to open %s for writing\n", filename);
+        av_log(s, AV_LOG_ERROR, "Unable to open %s for writing\n", temp_filename);
         return ret;
     }
     avio_printf(out, "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n");



More information about the ffmpeg-cvslog mailing list