videoencoder: unused value
Value set in ret is immediately overwritten in the next line outside of the if block. Run reset but don't store return. CID #1226470
This commit is contained in:
parent
8296cdbfd5
commit
fedc1dba1a
@ -628,7 +628,7 @@ gst_video_encoder_setcaps (GstVideoEncoder * encoder, GstCaps * caps)
|
|||||||
|
|
||||||
if (encoder_class->reset) {
|
if (encoder_class->reset) {
|
||||||
GST_FIXME_OBJECT (encoder, "GstVideoEncoder::reset() is deprecated");
|
GST_FIXME_OBJECT (encoder, "GstVideoEncoder::reset() is deprecated");
|
||||||
ret = encoder_class->reset (encoder, TRUE);
|
encoder_class->reset (encoder, TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* and subclass should be ready to configure format at any time around */
|
/* and subclass should be ready to configure format at any time around */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user