Stefan Schuermans commited on 2016-12-18 21:20:20
Showing 1 changed files, with 1 additions and 4 deletions.
| ... | ... |
@@ -415,12 +415,9 @@ int BlinkenGifSave(stBlinkenMovie *pMovie, const char *pFilename) |
| 415 | 415 |
pLast = pFrame; |
| 416 | 416 |
} // for frame |
| 417 | 417 |
|
| 418 |
- // encode GIF file |
|
| 418 |
+ // encode GIF file (closes GIF file) |
|
| 419 | 419 |
ret = EGifSpew(gif) == GIF_OK ? 0 : -1; |
| 420 | 420 |
|
| 421 |
- // close GIF file |
|
| 422 |
- EGifCloseFile(gif); |
|
| 423 |
- |
|
| 424 | 421 |
// free copy of movie |
| 425 | 422 |
BlinkenMovieFree(pOutMovie); |
| 426 | 423 |
|
| 427 | 424 |