Skip to content
Snippets Groups Projects
Commit b532ca3d authored by Anton Khirnov's avatar Anton Khirnov
Browse files

lavd/v4l2: reduce variable scope

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.
parent e1151fbf
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment