Revision 7fe3207e libavformat/movenc.c

View differences:

libavformat/movenc.c
91 91
    }
92 92
    if (equalChunks) {
93 93
        int sSize = track->cluster[0].size/track->cluster[0].entries;
94
        sSize = FFMAX(1, sSize); // adpcm mono case could make sSize == 0
94 95
        avio_wb32(pb, sSize); // sample size
95 96
        avio_wb32(pb, entries); // sample count
96 97
    }

Also available in: Unified diff