Merge pull request #19 from radford-for-smpte/sign-language-video-label
[asdcplib.git] / src / AtmosSyncChannel_Mixer.cpp
index a58b3cd39dc3a37d667d0e9d8ec5a6ea716d6090..b0353414cbbc786e9480939fb4e4548fdbaae124 100644 (file)
@@ -1,5 +1,5 @@
 /*
-Copyright (c) 2013-2013, John Hurst
+Copyright (c) 2013-2014, John Hurst
 All rights reserved.
 
 Redistribution and use in source and binary forms, with or without
@@ -64,11 +64,14 @@ ASDCP::AtmosSyncChannelMixer::clear()
 Result_t
 ASDCP::AtmosSyncChannelMixer::OpenRead(ui32_t argc, const char** argv, const Rational& PictureRate)
 {
-  ASDCP_TEST_NULL_STR(argv);
+  ASDCP_TEST_NULL(argv);
   PathList_t TmpFileList;
 
   for ( ui32_t i = 0; i < argc; ++i )
-    TmpFileList.push_back(argv[i]);
+    {
+      ASDCP_TEST_NULL_STR(argv[i]);
+      TmpFileList.push_back(argv[i]);
+    }
 
   return OpenRead(TmpFileList, PictureRate);
 }