shithub: h264bsd

Download patch

ref: b60f5cc63ee8e58d04c50a337ddb777ef05486d5
parent: cbd8817fcd1a48c189d4fb06061161971b86cd95
author: Sam Leitch <sam@luceva.net>
date: Tue Mar 18 19:36:18 EDT 2014

Updated Makefile to work with new test app.

--- a/flex/Makefile
+++ b/flex/Makefile
@@ -30,7 +30,7 @@
 	else echo "Couldn't locate Flex sdk directory, please invoke make with \"make FLEX=/path/to/flex  ...\"" ; exit 1 ; \
 	fi
 
-	"$(FLEX)/bin/mxmlc" -static-link-runtime-shared-libraries -compiler.omit-trace-statements=false -library-path=bin/h264bsd.swc -debug=true test/h264test.mxml -o test/h264test.swf
+	"$(FLEX)/bin/mxmlc" -static-link-runtime-shared-libraries -compiler.omit-trace-statements=false -library-path+=bin/h264bsd.swc -library-path+=$(FLEX)/frameworks/libs/ -debug=true test/h264test.mxml -o test/h264test.swf
 
 clean:
 	rm -f test/*.swf lib/*.swc bin/*.swc *.bc *.exe
--- a/flex/test/h264test.mxml
+++ b/flex/test/h264test.mxml
@@ -59,7 +59,8 @@
                             loopBody();
                             break;
                         default:
-                            throw new Error("An error has occured in the decoder");
+                            trace("An error has occured in the decoder");
+                            loopBody();
                             break;
                     }
                 }