Some additional error checking.  Prevents freezing with damaged files, such as the one here: http://appletv.nanopi.net/trac/ticket/75
Some additional error checking.  Prevents freezing with damaged files, such as the one here: http://appletv.nanopi.net/trac/ticket/75


git-svn-id: d0cfa3251018d478e6aaed555a307d7fbba1ac15@759 621663c8-3916-0410-8f58-edc14a8543d5

mrvacbob/perian,mrvacbob/perian,mrvacbob/perian,mrvacbob/perian,mrvacbob/perian