Silence warning about unused variable (#2765)

* Removed unused variable

I was getting a warning about this.

* Silence unused variable otherwise
This commit is contained in:
Adrià Arrufat 2023-04-13 11:40:54 +09:00 committed by GitHub
parent 252d76f356
commit 20c6364bb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1456,6 +1456,7 @@ namespace dlib
const int ret = av_image_fill_arrays(src_pointers, src_linesizes, (uint8_t*)img.begin(), f.pixfmt(), f.width(), f.height(), 1); const int ret = av_image_fill_arrays(src_pointers, src_linesizes, (uint8_t*)img.begin(), f.pixfmt(), f.width(), f.height(), 1);
DLIB_ASSERT(ret == imgsize, "av_image_fill_arrays() error : " << details::get_av_error(ret)); DLIB_ASSERT(ret == imgsize, "av_image_fill_arrays() error : " << details::get_av_error(ret));
(void)imgsize;
(void)ret; (void)ret;
av_image_copy(f.get_frame().data, av_image_copy(f.get_frame().data,