mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-03-20 23:02:08 -04:00
Merge branch 'feature-h264-videostorage' into storageareas
This commit is contained in:
@@ -203,10 +203,10 @@ int SWScale::Convert(const uint8_t* in_buffer, const size_t in_buffer_size, uint
|
||||
// Error("Invalid input or output pixel formats");
|
||||
// return -2;
|
||||
// }
|
||||
// if(!width || !height) {
|
||||
// Error("Invalid width or height");
|
||||
// return -3;
|
||||
// }
|
||||
if (!width || !height) {
|
||||
Error("Invalid width or height");
|
||||
return -3;
|
||||
}
|
||||
|
||||
#if LIBSWSCALE_VERSION_CHECK(0, 8, 0, 8, 0)
|
||||
/* Warn if the input or output pixelformat is not supported */
|
||||
|
||||
Reference in New Issue
Block a user