Correctly skip strf tag for subtitles when decoding avi.

Fixes ticket #1797.
pull/8/head
Carl Eugen Hoyos 12 years ago
parent d9bec3b6a2
commit ccf771cd79
  1. 1
      libavformat/avidec.c

@ -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