lavd/avfoundation: Fix skewed video output
authorRick Kern <kernrj@gmail.com>
Fri, 24 Jun 2016 15:00:17 +0000 (11:00 -0400)
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>
Thu, 13 Sep 2018 22:27:44 +0000 (00:27 +0200)
commita259501e5a6ed07d76ce5d615123148b9b68d9f8
tree43fed5a7d762ceccd7a599c89350ba834a69555b
parente320f9576a4d403d8ce088c04be886f6bf1ebe26
lavd/avfoundation: Fix skewed video output

Fixes ticket #5654.
The linesize can be greater than the minimum required. This copies the
frame taking linesize into account.

Signed-off-by: Rick Kern <kernrj@gmail.com>
libavdevice/avfoundation.m