Filename postfix is already in pvrr_filename, dont append another one
This commit is contained in:
parent
792b816314
commit
4eb7ae97f7
1 changed files with 1 additions and 2 deletions
|
@ -592,8 +592,7 @@ pwo_init(th_subscription_t *s, pvr_rec_t *pvrr)
|
|||
|
||||
pf->fctx->oformat = pf->fmt;
|
||||
|
||||
snprintf(urlname, sizeof(urlname), "file:%s.%s",
|
||||
pvrr->pvrr_filename, pvrr->pvrr_format);
|
||||
snprintf(urlname, sizeof(urlname), "file:%s", pvrr->pvrr_filename);
|
||||
|
||||
if((err = url_fopen(&pf->fctx->pb, urlname, URL_WRONLY)) < 0) {
|
||||
syslog(LOG_ERR,
|
||||
|
|
Loading…
Add table
Reference in a new issue