aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/hwcontext.c
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2017-11-16 07:31:58 -0800
committerPhilip Langdale <philipl@overt.org>2017-11-18 08:05:21 -0800
commit5a0f6b099f3e8fcb95a80e3ffe52b3bf369efe24 (patch)
treeb41845cff17103ec551bcec2a840ba66c4d0cb47 /libavutil/hwcontext.c
parentfb791d28766bdacbb685a77c381101afc98ed58b (diff)
downloadffmpeg-5a0f6b099f3e8fcb95a80e3ffe52b3bf369efe24.tar.gz
avcodec: Fix reference data type for nvdec vc1 hwaccel
I took the reference lookup code from the vp9 hwaccel where the type is unsigned char, but for vc1, the type is signed int. This is particularly important because the value used when there's no reference is different (255 vs -1). It didn't seem to break anything, but for mpeg1/2/4, this mistake caused decode errors.
Diffstat (limited to 'libavutil/hwcontext.c')
0 files changed, 0 insertions, 0 deletions