mov: replace AVERROR(EOF) with AVERROR_EOF.
This commit is contained in:
@@ -432,7 +432,7 @@ static int mov_read_dref(MOVContext *c, AVIOContext *pb, MOVAtom atom)
|
|||||||
|
|
||||||
for (type = 0; type != -1 && avio_tell(pb) < next; ) {
|
for (type = 0; type != -1 && avio_tell(pb) < next; ) {
|
||||||
if(url_feof(pb))
|
if(url_feof(pb))
|
||||||
return AVERROR(EOF);
|
return AVERROR_EOF;
|
||||||
type = avio_rb16(pb);
|
type = avio_rb16(pb);
|
||||||
len = avio_rb16(pb);
|
len = avio_rb16(pb);
|
||||||
av_log(c->fc, AV_LOG_DEBUG, "type %d, len %d\n", type, len);
|
av_log(c->fc, AV_LOG_DEBUG, "type %d, len %d\n", type, len);
|
||||||
|
Reference in New Issue
Block a user