mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-20 21:00:41 +08:00
replace calls to url_feof() with avio_feof()
Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
committed by
Michael Niedermayer
parent
5c3c67126f
commit
d34ec64a22
@@ -504,7 +504,7 @@ static int dv_read_header(AVFormatContext *s)
|
||||
|
||||
state = avio_rb32(s->pb);
|
||||
while ((state & 0xffffff7f) != 0x1f07003f) {
|
||||
if (url_feof(s->pb)) {
|
||||
if (avio_feof(s->pb)) {
|
||||
av_log(s, AV_LOG_ERROR, "Cannot find DV header.\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user