mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-09 14:14:39 +02:00
avcodec/dvdsubdec: don't use a NULL log context
This commit is contained in:
parent
9aab222239
commit
e859a3c864
@ -406,7 +406,7 @@ static int decode_dvd_subtitles(DVDSubContext *ctx, AVSubtitle *sub_header,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (next_cmd_pos < cmd_pos) {
|
if (next_cmd_pos < cmd_pos) {
|
||||||
av_log(NULL, AV_LOG_ERROR, "Invalid command offset\n");
|
av_log(ctx, AV_LOG_ERROR, "Invalid command offset\n");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (next_cmd_pos == cmd_pos)
|
if (next_cmd_pos == cmd_pos)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user