From 642695c2fee0d4b23449b4063bfc592bb0b2ca61 Mon Sep 17 00:00:00 2001 From: Rene Gollent Date: Fri, 6 Jun 2008 15:27:28 +0000 Subject: [PATCH] Build fix. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25827 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/media/MediaExtractor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kits/media/MediaExtractor.cpp b/src/kits/media/MediaExtractor.cpp index fd3f05d8f0..2e2a483b5f 100644 --- a/src/kits/media/MediaExtractor.cpp +++ b/src/kits/media/MediaExtractor.cpp @@ -277,7 +277,7 @@ MediaExtractor::CreateDecoder(int32 stream, Decoder **out_decoder, fStreamInfo[stream].encodedFormat); if (res != B_OK) { char formatString[256]; - string_for_format(&fStreamInfo[stream].encodedFormat, formatString, + string_for_format(fStreamInfo[stream].encodedFormat, formatString, 256); ERROR("MediaExtractor::CreateDecoder _plugin_manager.CreateDecoder " "failed for stream %ld, format: %s\n", stream, formatString);