Browse Source

thp: signal EOF

tags/n1.1
Piotr Bandurski Paul B Mahol 12 years ago
parent
commit
25d8ebd422
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/thp.c

+ 1
- 1
libavformat/thp.c View File

@@ -151,7 +151,7 @@ static int thp_read_packet(AVFormatContext *s,
if (thp->audiosize == 0) {
/* Terminate when last frame is reached. */
if (thp->frame >= thp->framecnt)
return AVERROR(EIO);
return AVERROR_EOF;

avio_seek(pb, thp->next_frame, SEEK_SET);



Loading…
Cancel
Save