Revision d0dab0ec libavformat/mov.c

View differences:

libavformat/mov.c
1136 1136
    get_be24(pb); /* flags */
1137 1137

  
1138 1138
    if (atom.type == MKTAG('s','t','s','z')) {
1139
    sample_size = get_be32(pb);
1140
    if (!sc->sample_size) /* do not overwrite value computed in stsd */
1141
        sc->sample_size = sample_size;
1142
    field_size = 32;
1139
        sample_size = get_be32(pb);
1140
        if (!sc->sample_size) /* do not overwrite value computed in stsd */
1141
            sc->sample_size = sample_size;
1142
        field_size = 32;
1143 1143
    } else {
1144 1144
        sample_size = 0;
1145 1145
        get_be24(pb); /* reserved */

Also available in: Unified diff