mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
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:
parent
252d76f356
commit
20c6364bb5
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user