Mercurial > libavformat.hg
comparison rmdec.c @ 3930:77b99eddf88a libavformat
Add support for RVTR fourCC
author | vitor |
---|---|
date | Tue, 23 Sep 2008 06:24:00 +0000 |
parents | 5f9bec099c69 |
children | 4928ebaaf2bd |
comparison
equal
deleted
inserted
replaced
3929:e0eb33b98f43 | 3930:77b99eddf88a |
---|---|
214 st->codec->codec_tag = get_le32(pb); | 214 st->codec->codec_tag = get_le32(pb); |
215 // av_log(NULL, AV_LOG_DEBUG, "%X %X\n", st->codec->codec_tag, MKTAG('R', 'V', '2', '0')); | 215 // av_log(NULL, AV_LOG_DEBUG, "%X %X\n", st->codec->codec_tag, MKTAG('R', 'V', '2', '0')); |
216 if ( st->codec->codec_tag != MKTAG('R', 'V', '1', '0') | 216 if ( st->codec->codec_tag != MKTAG('R', 'V', '1', '0') |
217 && st->codec->codec_tag != MKTAG('R', 'V', '2', '0') | 217 && st->codec->codec_tag != MKTAG('R', 'V', '2', '0') |
218 && st->codec->codec_tag != MKTAG('R', 'V', '3', '0') | 218 && st->codec->codec_tag != MKTAG('R', 'V', '3', '0') |
219 && st->codec->codec_tag != MKTAG('R', 'V', '4', '0')) | 219 && st->codec->codec_tag != MKTAG('R', 'V', '4', '0') |
220 && st->codec->codec_tag != MKTAG('R', 'V', 'T', 'R')) | |
220 goto fail1; | 221 goto fail1; |
221 st->codec->width = get_be16(pb); | 222 st->codec->width = get_be16(pb); |
222 st->codec->height = get_be16(pb); | 223 st->codec->height = get_be16(pb); |
223 st->codec->time_base.num= 1; | 224 st->codec->time_base.num= 1; |
224 fps= get_be16(pb); | 225 fps= get_be16(pb); |