Browse Source

Correctly skip strf tag for subtitles when decoding avi.

Fixes ticket #1797.
tags/n1.1
Carl Eugen Hoyos 13 years ago
parent
commit
ccf771cd79
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavformat/avidec.c

+ 1
- 0
libavformat/avidec.c View File

@@ -691,6 +691,7 @@ static int avi_read_header(AVFormatContext *s)
case AVMEDIA_TYPE_SUBTITLE:
st->codec->codec_type = AVMEDIA_TYPE_SUBTITLE;
st->request_probe= 1;
avio_skip(pb, size);
break;
default:
st->codec->codec_type = AVMEDIA_TYPE_DATA;


Loading…
Cancel
Save