[FFmpeg-devel] avcodec/wavpack: use cached bit reader

Submitted by Paul B Mahol on May 3, 2019, 10:32 a.m.

Details

Message ID 20190503103250.21045-1-onemda@gmail.com
State New
Headers show

Commit Message

Paul B Mahol May 3, 2019, 10:32 a.m.
Gives noticeable speed boost.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
---
 libavcodec/wavpack.c | 1 +
 1 file changed, 1 insertion(+)

Patch hide | download patch | download mbox

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"