diff mbox

[FFmpeg-devel,3/3] avcodec/utvideodec: use cached bitstream reader

Message ID 20180403113814.7937-3-onemda@gmail.com
State Superseded
Headers show

Commit Message

Paul B Mahol April 3, 2018, 11:38 a.m. UTC
Signed-off-by: Paul B Mahol <onemda@gmail.com>
---
 libavcodec/utvideodec.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Michael Niedermayer April 3, 2018, 9:41 p.m. UTC | #1
On Tue, Apr 03, 2018 at 01:38:14PM +0200, Paul B Mahol wrote:
> Signed-off-by: Paul B Mahol <onemda@gmail.com>
> ---
>  libavcodec/utvideodec.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/libavcodec/utvideodec.c b/libavcodec/utvideodec.c
> index 82cb038ccd..99b37aa0f3 100644
> --- a/libavcodec/utvideodec.c
> +++ b/libavcodec/utvideodec.c
> @@ -27,6 +27,7 @@
>  #include <inttypes.h>
>  #include <stdlib.h>
>  
> +#define CACHED_BITSTREAM_READER
>  #define UNCHECKED_BITSTREAM_READER 1
>  
>  #include "libavutil/intreadwrite.h"

tested, seems to work

thanks

[...]
Carl Eugen Hoyos April 4, 2018, 1:39 a.m. UTC | #2
2018-04-03 13:38 GMT+02:00, Paul B Mahol <onemda@gmail.com>:
> Signed-off-by: Paul B Mahol <onemda@gmail.com>
> ---
>  libavcodec/utvideodec.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/libavcodec/utvideodec.c b/libavcodec/utvideodec.c
> index 82cb038ccd..99b37aa0f3 100644
> --- a/libavcodec/utvideodec.c
> +++ b/libavcodec/utvideodec.c
> @@ -27,6 +27,7 @@
>  #include <inttypes.h>
>  #include <stdlib.h>
>
> +#define CACHED_BITSTREAM_READER

Some numbers in the commit message would make
sense imo.

Carl Eugen
diff mbox

Patch

diff --git a/libavcodec/utvideodec.c b/libavcodec/utvideodec.c
index 82cb038ccd..99b37aa0f3 100644
--- a/libavcodec/utvideodec.c
+++ b/libavcodec/utvideodec.c
@@ -27,6 +27,7 @@ 
 #include <inttypes.h>
 #include <stdlib.h>
 
+#define CACHED_BITSTREAM_READER
 #define UNCHECKED_BITSTREAM_READER 1
 
 #include "libavutil/intreadwrite.h"