aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h263.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-09-27 10:27:57 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-09-27 10:27:57 +0000
commit202ef8b8196a107df242b29ebee8cbbd72549057 (patch)
tree5f6ac42c30e27ed2a3307c6c79f7f3c159267ec9 /libavcodec/h263.c
parent0c2dd16eb65bb0ade97346aabecc4762f6bcac31 (diff)
downloadffmpeg-202ef8b8196a107df242b29ebee8cbbd72549057.tar.gz
ff_get_fourcc() & XVIX support
Originally committed as revision 975 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263.c')
-rw-r--r--libavcodec/h263.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h263.c b/libavcodec/h263.c
index a6d73d2089..6a59906a08 100644
--- a/libavcodec/h263.c
+++ b/libavcodec/h263.c
@@ -4231,7 +4231,7 @@ int mpeg4_decode_picture_header(MpegEncContext * s)
s->last_time_base= s->time_base;
s->time_base+= time_incr;
s->time= s->time_base*s->time_increment_resolution + time_increment;
- if(s->workaround_bugs==3 || s->avctx->fourcc== 'U' + ('M'<<8) + ('P'<<16) + ('4'<<24)){
+ if(s->workaround_bugs==3 || s->avctx->fourcc == ff_get_fourcc("UMP4")){
if(s->time < s->last_non_b_time){
// fprintf(stderr, "header is not mpeg4 compatible, broken encoder, trying to workaround\n");
s->time_base++;