aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2003-09-08 19:58:34 +0000
committerFabrice Bellard <fabrice@bellard.org>2003-09-08 19:58:34 +0000
commit56c4a1846442f832055afeb43a4e873878f5b596 (patch)
treec8dac6c829b058f689d5c924a8414f284dfaed70 /libavcodec
parent25f90cf76a77be0ecdf1563710e35b4762be1d64 (diff)
downloadffmpeg-56c4a1846442f832055afeb43a4e873878f5b596.tar.gz
ctype.h is a common header
Originally committed as revision 2223 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/common.h1
-rw-r--r--libavcodec/mpegvideo.c3
-rw-r--r--libavcodec/xvmcvideo.c3
3 files changed, 3 insertions, 4 deletions
diff --git a/libavcodec/common.h b/libavcodec/common.h
index 48db261155..c1b1d47485 100644
--- a/libavcodec/common.h
+++ b/libavcodec/common.h
@@ -25,6 +25,7 @@
# include <stdlib.h>
# include <stdio.h>
# include <string.h>
+# include <ctype.h>
# ifndef __BEOS__
# include <errno.h>
# else
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index ffd71a69be..b5949e60ed 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -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;
diff --git a/libavcodec/xvmcvideo.c b/libavcodec/xvmcvideo.c
index 6346b50d46..9c432020ba 100644
--- a/libavcodec/xvmcvideo.c
+++ b/libavcodec/xvmcvideo.c
@@ -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