shithub: openh264

Download patch

ref: 488cc4ec8ef7a0394d0d6a3469e3b346a81f7e18
parent: 5ac52e31e94ad532220d7767b622e21d00e9aab0
parent: 2963f4ab6e26982846280052d11d6904b2d11f55
author: volvet <qizh@cisco.com>
date: Sun Jan 26 13:17:31 EST 2014

Merge pull request #228 from mstorsjo/remove-hardcoded-path

Remove a hardcoded debug path specific to somebody's environment

--- a/codec/encoder/plus/src/welsEncoderExt.cpp
+++ b/codec/encoder/plus/src/welsEncoderExt.cpp
@@ -1115,12 +1115,7 @@
   str_t strFileName[256] = {0};
   const int32_t iDataLength = m_iMaxPicWidth * m_iMaxPicHeight;
 
-#if defined(__GNUC__)
-  STRNCPY (strFileName, 256, "/tmp/pic_in_", STRNLEN ("/tmp/pic_in_", 255));	// confirmed_safe_unsafe_usage
-#else
-  STRNCPY (strFileName, 256, "d:\\incoming\\mosaic_st\\pic_in_", STRNLEN ("d:\\incoming\\mosaic_st\\pic_in_",
-           255));	// confirmed_safe_unsafe_usage
-#endif//__GNUC__
+  STRNCPY (strFileName, 256, "pic_in_", STRNLEN ("pic_in_", 255));	// confirmed_safe_unsafe_usage
 
   if (m_iMaxPicWidth == 640) {
     STRCAT (strFileName, 256, "360p.");	// confirmed_safe_unsafe_usage