av_alloc_format_context() is deprecated, use avformat_alloc_context() instead.

This commit is contained in:
Andreas Öman 2009-07-11 19:37:01 +00:00
parent e2e2246bd5
commit de759a1f88

View file

@ -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));