mirror of
https://github.com/mpv-player/mpv
synced 2025-03-21 18:57:35 +00:00
Zero codec_inited in the init() function, so that it's cleared everytime
the codec is inites (previously was only cleared once at start time). Fixes a crash when -loop n (with n >= 2) is used with a qtvideo codec. Patch by KO Myung-Hun komh chollian net git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25839 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
e9548a5aec
commit
6416245eba
@ -106,6 +106,7 @@ static int init(sh_video_t *sh){
|
|||||||
CodecInfo cinfo; // for ImageCodecGetCodecInfo()
|
CodecInfo cinfo; // for ImageCodecGetCodecInfo()
|
||||||
ImageSubCodecDecompressCapabilities icap; // for ImageCodecInitialize()
|
ImageSubCodecDecompressCapabilities icap; // for ImageCodecInitialize()
|
||||||
|
|
||||||
|
codec_inited = 0;
|
||||||
#ifdef MACOSX
|
#ifdef MACOSX
|
||||||
EnterMovies();
|
EnterMovies();
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user