mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-26 22:48:19 +00:00
test-gst: Remove useless check
encoder_name is never NULL as already initialized with "mjpeg" value. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Christophe Fergeau <cfergeau@redhat.com>
This commit is contained in:
parent
2e06a6e940
commit
f35843ee6f
@ -368,11 +368,6 @@ int main(int argc, char *argv[])
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if (!encoder_name) {
|
||||
g_printerr("Encoder name option missing\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
const EncoderInfo *encoder = get_encoder_info(encoder_name);
|
||||
if (!encoder) {
|
||||
g_printerr("Encoder name unsupported: %s\n", encoder_name);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user