niimaqdxsrc: fix crash with non-4-byte aligned strides, by allocating enough memory

This commit is contained in:
Joshua M. Doe
2016-08-17 13:36:15 -04:00
parent bfd9a2fcd7
commit e1ee20c4ad
2 changed files with 16 additions and 9 deletions

View File

@@ -71,6 +71,8 @@ struct _GstNiImaqDxSrc {
int height;
int dx_row_stride;
gint dx_framesize;
int gst_row_stride;
gint gst_framesize;
guint8 *temp_buffer;
const ImaqDxCapsInfo *caps_info;