changeset 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 84ad19dea09f
files matroskadec.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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;