changeset 1444:958d9c0cedba libavcodec

ctype.h is a common header
author bellard
date Mon, 08 Sep 2003 19:58:34 +0000
parents 47f4c8a5a7fc
children f0b40efb1f65
files common.h mpegvideo.c xvmcvideo.c
diffstat 3 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/common.h	Mon Sep 08 04:10:59 2003 +0000
+++ b/common.h	Mon Sep 08 19:58:34 2003 +0000
@@ -25,6 +25,7 @@
 #    include <stdlib.h>
 #    include <stdio.h>
 #    include <string.h>
+#    include <ctype.h>
 #    ifndef __BEOS__
 #        include <errno.h>
 #    else
--- a/mpegvideo.c	Mon Sep 08 04:10:59 2003 +0000
+++ b/mpegvideo.c	Mon Sep 08 19:58:34 2003 +0000
@@ -24,7 +24,6 @@
  * The simplest mpeg encoder (well, it was the simplest!).
  */ 
  
-#include <ctype.h>
 #include <limits.h>
 #include "avcodec.h"
 #include "dsputil.h"
@@ -3510,6 +3509,8 @@
     case FMT_MPEG1:
         mpeg1_encode_picture_header(s, picture_number);
         break;
+    case FMT_H264:
+        break;
     }
     bits= get_bit_count(&s->pb);
     s->header_bits= bits - s->last_bits;
--- a/xvmcvideo.c	Mon Sep 08 04:10:59 2003 +0000
+++ b/xvmcvideo.c	Mon Sep 08 19:58:34 2003 +0000
@@ -17,9 +17,6 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-#include <stdlib.h>
-#include <stdio.h>
-#include <ctype.h>
 #include <limits.h>
 
 //avcodec include