* Fix a potential segv with the Gstreamer engine
authormoom <moom>
Mon, 6 Aug 2007 19:17:39 +0000 (19:17 +0000)
committermoom <moom@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 6 Aug 2007 19:17:39 +0000 (19:17 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/emotion@31197 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/modules/emotion_gstreamer.c

index 395a57a..693e83f 100644 (file)
@@ -1276,7 +1276,7 @@ _em_fd_ev_active(void *data, Ecore_Fd_Handler *fdh)
 {
    int fd;
    int len;
-   void *buf[1];
+   void *buf[2];
    unsigned char *frame_data;
    Emotion_Gstreamer_Video *ev;
    GstBuffer  *buffer;