Mercurial > libavformat.hg
changeset 4226:f1974ed2589a libavformat
export ff_avc_parse_nal_units_buf
author | bcoudurier |
---|---|
date | Fri, 16 Jan 2009 01:17:18 +0000 |
parents | 0231b1d5cd15 |
children | bb5b5d966035 |
files | avc.c avc.h |
diffstat | 2 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/avc.c Fri Jan 16 01:12:32 2009 +0000 +++ b/avc.c Fri Jan 16 01:17:18 2009 +0000 @@ -79,7 +79,7 @@ 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);
--- a/avc.h Fri Jan 16 01:12:32 2009 +0000 +++ b/avc.h Fri Jan 16 01:17:18 2009 +0000 @@ -25,7 +25,8 @@ #include <stdint.h> #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);