[FFmpeg-cvslog] r14870 - trunk/libavformat/matroskadec.c

aurel subversion
Thu Aug 21 01:08:07 CEST 2008


Author: aurel
Date: Thu Aug 21 01:08:07 2008
New Revision: 14870

Log:
matroskadec: fail cleanly when the required compression lib is not compiled in


Modified:
   trunk/libavformat/matroskadec.c

Modified: trunk/libavformat/matroskadec.c
==============================================================================
--- trunk/libavformat/matroskadec.c	(original)
+++ trunk/libavformat/matroskadec.c	Thu Aug 21 01:08:07 2008
@@ -919,6 +919,8 @@ static int matroska_decode_buffer(uint8_
         break;
     }
 #endif
+    default:
+        return -1;
     }
 
     *buf = pkt_data;




More information about the ffmpeg-cvslog mailing list