aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-memcpy.c
diff options
context:
space:
mode:
authorNicolas Dufresne <[email protected]>2022-05-13 22:29:11 +0200
committerMauro Carvalho Chehab <[email protected]>2022-05-17 10:05:13 +0200
commit7ab889f09dfa70e8097ec1b9186fd228124112cb (patch)
treef042b3b5ad6f0813ef74848f9bd51cebe393264e /lib/test_fortify/write_overflow-memcpy.c
parent9998943f6dfc5d5472bfab2e38527fb6ba5e9da7 (diff)
media: rkvdec: h264: Fix dpb_valid implementation
The ref builder only provided references that are marked as valid in the dpb. Thus the current implementation of dpb_valid would always set the flag to 1. This is not representing missing frames (this is called 'non-existing' pictures in the spec). In some context, these non-existing pictures still need to occupy a slot in the reference list according to the spec. Fixes: cd33c830448ba ("media: rkvdec: Add the rkvdec driver") Signed-off-by: Nicolas Dufresne <[email protected]> Reviewed-by: Sebastian Fricke <[email protected]> Reviewed-by: Ezequiel Garcia <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions