Remove use of tmpnam.
This solves compilation with the Mac SDK 10.9. BUG=3120, 3151 TEST=git try -t modules_tests:VideoProcessorIntegrationTest* R=fischman@webrtc.org, henrike@webrtc.org, stefan@webrtc.org Review URL: https://webrtc-codereview.appspot.com/10739005 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5917 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -156,7 +156,10 @@ class VideoProcessorIntegrationTest: public testing::Test {
|
||||
// Setup the TestConfig struct for processing of a clip in CIF resolution.
|
||||
config_.input_filename =
|
||||
webrtc::test::ResourcePath("foreman_cif", "yuv");
|
||||
config_.output_filename = tmpnam(NULL);
|
||||
|
||||
// Generate an output filename in a safe way.
|
||||
config_.output_filename = webrtc::test::TempFilename(
|
||||
webrtc::test::OutputPath(), "videoprocessor_integrationtest");
|
||||
config_.frame_length_in_bytes = CalcBufferSize(kI420,
|
||||
kCIFWidth, kCIFHeight);
|
||||
config_.verbose = false;
|
||||
|
Reference in New Issue
Block a user