Ticket #6700: patchsample_count.diff

File patchsample_count.diff, 451 bytes (added by Carl Eugen Hoyos, 9 years ago)
  • libavformat/mov.c

    diff --git a/libavformat/mov.c b/libavformat/mov.c
    index 2de60b2..9b9c763 100644
    a b static int mov_read_stts(MOVContext *c, AVIOContext *pb, MOVAtom atom)  
    26582658
    26592659    for (i = 0; i < entries && !pb->eof_reached; i++) {
    26602660        int sample_duration;
    2661         int sample_count;
     2661        unsigned sample_count;
    26622662
    26632663        sample_count=avio_rb32(pb);
    26642664        sample_duration = avio_rb32(pb);