udp: Fix crashes after adding AVOptions
Add a missing AVClass member, check whether localaddr is null. (Previously, localaddr was always a local stack buffer, while it now also can be an avoption string which can be null.) This fixes crashes when not passing any localaddr parameter, since 66028b7b. Signed-off-by: Martin Storsjö <martin@martin.st>
Showing
Please
register
or
sign in
to comment