You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-16 22:42:38 +02:00
avformat/dss: Return 0 on success
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@ -247,7 +247,7 @@ static int dss_sp_read_packet(AVFormatContext *s, AVPacket *pkt)
|
|||||||
return AVERROR(EAGAIN);
|
return AVERROR(EAGAIN);
|
||||||
}
|
}
|
||||||
|
|
||||||
return pkt->size;
|
return 0;
|
||||||
|
|
||||||
error_eof:
|
error_eof:
|
||||||
return ret < 0 ? ret : AVERROR_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)
|
if (ret < size)
|
||||||
return ret < 0 ? ret : AVERROR_EOF;
|
return ret < 0 ? ret : AVERROR_EOF;
|
||||||
|
|
||||||
return pkt->size;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int dss_read_packet(AVFormatContext *s, AVPacket *pkt)
|
static int dss_read_packet(AVFormatContext *s, AVPacket *pkt)
|
||||||
|
Reference in New Issue
Block a user