Call send_packet instead of.. doing nothing

GCC warned of this, but strangely not clang.
This commit is contained in:
jp9000 2014-03-16 16:28:21 -07:00
parent bb92d582bf
commit 2920369daf

View File

@ -398,8 +398,8 @@ static inline void do_encode(struct obs_encoder *encoder,
for (size_t i = 0; i < encoder->callbacks.num; i++) {
struct encoder_callback *cb;
cb = encoder->callbacks.array+i;
send_packet(encoder, cb, packet);
}
pthread_mutex_unlock(&encoder->callbacks_mutex);