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 )
|
inline void CopyBuffer( const Image &image )
|
||||||
{
|
{
|
||||||
if ( image.size != size )
|
Assign(image);
|
||||||
{
|
|
||||||
Panic( "Attempt to copy different size image buffers, expected %d, got %d", size, image.size );
|
|
||||||
}
|
}
|
||||||
(*fptr_imgbufcpy)(buffer, image.buffer, size);
|
inline Image &operator=( const Image &image )
|
||||||
|
{
|
||||||
|
Assign(image);
|
||||||
|
return *this;
|
||||||
}
|
}
|
||||||
inline Image &operator=( const unsigned char *new_buffer )
|
inline Image &operator=( const unsigned char *new_buffer )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue