nvenc: Do not access to broken encode session
If an encode session failed in initializing, the encode session would be broken and the next nvenc API will cause crash.
Fixes: #1179 (closed)
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
If an encode session failed in initializing, the encode session would be broken and the next nvenc API will cause crash.
Fixes: #1179 (closed)