Fixed a double-free bug in the new Legacy Video code and added files to
the Windows project file. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3103 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -916,6 +916,10 @@ SOURCE=..\sc2code\libs\video\dukvid.h
|
|||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\sc2code\libs\video\legacyplayer.c
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=..\sc2code\libs\video\vfileins.c
|
SOURCE=..\sc2code\libs\video\vfileins.c
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
@@ -936,12 +940,20 @@ SOURCE=..\sc2code\libs\video\videodec.h
|
|||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\sc2code\libs\video\vidintrn.h
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=..\sc2code\libs\video\vidplayer.c
|
SOURCE=..\sc2code\libs\video\vidplayer.c
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=..\sc2code\libs\video\vidplayer.h
|
SOURCE=..\sc2code\libs\video\vidplayer.h
|
||||||
# End Source File
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\sc2code\libs\video\vresins.c
|
||||||
|
# End Source File
|
||||||
# End Group
|
# End Group
|
||||||
# Begin Group "threads"
|
# Begin Group "threads"
|
||||||
|
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ FreeLegacyVideoData (void *data)
|
|||||||
if (pLV->audio)
|
if (pLV->audio)
|
||||||
HFree (pLV->audio);
|
HFree (pLV->audio);
|
||||||
if (pLV->speech)
|
if (pLV->speech)
|
||||||
HFree (pLV->video);
|
HFree (pLV->speech);
|
||||||
HFree (pLV);
|
HFree (pLV);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|||||||
Reference in New Issue
Block a user