From 0b178e56290d6e3cd8684c261e387bb8eafa38d3 Mon Sep 17 00:00:00 2001 From: Reimar Döffinger Date: Mon, 2 Feb 2009 20:16:00 +0000 Subject: Add av_ prefix to LZO stuff and thus make it officially part of the public API. Keep lzo1x_decode until the next major version bump for binary compatibility. Originally committed as revision 16946 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/matroskadec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libavformat/matroskadec.c') diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index 7751db88eb..d52d2fa5a1 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -872,9 +872,9 @@ static int matroska_decode_buffer(uint8_t** buf, int* buf_size, do { olen = pkt_size *= 3; pkt_data = av_realloc(pkt_data, - pkt_size+LZO_OUTPUT_PADDING); - result = lzo1x_decode(pkt_data, &olen, data, &isize); - } while (result==LZO_OUTPUT_FULL && pkt_size<10000000); + pkt_size+AV_LZO_OUTPUT_PADDING); + result = av_lzo1x_decode(pkt_data, &olen, data, &isize); + } while (result==AV_LZO_OUTPUT_FULL && pkt_size<10000000); if (result) goto failed; pkt_size -= olen; -- cgit v1.2.3