summaryrefslogtreecommitdiffstats
path: root/client/client_net_socket.cpp
diff options
context:
space:
mode:
authorJonathon Jongsma <jjongsma@redhat.com>2014-05-30 13:45:02 -0500
committerJonathon Jongsma <jjongsma@redhat.com>2014-05-30 13:45:02 -0500
commit284cca2a5ebc98257275585083321a7100fb89b3 (patch)
tree96a6401ad2ccc277b9ed3af8796dba77c33f96dd /client/client_net_socket.cpp
parente7db94d833e848b63fdd9956ba51ce2c5917cb25 (diff)
Fix assert in mjpeg_encoder_adjust_params_to_bit_rate()
If mjpeg_encoder_reset_quality() is called with the same quality as currently set, it will not reset last_enc_size but not reset num_recent_enc_frames, violating some assumptions in _adjust_params_to_bit_rate(). To avoid aborting the server, simply return early from this function. Resolves: rhbz#1086820
Diffstat (limited to 'client/client_net_socket.cpp')
0 files changed, 0 insertions, 0 deletions