From d298412062fddba470c0fb116717000d75f5a8b1 Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Fri, 16 Jan 2009 01:17:18 +0000 Subject: [PATCH] export ff_avc_parse_nal_units_buf Originally committed as revision 16624 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/avc.c | 2 +- libavformat/avc.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/libavformat/avc.c b/libavformat/avc.c index 09f31a15fe..cd15ca7ce7 100644 --- a/libavformat/avc.c +++ b/libavformat/avc.c @@ -79,7 +79,7 @@ int ff_avc_parse_nal_units(ByteIOContext *pb, const uint8_t *buf_in, int size) return size; } -static int ff_avc_parse_nal_units_buf(const uint8_t *buf_in, uint8_t **buf, int *size) +int ff_avc_parse_nal_units_buf(const uint8_t *buf_in, uint8_t **buf, int *size) { ByteIOContext *pb; int ret = url_open_dyn_buf(&pb); diff --git a/libavformat/avc.h b/libavformat/avc.h index 2ea938ca16..364c69f629 100644 --- a/libavformat/avc.h +++ b/libavformat/avc.h @@ -25,7 +25,8 @@ #include #include "avio.h" -int ff_avc_parse_nal_units(const uint8_t *buf_in, uint8_t **buf, int *size); +int ff_avc_parse_nal_units(const uint8_t *buf_in, uint8_t **buf, int size); +int ff_avc_parse_nal_units_buf(const uint8_t *buf_in, uint8_t **buf, int *size); int ff_isom_write_avcc(ByteIOContext *pb, const uint8_t *data, int len); const uint8_t *ff_avc_find_startcode(const uint8_t *p, const uint8_t *end);