Remove all use of stringstream in an attempt to fix
[dcpomatic.git] / src / lib / ffmpeg_decoder.cc
index a47cd405d38f47ae1ea1536b95a5d440bb989c77..ace54f7194a3eaffd0cd13f984e80af97e0be12e 100644 (file)
@@ -137,7 +137,7 @@ FFmpegDecoder::pass (PassReason reason, bool accurate)
                        /* Maybe we should fail here, but for now we'll just finish off instead */
                        char buf[256];
                        av_strerror (r, buf, sizeof(buf));
-                       LOG_ERROR (N_("error on av_read_frame (%1) (%2)"), buf, r);
+                       LOG_ERROR (N_("error on av_read_frame (%1) (%2)"), &buf[0], r);
                }
 
                flush ();