Revision f7e97aaf libavformat/matroskadec.c

View differences:

libavformat/matroskadec.c
2028 2028
            track = matroska->tracks[i];
2029 2029
            track->stream_index = -1;
2030 2030

  
2031
            /* libavformat does not really support subtitles.
2032
             * Also apply some sanity checks. */
2033
            if ((track->type == MATROSKA_TRACK_TYPE_SUBTITLE) ||
2034
                (track->codec_id == NULL))
2031
            /* Apply some sanity checks. */
2032
            if (track->codec_id == NULL)
2035 2033
                continue;
2036 2034

  
2037 2035
            for(j=0; ff_mkv_codec_tags[j].str; j++){

Also available in: Unified diff