diff --git a/README.markdown b/README.markdown index 997b934..c9e643d 100644 --- a/README.markdown +++ b/README.markdown @@ -182,8 +182,9 @@ For some advanced uses of pqiv, take a look at these resouces: Changelog --------- -pqiv 2.13.1 +pqiv 2.13.2 * Revert to not adding `--browse` to desktop files (fixes #232) + * Fix crash for videos with unusual resolutions (fixes #247) pqiv 2.13 * Fix `toggle_fullscreen(1/2)` behavior when already fullscreen diff --git a/backends/libav.c b/backends/libav.c index e339e3d..f3bfee7 100644 --- a/backends/libav.c +++ b/backends/libav.c @@ -295,7 +295,7 @@ void file_type_libav_load(file_t *file, GInputStream *data, GError **error_point #if LIBAVUTIL_VERSION_INT < AV_VERSION_INT(55, 0, 0) size_t num_bytes = avpicture_get_size(PIX_FMT_RGB32, file->width, file->height); #else - size_t num_bytes = av_image_get_buffer_size(AV_PIX_FMT_RGB32, file->width, file->height, 16); + size_t num_bytes = av_image_get_buffer_size(AV_PIX_FMT_RGB32, file->width, file->height, 64); #endif private->buffer = (uint8_t *)g_malloc(num_bytes * sizeof(uint8_t)); diff --git a/pqiv.1 b/pqiv.1 index c0da561..9a33bba 100644 --- a/pqiv.1 +++ b/pqiv.1 @@ -1,5 +1,5 @@ .\" vim:filetype=groff -.TH pqiv 1 "March 2024" "2.13.1" +.TH pqiv 1 "March 2024" "2.13.2" .SH NAME pqiv \- powerful quick image viewer .\" diff --git a/pqiv.h b/pqiv.h index 90f1cda..a845a35 100644 --- a/pqiv.h +++ b/pqiv.h @@ -29,7 +29,7 @@ #include "lib/bostree.h" #ifndef PQIV_VERSION -#define PQIV_VERSION "2.13.1" +#define PQIV_VERSION "2.13.2" #endif #define FILE_FLAGS_ANIMATION (guint)(1)