av_alloc_format_context() is deprecated, use avformat_alloc_context() instead.
This commit is contained in:
parent
e2e2246bd5
commit
de759a1f88
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ dvr_rec_start(dvr_entry_t *de, htsmsg_t *m)
|
|||
|
||||
/* Init format context */
|
||||
|
||||
fctx = av_alloc_format_context();
|
||||
fctx = avformat_alloc_context();
|
||||
|
||||
av_strlcpy(fctx->title, de->de_ititle ?: "",
|
||||
sizeof(fctx->title));
|
||||
|
|
Loading…
Add table
Reference in a new issue