Mercurial > libavformat.hg
diff oggparseogm.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 | 304a0ea063f0 |
children | 68c8e7affd44 |
line wrap: on
line diff
--- a/oggparseogm.c Mon Jun 22 16:52:02 2009 +0000 +++ b/oggparseogm.c Mon Jun 22 23:09:34 2009 +0000 @@ -53,7 +53,7 @@ st->codec->codec_type = CODEC_TYPE_VIDEO; p += 8; tag = bytestream_get_le32(&p); - st->codec->codec_id = codec_get_id(codec_bmp_tags, tag); + st->codec->codec_id = ff_codec_get_id(ff_codec_bmp_tags, tag); st->codec->codec_tag = tag; } else if (*p == 't') { st->codec->codec_type = CODEC_TYPE_SUBTITLE; @@ -67,7 +67,7 @@ bytestream_get_buffer(&p, acid, 4); acid[4] = 0; cid = strtol(acid, NULL, 16); - st->codec->codec_id = codec_get_id(codec_wav_tags, cid); + st->codec->codec_id = ff_codec_get_id(ff_codec_wav_tags, cid); st->need_parsing = AVSTREAM_PARSE_FULL; } @@ -115,14 +115,14 @@ if(t == 0x05589f80){ st->codec->codec_type = CODEC_TYPE_VIDEO; - st->codec->codec_id = codec_get_id(codec_bmp_tags, AV_RL32(p + 68)); + st->codec->codec_id = ff_codec_get_id(ff_codec_bmp_tags, AV_RL32(p + 68)); st->codec->time_base.den = 10000000; st->codec->time_base.num = AV_RL64(p + 164); st->codec->width = AV_RL32(p + 176); st->codec->height = AV_RL32(p + 180); } else if(t == 0x05589f81){ st->codec->codec_type = CODEC_TYPE_AUDIO; - st->codec->codec_id = codec_get_id(codec_wav_tags, AV_RL16(p + 124)); + st->codec->codec_id = ff_codec_get_id(ff_codec_wav_tags, AV_RL16(p + 124)); st->codec->channels = AV_RL16(p + 126); st->codec->sample_rate = AV_RL32(p + 128); st->codec->bit_rate = AV_RL32(p + 132) * 8;