videotoolbox: handle nb_fields > 2
commit3f78d1c38f7693c4b6eb6b70d9ffceaba356edc7
authorThomas Guillem <thomas@gllm.fr>
Fri, 2 Mar 2018 13:34:06 +0000 (2 14:34 +0100)
committerThomas Guillem <thomas@gllm.fr>
Fri, 2 Mar 2018 15:56:54 +0000 (2 16:56 +0100)
tree6cfac5a708d903b14d46cbbc9fddd84598ed102e
parent811677236dfeb3a3d4f010692ca03c6dadc981ca
videotoolbox: handle nb_fields > 2

This fixes a deadlock if a sample have more than 2 fields.

Refs #19897
modules/codec/videotoolbox.m