Commit 56c4a184 authored by Fabrice Bellard's avatar Fabrice Bellard

ctype.h is a common header

Originally committed as revision 2223 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 25f90cf7
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
# include <stdlib.h> # include <stdlib.h>
# include <stdio.h> # include <stdio.h>
# include <string.h> # include <string.h>
# include <ctype.h>
# ifndef __BEOS__ # ifndef __BEOS__
# include <errno.h> # include <errno.h>
# else # else
......
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
* The simplest mpeg encoder (well, it was the simplest!). * The simplest mpeg encoder (well, it was the simplest!).
*/ */
#include <ctype.h>
#include <limits.h> #include <limits.h>
#include "avcodec.h" #include "avcodec.h"
#include "dsputil.h" #include "dsputil.h"
...@@ -3510,6 +3509,8 @@ static void encode_picture(MpegEncContext *s, int picture_number) ...@@ -3510,6 +3509,8 @@ static void encode_picture(MpegEncContext *s, int picture_number)
case FMT_MPEG1: case FMT_MPEG1:
mpeg1_encode_picture_header(s, picture_number); mpeg1_encode_picture_header(s, picture_number);
break; break;
case FMT_H264:
break;
} }
bits= get_bit_count(&s->pb); bits= get_bit_count(&s->pb);
s->header_bits= bits - s->last_bits; s->header_bits= bits - s->last_bits;
......
...@@ -17,9 +17,6 @@ ...@@ -17,9 +17,6 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#include <limits.h> #include <limits.h>
//avcodec include //avcodec include
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment