hwcontext_opencl: Only release command queue if it exists
authorMark Thompson <sw@jkqxz.net>
Sun, 25 Nov 2018 19:14:27 +0000 (19:14 +0000)
committerMark Thompson <sw@jkqxz.net>
Wed, 28 Nov 2018 00:05:09 +0000 (00:05 +0000)
commitb9aff7a53d598a7882bfe3db449a3e5dc6543f05
treee309e58d9b4e4a71892d1d3d99f583b444c98944
parent8cc5107705e9d5758702075ad8f0473063f7f740
hwcontext_opencl: Only release command queue if it exists

If the frames context creation fails then the command queue reference
need not exist when uninit is called.
libavutil/hwcontext_opencl.c