Commit 0c79ec9b authored by Felix Paul Kühne's avatar Felix Paul Kühne

videotoolbox: fix exception on late-start

parent 3f6ed931
...@@ -975,6 +975,9 @@ skip: ...@@ -975,6 +975,9 @@ skip:
*pp_block = NULL; *pp_block = NULL;
if (unlikely(!p_sys->b_started))
return NULL;
NSUInteger outputFramesCount = [p_sys->outputFrames count]; NSUInteger outputFramesCount = [p_sys->outputFrames count];
if (outputFramesCount > 5) { if (outputFramesCount > 5) {
......
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