ctype.h is a common header
authorFabrice Bellard <fabrice@bellard.org>
Mon, 8 Sep 2003 19:58:34 +0000 (19:58 +0000)
committerFabrice Bellard <fabrice@bellard.org>
Mon, 8 Sep 2003 19:58:34 +0000 (19:58 +0000)
Originally committed as revision 2223 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/common.h
libavcodec/mpegvideo.c
libavcodec/xvmcvideo.c

index 48db261..c1b1d47 100644 (file)
@@ -25,6 +25,7 @@
 #    include <stdlib.h>
 #    include <stdio.h>
 #    include <string.h>
+#    include <ctype.h>
 #    ifndef __BEOS__
 #        include <errno.h>
 #    else
index ffd71a6..b5949e6 100644 (file)
@@ -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 @@ static void encode_picture(MpegEncContext *s, int picture_number)
     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;
index 6346b50..9c43202 100644 (file)
@@ -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