Revision 2a33c673 libavformat/smacker.c

View differences:

libavformat/smacker.c
169 169
    tbase = 100000;
170 170
    av_reduce(&tbase, &smk->pts_inc, tbase, smk->pts_inc, (1UL<<31)-1);
171 171
    av_set_pts_info(st, 33, smk->pts_inc, tbase);
172
    st->duration = smk->frames;
172 173
    /* handle possible audio streams */
173 174
    for(i = 0; i < 7; i++) {
174 175
        smk->indexes[i] = -1;

Also available in: Unified diff