Browse Source

Add support for RVTR fourCC

Originally committed as revision 15386 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Vitor Sessak 17 years ago
parent
commit
b93dd8383a
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      libavformat/rmdec.c

+ 2
- 1
libavformat/rmdec.c View File

@@ -216,7 +216,8 @@ ff_rm_read_mdpr_codecdata (AVFormatContext *s, AVStream *st, int codec_data_size
if ( st->codec->codec_tag != MKTAG('R', 'V', '1', '0') if ( st->codec->codec_tag != MKTAG('R', 'V', '1', '0')
&& st->codec->codec_tag != MKTAG('R', 'V', '2', '0') && st->codec->codec_tag != MKTAG('R', 'V', '2', '0')
&& st->codec->codec_tag != MKTAG('R', 'V', '3', '0') && st->codec->codec_tag != MKTAG('R', 'V', '3', '0')
&& st->codec->codec_tag != MKTAG('R', 'V', '4', '0'))
&& st->codec->codec_tag != MKTAG('R', 'V', '4', '0')
&& st->codec->codec_tag != MKTAG('R', 'V', 'T', 'R'))
goto fail1; goto fail1;
st->codec->width = get_be16(pb); st->codec->width = get_be16(pb);
st->codec->height = get_be16(pb); st->codec->height = get_be16(pb);


Loading…
Cancel
Save