Browse Source

avformat/dss: Return 0 on success

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
master
Andreas Rheinhardt 4 years ago
parent
commit
b3652d9745
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavformat/dss.c

+ 2
- 2
libavformat/dss.c View File

@@ -247,7 +247,7 @@ static int dss_sp_read_packet(AVFormatContext *s, AVPacket *pkt)
return AVERROR(EAGAIN);
}

return pkt->size;
return 0;

error_eof:
return ret < 0 ? ret : AVERROR_EOF;
@@ -302,7 +302,7 @@ static int dss_723_1_read_packet(AVFormatContext *s, AVPacket *pkt)
if (ret < size)
return ret < 0 ? ret : AVERROR_EOF;

return pkt->size;
return 0;
}

static int dss_read_packet(AVFormatContext *s, AVPacket *pkt)


Loading…
Cancel
Save