| Index: MPlayer-1.1.1/libmpdemux/demux_lavf.c |
| =================================================================== |
| --- MPlayer-1.1.1.orig/libmpdemux/demux_lavf.c |
| +++ MPlayer-1.1.1/libmpdemux/demux_lavf.c |
| @@ -423,7 +423,11 @@ static void handle_stream(demuxer_t *dem |
| case AVMEDIA_TYPE_SUBTITLE:{ |
| sh_sub_t* sh_sub; |
| char type; |
| - if(codec->codec_id == CODEC_ID_TEXT) |
| + if(codec->codec_id == CODEC_ID_TEXT |
| +#if LIBAVUTIL_VERSION_MICRO >= 100 |
| + || codec->codec_id == AV_CODEC_ID_SUBRIP |
| +#endif |
| + ) |
| type = 't'; |
| else if(codec->codec_id == CODEC_ID_MOV_TEXT) |
| type = 'm'; |