[Ffmpeg-cvslog] CVS: ffmpeg/libavformat mov.c,1.141,1.142
Baptiste Coudurier CVS
bcoudurier
Wed Apr 19 14:53:50 CEST 2006
Update of /cvsroot/ffmpeg/ffmpeg/libavformat
In directory mail:/var2/tmp/cvs-serv1465/libavformat
Modified Files:
mov.c
Log Message:
indention
Index: mov.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/mov.c,v
retrieving revision 1.141
retrieving revision 1.142
diff -u -d -r1.141 -r1.142
--- mov.c 19 Apr 2006 12:51:58 -0000 1.141
+++ mov.c 19 Apr 2006 12:53:47 -0000 1.142
@@ -1498,19 +1498,19 @@
/* edit list atom */
static int mov_read_elst(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
{
- int i, edit_count;
+ int i, edit_count;
- get_byte(pb); /* version */
- get_byte(pb); get_byte(pb); get_byte(pb); /* flags */
- edit_count= c->streams[c->fc->nb_streams-1]->edit_count = get_be32(pb); /* entries */
+ get_byte(pb); /* version */
+ get_byte(pb); get_byte(pb); get_byte(pb); /* flags */
+ edit_count= c->streams[c->fc->nb_streams-1]->edit_count = get_be32(pb); /* entries */
- for(i=0; i<edit_count; i++){
- get_be32(pb); /* Track duration */
- get_be32(pb); /* Media time */
- get_be32(pb); /* Media rate */
- }
- dprintf("track[%i].edit_count = %i\n", c->fc->nb_streams-1, c->streams[c->fc->nb_streams-1]->edit_count);
- return 0;
+ for(i=0; i<edit_count; i++){
+ get_be32(pb); /* Track duration */
+ get_be32(pb); /* Media time */
+ get_be32(pb); /* Media rate */
+ }
+ dprintf("track[%i].edit_count = %i\n", c->fc->nb_streams-1, c->streams[c->fc->nb_streams-1]->edit_count);
+ return 0;
}
static const MOVParseTableEntry mov_default_parse_table[] = {
More information about the ffmpeg-cvslog
mailing list