opengltexture: align all data to 16
Fixes crash if frame is not aligned to 16. This should probably be folded into the Frame class itself at some point.
This commit is contained in:
@@ -175,6 +175,8 @@ private:
|
||||
void InitScaler(int divider);
|
||||
void FreeScaler();
|
||||
|
||||
static int GetScaledDimension(int dim, int divider);
|
||||
|
||||
SwsContext* scale_ctx_;
|
||||
int scale_divider_;
|
||||
AVPixelFormat src_pix_fmt_;
|
||||
|
||||
Reference in New Issue
Block a user