changeset 44:92d51f683931 libavcodec

added forgotten emms() - fix various segmentation faults when using mjpeg
author glantau
date Wed, 08 Aug 2001 19:08:50 +0000
parents ab64a3fc62bf
children 933cc4acab5c
files mjpeg.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mjpeg.c	Wed Aug 08 16:26:51 2001 +0000
+++ b/mjpeg.c	Wed Aug 08 19:08:50 2001 +0000
@@ -796,6 +796,7 @@
             }
         }
     }
+    emms_c();
     return 0;
 }
 
@@ -874,6 +875,7 @@
                 start_code = s->start_code;
                 s->buf_ptr = s->buffer;
                 s->start_code = code;
+                dprintf("marker=%x\n", start_code);
                 switch(start_code) {
                 case SOI:
                     /* nothing to do on SOI */