]> git.sesse.net Git - nageru/commit - image_input.cpp
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)
commit9048c4b2d5758b3384232aaa1c28f33631633fa5
treefcef6f75c472006866004ee782e2d9ec979c1eb4
parent3f20ed45b8af996bcbd433e84dc3afc350ae5838
Make load_image() return nullptr instead of exit()-ing.

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.
image_input.cpp