[FFmpeg-devel] [PATCH] avcodec/wavpack: use cached bit reader
Paul B Mahol
onemda at gmail.com
Fri May 3 13:32:50 EEST 2019
Gives noticeable speed boost.
Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
libavcodec/wavpack.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/wavpack.c b/libavcodec/wavpack.c
index d0242809fe..9798662045 100644
--- a/libavcodec/wavpack.c
+++ b/libavcodec/wavpack.c
@@ -21,6 +21,7 @@
#include "libavutil/channel_layout.h"
+#define CACHED_BITSTREAM_READER !ARCH_X86_32
#define BITSTREAM_READER_LE
#include "avcodec.h"
#include "bytestream.h"
--
2.17.1
More information about the ffmpeg-devel
mailing list