mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-24 09:23:37 +08:00
Replace remaining av_new_stream() with avformat_new_stream().
This commit is contained in:
@@ -54,7 +54,7 @@ static int microdvd_read_header(AVFormatContext *s, AVFormatParameters *ap)
|
||||
{
|
||||
AVRational pts_info = (AVRational){ 2997, 125 }; /* default: 23.976 fps */
|
||||
MicroDVDContext *microdvd = s->priv_data;
|
||||
AVStream *st = av_new_stream(s, 0);
|
||||
AVStream *st = avformat_new_stream(s, NULL);
|
||||
int i, frame;
|
||||
double fps;
|
||||
char c;
|
||||
|
||||
Reference in New Issue
Block a user