diff options
author | Martin Storsjö <martin@martin.st> | 2012-03-22 13:25:58 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-03-24 22:53:18 +0200 |
commit | d5ed5e7d0c1fa46de348db0de4c82b0f621db3d4 (patch) | |
tree | c76a1a445e3f43dd6948515e31cd361f559e0ad6 /libavformat/avc.h | |
parent | 2ee01fbded0a6b35b55d125dfd5807219837cf30 (diff) | |
download | ffmpeg-d5ed5e7d0c1fa46de348db0de4c82b0f621db3d4.tar.gz |
avc: Add a function for converting mp4 style extradata to annex b
Make movenc use this function instead of the current custom
conversion function.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/avc.h')
-rw-r--r-- | libavformat/avc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/avc.h b/libavformat/avc.h index 56122125a9..579756ec0f 100644 --- a/libavformat/avc.h +++ b/libavformat/avc.h @@ -29,5 +29,6 @@ int ff_avc_parse_nal_units(AVIOContext *s, const 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(AVIOContext *pb, const uint8_t *data, int len); const uint8_t *ff_avc_find_startcode(const uint8_t *p, const uint8_t *end); +int ff_avc_write_annexb_extradata(const uint8_t *in, uint8_t **buf, int *size); #endif /* AVFORMAT_AVC_H */ |