Revision 188842ef

View differences:

libavformat/riff.c
497 497
    if(stream->frame_size && stream->sample_rate){
498 498
        *au_scale=stream->frame_size;
499 499
        *au_rate= stream->sample_rate;
500
    }else if(stream->codec_type == CODEC_TYPE_VIDEO){
500
    }else if(stream->codec_type == CODEC_TYPE_VIDEO ||
501
             stream->codec_type == CODEC_TYPE_SUBTITLE){
501 502
        *au_scale= stream->time_base.num;
502 503
        *au_rate = stream->time_base.den;
503 504
    }else{

Also available in: Unified diff