]> git.sesse.net Git - nageru/commitdiff
Make load_image() return nullptr instead of exit()-ing.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 9 Apr 2016 10:44:41 +0000 (12:44 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 9 Apr 2016 10:48:09 +0000 (12:48 +0200)
Will be used when we implement image reload support soon.
In the process, RAII-ify everything in load_image(), so that
we can return nullptr at any given place without being worried
about resource leaks.

In the process, get rid of some deprecated FFmpeg API use.


No differences found