early-access version 1680
This commit is contained in:
3
externals/ffmpeg/libavformat/pjsdec.c
vendored
3
externals/ffmpeg/libavformat/pjsdec.c
vendored
@@ -67,7 +67,6 @@ static int pjs_read_header(AVFormatContext *s)
|
||||
{
|
||||
PJSContext *pjs = s->priv_data;
|
||||
AVStream *st = avformat_new_stream(s, NULL);
|
||||
int res = 0;
|
||||
|
||||
if (!st)
|
||||
return AVERROR(ENOMEM);
|
||||
@@ -105,7 +104,7 @@ static int pjs_read_header(AVFormatContext *s)
|
||||
}
|
||||
|
||||
ff_subtitles_queue_finalize(s, &pjs->q);
|
||||
return res;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int pjs_read_packet(AVFormatContext *s, AVPacket *pkt)
|
||||
|
Reference in New Issue
Block a user