mirror of https://github.com/FFmpeg/FFmpeg.git
device and cap are local to the loop iteration, there is no need for them to retain their values. Especially for device it may be dangerous, since it points to av_malloc'ed data.pull/375/head
parent
e1151fbf22
commit
b532ca3d2f
1 changed files with 2 additions and 2 deletions
Loading…
Reference in new issue