[FFmpeg-cvslog] avformat/dss: Return 0 on success
Andreas Rheinhardt
git at videolan.org
Mon Apr 5 19:39:09 EEST 2021
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Thu Apr 1 23:02:18 2021 +0200| [b3652d97452bd1d8b641bf7ec967f9cdda2a53c5] | committer: Andreas Rheinhardt
avformat/dss: Return 0 on success
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b3652d97452bd1d8b641bf7ec967f9cdda2a53c5
---
libavformat/dss.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavformat/dss.c b/libavformat/dss.c
index b6e77bd019..463ecd909a 100644
--- a/libavformat/dss.c
+++ b/libavformat/dss.c
@@ -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)
More information about the ffmpeg-cvslog
mailing list