aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/hdsenc.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2014-11-18 14:16:41 +0200
committerMartin Storsjö <martin@martin.st>2014-11-19 13:36:43 +0200
commitf918b8a2933a65020cbe490ec637d5485c11a692 (patch)
treeb9eab74ece4af69a1e7cc41c624809fdedd57bab /libavformat/hdsenc.c
parent7813e6752bdab38a5686c301e869ee71d97bce69 (diff)
downloadffmpeg-f918b8a2933a65020cbe490ec637d5485c11a692.tar.gz
hdsenc: Use the right filename in an error message
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/hdsenc.c')
-rw-r--r--libavformat/hdsenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/hdsenc.c b/libavformat/hdsenc.c
index ae9275c5ea..012de60b1f 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");