[Ffmpeg-cvslog] CVS: ffmpeg/libavformat mov.c,1.113,1.114
Michael Niedermayer CVS
michael
Sat Feb 18 10:08:36 CET 2006
Update of /cvsroot/ffmpeg/ffmpeg/libavformat
In directory mail:/var2/tmp/cvs-serv28031
Modified Files:
mov.c
Log Message:
simplify mov_read_hdlr patch by (Baptiste COUDURIER <baptiste.coudurier 0 smartjog o com>)
Index: mov.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/mov.c,v
retrieving revision 1.113
retrieving revision 1.114
diff -u -d -r1.113 -r1.114
--- mov.c 18 Feb 2006 09:05:07 -0000 1.113
+++ mov.c 18 Feb 2006 09:08:34 -0000 1.114
@@ -517,21 +517,14 @@
dprintf("ctype= %c%c%c%c (0x%08lx)\n", *((char *)&ctype), ((char *)&ctype)[1], ((char *)&ctype)[2], ((char *)&ctype)[3], (long) ctype);
dprintf("stype= %c%c%c%c\n", *((char *)&type), ((char *)&type)[1], ((char *)&type)[2], ((char *)&type)[3]);
- if(ctype == MKTAG('m', 'h', 'l', 'r')) { /* MOV */
- /* helps parsing the string hereafter... */
+ if(ctype == MKTAG('m', 'h', 'l', 'r')) /* MOV */
c->mp4 = 0;
- if(type == MKTAG('v', 'i', 'd', 'e'))
- st->codec->codec_type = CODEC_TYPE_VIDEO;
- else if(type == MKTAG('s', 'o', 'u', 'n'))
- st->codec->codec_type = CODEC_TYPE_AUDIO;
- } else if(ctype == 0) { /* MP4 */
- /* helps parsing the string hereafter... */
+ else if(ctype == 0)
c->mp4 = 1;
- if(type == MKTAG('v', 'i', 'd', 'e'))
- st->codec->codec_type = CODEC_TYPE_VIDEO;
- else if(type == MKTAG('s', 'o', 'u', 'n'))
- st->codec->codec_type = CODEC_TYPE_AUDIO;
- }
+ if(type == MKTAG('v', 'i', 'd', 'e'))
+ st->codec->codec_type = CODEC_TYPE_VIDEO;
+ else if(type == MKTAG('s', 'o', 'u', 'n'))
+ st->codec->codec_type = CODEC_TYPE_AUDIO;
get_be32(pb); /* component manufacture */
get_be32(pb); /* component flags */
get_be32(pb); /* component flags mask */
More information about the ffmpeg-cvslog
mailing list