Fix zmc crashing when four field deinterlacing is enabled together with left or right rotation
This commit is contained in:
parent
8cecadadc2
commit
069552321f
|
@ -187,11 +187,12 @@ public:
|
|||
|
||||
inline void CopyBuffer( const Image &image )
|
||||
{
|
||||
if ( image.size != size )
|
||||
{
|
||||
Panic( "Attempt to copy different size image buffers, expected %d, got %d", size, image.size );
|
||||
Assign(image);
|
||||
}
|
||||
(*fptr_imgbufcpy)(buffer, image.buffer, size);
|
||||
inline Image &operator=( const Image &image )
|
||||
{
|
||||
Assign(image);
|
||||
return *this;
|
||||
}
|
||||
inline Image &operator=( const unsigned char *new_buffer )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue