Browse Source

tta: Fix returned error code at EOF

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.10
Michael Niedermayer 14 years ago
parent
commit
877f6eb5fb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/tta.c

+ 1
- 1
libavformat/tta.c View File

@@ -126,7 +126,7 @@ static int tta_read_packet(AVFormatContext *s, AVPacket *pkt)


// FIXME! // FIXME!
if (c->currentframe >= c->totalframes) if (c->currentframe >= c->totalframes)
return -1;
return AVERROR_EOF;


size = st->index_entries[c->currentframe].size; size = st->index_entries[c->currentframe].size;




Loading…
Cancel
Save