diff options
author | Peter Ross <pross@xvid.org> | 2011-04-05 14:36:46 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-04-07 19:54:52 +0400 |
commit | c1309b27d2fc57a18a22336c7812874191b2bdac (patch) | |
tree | 3628aea39ee059c5d93d1650279159e7b2187092 /libavformat/riff.c | |
parent | dc4103610520ae70d4989ffe3850dcf4deed54a9 (diff) |
move ff_asf_guid, ff_guidcmp and ff_get_guid into riff.h
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/riff.c')
-rw-r--r-- | libavformat/riff.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavformat/riff.c b/libavformat/riff.c index fb8ab1c075..b0a89de7a1 100644 --- a/libavformat/riff.c +++ b/libavformat/riff.c @@ -584,3 +584,9 @@ void ff_parse_specific_params(AVCodecContext *stream, int *au_rate, int *au_ssiz *au_scale /= gcd; *au_rate /= gcd; } + +void ff_get_guid(AVIOContext *s, ff_asf_guid *g) +{ + assert(sizeof(*g) == 16); + avio_read(s, *g, sizeof(*g)); +} |