diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-11-06 11:54:40 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-11-06 11:58:32 +0100 |
commit | 7ffdc7bef2f9d7e90487f816a97a3496b0639450 (patch) | |
tree | f6318eeb493ae08bbc53eec923ae01171dc00a06 /libavcodec/vorbis_parser.c | |
parent | 44fa2671e0db0bb1a92c365fb3c9c2d1cd7199ca (diff) |
avcodec/export av_vorbis_parse_frame_flags()
The other functions where changed in the previous merge
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vorbis_parser.c')
-rw-r--r-- | libavcodec/vorbis_parser.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/libavcodec/vorbis_parser.c b/libavcodec/vorbis_parser.c index 0c93e31dca..ab08a6a2dd 100644 --- a/libavcodec/vorbis_parser.c +++ b/libavcodec/vorbis_parser.c @@ -210,8 +210,8 @@ static int vorbis_parse_init(AVVorbisParseContext *s, return 0; } -int avpriv_vorbis_parse_frame_flags(AVVorbisParseContext *s, const uint8_t *buf, - int buf_size, int *flags) +int av_vorbis_parse_frame_flags(AVVorbisParseContext *s, const uint8_t *buf, + int buf_size, int *flags) { int duration = 0; @@ -262,7 +262,7 @@ bad_packet: int av_vorbis_parse_frame(AVVorbisParseContext *s, const uint8_t *buf, int buf_size) { - return avpriv_vorbis_parse_frame_flags(s, buf, buf_size, NULL); + return av_vorbis_parse_frame_flags(s, buf, buf_size, NULL); } void av_vorbis_parse_reset(AVVorbisParseContext *s) @@ -308,6 +308,11 @@ int avpriv_vorbis_parse_frame(AVVorbisParseContext *s, const uint8_t *buf, { return av_vorbis_parse_frame(s, buf, buf_size); } +int avpriv_vorbis_parse_frame_flags(AVVorbisParseContext *s, const uint8_t *buf, + int buf_size, int *flags) +{ + return av_vorbis_parse_frame_flags(s, buf, buf_size, flags); +} #endif #if CONFIG_VORBIS_PARSER |