mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-02-16 17:11:03 +00:00
cin: fix build without avcodec
This commit is contained in:
parent
f76fa5526f
commit
e1fd35316d
1 changed files with 2 additions and 0 deletions
|
@ -219,11 +219,13 @@ SCR_StopCinematic(void)
|
|||
{
|
||||
cl.cinematictime = 0; /* done */
|
||||
|
||||
#ifdef AVMEDIADECODE
|
||||
if (cin.av_video)
|
||||
{
|
||||
cinavdecode_close(cin.av_video);
|
||||
cin.av_video = NULL;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (cin.smk_video)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue