diff options
author | wm4 <wm4@nowhere> | 2015-04-20 23:02:20 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-04-20 23:03:32 +0200 |
commit | 07678423fb737e7c12f1b513d68ab1c99b44d853 (patch) | |
tree | 3612a515ffd466239c1370484f9328c5c99289f5 /video/image_writer.h | |
parent | f13266014f328fed9eda41047f0a1700348ba923 (diff) | |
download | mpv-07678423fb737e7c12f1b513d68ab1c99b44d853.tar.bz2 mpv-07678423fb737e7c12f1b513d68ab1c99b44d853.tar.xz |
image_writer: minor cleanup
Instead of using int like bool, use bool directly.
Diffstat (limited to 'video/image_writer.h')
-rw-r--r-- | video/image_writer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/image_writer.h b/video/image_writer.h index 7db4293712..d7cdd99125 100644 --- a/video/image_writer.h +++ b/video/image_writer.h @@ -48,8 +48,8 @@ const char *image_writer_file_ext(const struct image_writer_opts *opts); * accordingly. Setting w and width or h and height to different values * can be used to store snapshots of anamorphic video. */ -int write_image(struct mp_image *image, const struct image_writer_opts *opts, - const char *filename, struct mp_log *log); +bool write_image(struct mp_image *image, const struct image_writer_opts *opts, + const char *filename, struct mp_log *log); // Debugging helper. void dump_png(struct mp_image *image, const char *filename, struct mp_log *log); |