shithub: openh264

Download patch

ref: 5ff3a23c1854de399c0788d0b2e5708ce04699ad
parent: 2bc7d2bf8603fdb941b17ec413cf92632d507b27
author: Varun B Patil <varun.basavaraj.patil@gmail.com>
date: Wed Dec 18 11:41:41 EST 2013

Fix typo which ignored dec options file in dec testapp

Options file was not being taken because it was wrongly being taken as output
file for decoder.

--- a/codec/console/dec/src/h264dec.cpp
+++ b/codec/console/dec/src/h264dec.cpp
@@ -401,7 +401,7 @@
         char* cmd = pArgV[i];
 
         if (!strcmp (cmd, "-options")) {
-          strOutputFile = pArgV[i + 1];
+          strOptionFile = pArgV[i + 1];
           i += 2;
         } else if (!strcmp (cmd, "-trace")) {
           WelsStderrSetTraceLevel (atoi (pArgV[i + 1]));