mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 23:13:00 +02:00
dvbsub: fix API use to new ffmpeg.
Origin commit data
------------------
Branch: ni/coolstream
Commit: 9edfbf491d
Author: [CST] Bas <bas@coolstreamtech.com>
Date: 2012-03-23 (Fri, 23 Mar 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -183,8 +183,8 @@ cDvbSubtitleConverter::cDvbSubtitleConverter(void)
|
||||
dbgconverter("cDvbSubtitleConverter: unable to get dvb subtitle codec!\n");
|
||||
return;
|
||||
}
|
||||
avctx = avcodec_alloc_context();
|
||||
if (avcodec_open(avctx, avcodec) < 0)
|
||||
avctx = avcodec_alloc_context3(avcodec);
|
||||
if (avcodec_open2(avctx, avcodec, NULL) < 0)
|
||||
dbgconverter("cDvbSubtitleConverter: unable to open codec !\n");
|
||||
|
||||
av_log_set_level(AV_LOG_PANIC);
|
||||
|
Reference in New Issue
Block a user