summaryrefslogtreecommitdiff
path: root/libavformat/spdifdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/spdifdec.c')
-rw-r--r--libavformat/spdifdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/spdifdec.c b/libavformat/spdifdec.c
index 7da16c95ba..7c04afaf93 100644
--- a/libavformat/spdifdec.c
+++ b/libavformat/spdifdec.c
@@ -176,7 +176,7 @@ int ff_spdif_read_packet(AVFormatContext *s, AVPacket *pkt)
while (state != (AV_BSWAP16C(SYNCWORD1) << 16 | AV_BSWAP16C(SYNCWORD2))) {
state = (state << 8) | avio_r8(pb);
- if (url_feof(pb))
+ if (avio_feof(pb))
return AVERROR_EOF;
}