shithub: openh264

Download patch

ref: 5e22d5366eb56bae9e92471ea0601f361c35494e
parent: cfc9367610a567a20f08080fec0012fb4dc0b86b
author: Martin Storsjö <[email protected]>
date: Tue Jun 10 08:07:35 EDT 2014

Remove the unused level parameter to welsStderrLevelTrace

--- a/codec/common/inc/logging.h
+++ b/codec/common/inc/logging.h
@@ -37,13 +37,13 @@
 
 
 // Internal details.
-int32_t welsStderrLevelTrace (int32_t level, const char* format, va_list ap);
+int32_t welsStderrLevelTrace (const char* format, va_list ap);
 
 template<int level> int32_t welsStderrTrace (
   const char* format, ...) {
   va_list ap;
   va_start (ap, format);
-  welsStderrLevelTrace (level, format, ap);
+  welsStderrLevelTrace (format, ap);
   va_end (ap);
   return 0;
 }
--- a/codec/common/src/logging.cpp
+++ b/codec/common/src/logging.cpp
@@ -35,7 +35,7 @@
 #include <stdio.h>
 #include "typedefs.h"
 
-int32_t welsStderrLevelTrace (int32_t level, const char* format, va_list ap) {
+int32_t welsStderrLevelTrace (const char* format, va_list ap) {
   vfprintf (stderr, format, ap);
   return 0;
 }