lavf,lavd: replace av_new_stream->avformat_new_stream part I.
Trivial replacements with sed are done in this commit: sed 's/av_new_stream(\([^)]*\), 0)/avformat_new_stream(\1, NULL)/'
This commit is contained in:
@@ -229,7 +229,7 @@ static int audio_read_header(AVFormatContext *context, AVFormatParameters *param
|
||||
if ((test = start_jack(context)))
|
||||
return test;
|
||||
|
||||
stream = av_new_stream(context, 0);
|
||||
stream = avformat_new_stream(context, NULL);
|
||||
if (!stream) {
|
||||
stop_jack(self);
|
||||
return AVERROR(ENOMEM);
|
||||
|
||||
Reference in New Issue
Block a user