[FFmpeg-devel] [PATCH v1 1/1] avcodec/h264: workaround if the IDR frame_num is non-zero for some error clips.

2019-03-28 Thread Decai Lin
Signed-off-by: Decai Lin --- libavcodec/h264_slice.c | 5 + 1 file changed, 5 insertions(+) diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c index 1c9a270..1bc9bdb 100644 --- a/libavcodec/h264_slice.c +++ b/libavcodec/h264_slice.c @@ -1477,6 +1477,11 @@ static int

[FFmpeg-devel] [PATCH v2 1/1] swscale/swscale_unscaled: fixed the issue that when width/height is not 2-multiple, transition of nv12 to u/v planes is not completed.

2019-03-28 Thread Decai Lin
From: "Dong, Jerry" Signed-off-by: Dong, Jerry Signed-off-by: Decai Lin --- libswscale/swscale_unscaled.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libswscale/swscale_unscaled.c b/libswscale/swscale_unscaled.c index 058f2b9..d01e373 100644 --- a/

[FFmpeg-devel] [PATCH v1 1/1] swscale/swscale_unscaled: fixed the issue that when width/height is not 2-multiple, transition of nv12 to u/v planes is not completed.

2019-03-27 Thread Decai Lin
From: "Dong, Jerry" Signed-off-by: Dong, Jerry Signed-off-by: Decai Lin --- libswscale/swscale_unscaled.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libswscale/swscale_unscaled.c b/libswscale/swscale_unscaled.c index 058f2b9..2ba2907 100644 --- a/

[FFmpeg-devel] [PATCH v1 1/1] vaapi_hevc: Fix double-free issue.

2019-03-21 Thread Decai Lin
From: "Yan, FengX" Signed-off-by: Yan, FengX Signed-off-by: Decai Lin --- libavcodec/vaapi_hevc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/vaapi_hevc.c b/libavcodec/vaapi_hevc.c index 19aabcd..373ffc4 100644 --- a/libavcodec/vaapi_hevc.c +++ b/

[FFmpeg-devel] [PATCH v3 1/1] lavc/h264_levels: add MaxMBPS checking and update fate test.

2019-03-20 Thread Decai Lin
1. add MaxMBPS checking for level idc setting to align with AVC spec AnnexA table A-1/A-6 level limits. 2. update h264 level fate test. Signed-off-by: Decai Lin --- libavcodec/h264_levels.c | 4 +++ libavcodec/h264_levels.h | 1 + libavcodec/h264_metadata_bsf.c | 9

[FFmpeg-devel] [PATCH v2 1/1] lavc/h264_levels: add MaxMBPS checking and update fate test.

2019-03-07 Thread Decai Lin
1. add MaxMBPS checking for level idc setting to align with AVC spec AnnexA table A-1/A-6 level limits. 2. update h264 level fate test. Signed-off-by: Decai Lin --- libavcodec/h264_levels.c | 6 + libavcodec/h264_levels.h | 1 + libavcodec/h264_metadata_bsf.c | 10

[FFmpeg-devel] [PATCH] lavc/h264_levels: add MaxMBPS checking and update fate test.

2019-03-06 Thread Decai Lin
1. add MaxMBPS checking for level idc setting to align with AVC spec AnnexA table A-1/A-6 level limits. 2. update h264 level fate test. Signed-off-by: Decai Lin --- libavcodec/h264_levels.c | 5 + libavcodec/h264_levels.h | 1 + libavcodec/h264_metadata_bsf.c | 14

[FFmpeg-devel] [PATCH] avcodec/h264_parse: no need check ref list1 for P slices.

2019-01-30 Thread Decai Lin
This is robust for some corner case there is incorrect list1 count in pps header, but it's a P slice and can be decoded well. Signed-off-by: Decai Lin --- libavcodec/h264_parse.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/libavcodec/h264_parse.c b/libav