From b4a9780b8123ab09af7ecc2996c3e8a8ff50728e Mon Sep 17 00:00:00 2001 From: Henrik Rydgard Date: Mon, 23 Jun 2014 22:51:22 +0200 Subject: [PATCH] Typo fix --- Core/HW/SimpleAudioDec.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Core/HW/SimpleAudioDec.cpp b/Core/HW/SimpleAudioDec.cpp index ae9a644901..149903dcd2 100644 --- a/Core/HW/SimpleAudioDec.cpp +++ b/Core/HW/SimpleAudioDec.cpp @@ -16,6 +16,8 @@ // https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/. #include +#include + #include "Core/Config.h" #include "Core/HLE/FunctionWrappers.h" #include "Core/HW/SimpleAudioDec.h" @@ -103,7 +105,7 @@ bool SimpleAudio::OpenCodec() { AVDictionary *opts = 0; int retval = avcodec_open2(codecCtx_, codec_, &opts); if (retval < 0) { - ERROR_LOG(ME, "Failed to open codec: retval = %i"); + ERROR_LOG(ME, "Failed to open codec: retval = %i", retval); } av_dict_free(&opts); #endif // USE_FFMPEG