Browse Source

tta: Fix returned error code at EOF

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
tags/n0.10
Michael Niedermayer Justin Ruggles 14 years ago
parent
commit
4b4acc544f
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!
if (c->currentframe >= c->totalframes)
return -1;
return AVERROR_EOF;

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



Loading…
Cancel
Save