Mercurial > libavformat.hg
comparison nuv.c @ 5058:33a244b7ca65 libavformat
Add ff_ prefixes to exported symbols in libavformat/riff.h.
patch by Daniel Verkamp, aniel drv nu
author | diego |
---|---|
date | Mon, 22 Jun 2009 23:09:34 +0000 |
parents | d99a060db4a4 |
children | 536e5527c1e0 |
comparison
equal
deleted
inserted
replaced
5057:c9bbf0a253a8 | 5058:33a244b7ca65 |
---|---|
84 break; | 84 break; |
85 get_le32(pb); // version | 85 get_le32(pb); // version |
86 if (vst) { | 86 if (vst) { |
87 vst->codec->codec_tag = get_le32(pb); | 87 vst->codec->codec_tag = get_le32(pb); |
88 vst->codec->codec_id = | 88 vst->codec->codec_id = |
89 codec_get_id(codec_bmp_tags, vst->codec->codec_tag); | 89 ff_codec_get_id(ff_codec_bmp_tags, vst->codec->codec_tag); |
90 if (vst->codec->codec_tag == MKTAG('R', 'J', 'P', 'G')) | 90 if (vst->codec->codec_tag == MKTAG('R', 'J', 'P', 'G')) |
91 vst->codec->codec_id = CODEC_ID_NUV; | 91 vst->codec->codec_id = CODEC_ID_NUV; |
92 } else | 92 } else |
93 url_fskip(pb, 4); | 93 url_fskip(pb, 4); |
94 | 94 |
96 ast->codec->codec_tag = get_le32(pb); | 96 ast->codec->codec_tag = get_le32(pb); |
97 ast->codec->sample_rate = get_le32(pb); | 97 ast->codec->sample_rate = get_le32(pb); |
98 ast->codec->bits_per_coded_sample = get_le32(pb); | 98 ast->codec->bits_per_coded_sample = get_le32(pb); |
99 ast->codec->channels = get_le32(pb); | 99 ast->codec->channels = get_le32(pb); |
100 ast->codec->codec_id = | 100 ast->codec->codec_id = |
101 wav_codec_get_id(ast->codec->codec_tag, | 101 ff_wav_codec_get_id(ast->codec->codec_tag, |
102 ast->codec->bits_per_coded_sample); | 102 ast->codec->bits_per_coded_sample); |
103 ast->need_parsing = AVSTREAM_PARSE_FULL; | 103 ast->need_parsing = AVSTREAM_PARSE_FULL; |
104 } else | 104 } else |
105 url_fskip(pb, 4 * 4); | 105 url_fskip(pb, 4 * 4); |
106 | 106 |