]> git.sesse.net Git - nageru/blobdiff - futatabi/jpeg_frame_view.h
Fix software decoding of JPEGs in Futatabi.
[nageru] / futatabi / jpeg_frame_view.h
index 38ffd412b61b5610cc68e8fa6e646e6901f68571..3ecfa0d2f4568254a4e41fa64798523860755c13 100644 (file)
@@ -20,7 +20,7 @@ enum CacheMissBehavior {
        RETURN_NULLPTR_IF_NOT_IN_CACHE
 };
 
-std::shared_ptr<Frame> decode_jpeg(const std::string &filename);
+std::shared_ptr<Frame> decode_jpeg(const std::string &jpeg);
 std::shared_ptr<Frame> decode_jpeg_with_cache(FrameOnDisk id, CacheMissBehavior cache_miss_behavior, FrameReader *frame_reader, bool *did_decode);
 
 class JPEGFrameView : public QGLWidget {