[FFmpeg-devel] [PATCH] avcodec/cbs_av1: avoid reading trailing bits when obu type is OBU_TILE_LIST

2019-12-10 Thread Wangfei
Signed-off-by: Wangfei --- libavcodec/cbs_av1.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/cbs_av1.c b/libavcodec/cbs_av1.c index bbe4461130..ab006f4d11 100644 --- a/libavcodec/cbs_av1.c +++ b/libavcodec/cbs_av1.c @@ -1039,6 +1039,7 @@ static int cbs_av1_read_unit

[FFmpeg-devel] [PATCH v1] avcodec/cbs_av1: rename enable_intraintra_compound flag

2019-12-05 Thread Wangfei
rename enable_intraintra_compound to enable_interintra_compound, which keep same as AV1 sepc(v1.0.0-errata1). Signed-off-by: Wangfei --- libavcodec/cbs_av1.h | 2 +- libavcodec/cbs_av1_syntax_template.c | 4 ++-- libavformat/av1.c| 2 +- 3 files changed, 4

[FFmpeg-devel] [PATCH v1] avcodec/vaapi: set more flags for VASurfaceAttrib

2019-11-19 Thread Wangfei
flags and value.type is needed when pass VASurfaceAttrib to driver. Otherwise the attribute will be considered invalid in driver. Signed-off-by: Wangfei --- libavcodec/vaapi_decode.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/vaapi_decode.c b/libavcodec/vaapi_decode.c