diff matroskadec.c @ 3748:6b469866ffda libavformat

matroskadec: fail cleanly when the required compression lib is not compiled in
author aurel
date Wed, 20 Aug 2008 23:08:07 +0000
parents b8f428926617
children 27537074f2a9
line wrap: on
line diff
--- a/matroskadec.c	Wed Aug 20 22:30:15 2008 +0000
+++ b/matroskadec.c	Wed Aug 20 23:08:07 2008 +0000
@@ -919,6 +919,8 @@
         break;
     }
 #endif
+    default:
+        return -1;
     }
 
     *buf = pkt_data;