[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec h263.c, 1.284, 1.285 mpegvideo.h, 1.225, 1.226
Michael Niedermayer CVS
michael
Sun Jul 24 11:28:27 CEST 2005
Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
In directory mail:/var2/tmp/cvs-serv8860
Modified Files:
h263.c mpegvideo.h
Log Message:
fix user data parsing code so it suppors pre1 and cvs
Index: h263.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/h263.c,v
retrieving revision 1.284
retrieving revision 1.285
diff -u -d -r1.284 -r1.285
--- h263.c 23 Jul 2005 11:16:18 -0000 1.284
+++ h263.c 24 Jul 2005 09:28:24 -0000 1.285
@@ -5759,17 +5759,15 @@
}
/* ffmpeg detection */
- e=sscanf(buf, "FFmpeg%d.%d.%db%d", &ver, &ver2, &ver3, &build);
+ e=sscanf(buf, "FFmpe%*[^b]b%d", &build)+3;
if(e!=4)
e=sscanf(buf, "FFmpeg v%d.%d.%d / libavcodec build: %d", &ver, &ver2, &ver3, &build);
if(e!=4){
if(strcmp(buf, "ffmpeg")==0){
- s->ffmpeg_version= 0x000406;
s->lavc_build= 4600;
}
}
if(e==4){
- s->ffmpeg_version= ver*256*256 + ver2*256 + ver3;
s->lavc_build= build;
}
Index: mpegvideo.h
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/mpegvideo.h,v
retrieving revision 1.225
retrieving revision 1.226
diff -u -d -r1.225 -r1.226
--- mpegvideo.h 17 Jun 2005 15:02:53 -0000 1.225
+++ mpegvideo.h 24 Jul 2005 09:28:24 -0000 1.226
@@ -609,7 +609,6 @@
int xvid_build;
/* lavc specific stuff, used to workaround bugs in libavcodec */
- int ffmpeg_version;
int lavc_build;
/* RV10 specific */
More information about the ffmpeg-cvslog
mailing list