</BUG>
int i = 0;
Packet pkt;
while ((pkt = videoTrack.nextFrame()) != null) {
<BUG>Picture buf = Picture.create(1920, 1088, ColorSpace.YUV420);

Picture pic = decoder.decodeFrame(pkt.getData(), buf.getData());
</BUG>
if (bi == null)
bi = new BufferedImage(pic.getWidth(), pic.getHeight(), BufferedImage.TYPE_3BYTE_BGR);

decoder = new ProresToThumb();
} else {
throw new IllegalArgumentException("Unsupported downscale factor: " + downscale + ".");
}
BufferedImage bi = null;
Picture8Bit rgb = null;
int i = 0;
Packet pkt;
while ((pkt = videoTrack.nextFrame()) != null) {
Picture8Bit buf = Picture8Bit.create(1920, 1088, ColorSpace.YUV420);
Picture8Bit pic = decoder.decodeFrame8Bit(pkt.getData(), buf.getData());
if (bi == null)
bi = new BufferedImage(pic.getWidth(), pic.getHeight(), BufferedImage.TYPE_3BYTE_BGR);
