mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avformat/dss: Return 0 on success
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
48a594aba5
commit
b3652d9745
@ -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…
Reference in New Issue
Block a user