Commit 2f6f0ee2 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller
Browse files

video-format: minor pack_YVYU optimisation

Re-use already calculated line offset.
parent ede80404
......@@ -235,7 +235,7 @@ pack_YVYU (const GstVideoFormatInfo * info, GstVideoPackFlags flags,
guint8 *line = GET_LINE (y);
const guint8 *ayuv = src;
video_orc_pack_YVYU (GET_LINE (y), src, width / 2);
video_orc_pack_YVYU (line, src, width / 2);
if (width & 1) {
gint i = width - 1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment