diff --git a/sys/v4l2codecs/gstv4l2decoder.c b/sys/v4l2codecs/gstv4l2decoder.c index d23dd5a020..a9192f57a7 100644 --- a/sys/v4l2codecs/gstv4l2decoder.c +++ b/sys/v4l2codecs/gstv4l2decoder.c @@ -160,7 +160,7 @@ gst_v4l2_decoder_close (GstV4l2Decoder * self) if (self->media_fd) close (self->media_fd); if (self->video_fd) - close (self->media_fd); + close (self->video_fd); self->media_fd = 0; self->video_fd = 0;