small fix

Origin commit data
------------------
Commit: 6bcb6b1b57
Author: BPanther <bpanther_ts@hotmail.com>
Date: 2023-10-15 (Sun, 15 Oct 2023)
This commit is contained in:
BPanther
2023-10-15 13:59:57 +02:00
committed by Thilo Graf
parent c30db2f19c
commit eeab1cd2e6
3 changed files with 4 additions and 5 deletions

View File

@@ -173,7 +173,6 @@ int LinuxDvbOpen(Context_t *context __attribute__((unused)), char *type)
if (videofd < 0)
{
linuxdvb_err("failed to open %s - errno %d, %s\n", VIDEODEV, errno, strerror(errno));
linuxdvb_err("%s\n",);
return cERR_LINUXDVB_ERROR;
}
@@ -1039,7 +1038,7 @@ static int reset(Context_t *context)
if (writer == NULL)
{
linuxdvb_err("unknown video codec %s\n", Encoding);
linuxdvb_err("unknown audio codec %s\n", Encoding);
ret = cERR_LINUXDVB_ERROR;
}
else
@@ -1085,8 +1084,8 @@ static int Command(Context_t *context, OutputCmd_t command, void *argument)
}
case OUTPUT_STOP:
{
reset(context);
ret = LinuxDvbStop(context, (char *)argument);
reset(context);
sCURRENT_PTS = 0;
break;
}