[FFmpeg-cvslog] lavf/pcm: remove redundant check

Lukasz Marek git at videolan.org
Sun Apr 20 21:07:13 CEST 2014


ffmpeg | branch: master | Lukasz Marek <lukasz.m.luki2 at gmail.com> | Sun Apr 20 19:54:09 2014 +0200| [4d09bc98974d4602d71e71520535457a53d44222] | committer: Michael Niedermayer

lavf/pcm: remove redundant check

Signed-off-by: Lukasz Marek <lukasz.m.luki2 at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4d09bc98974d4602d71e71520535457a53d44222
---

 libavformat/pcm.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/libavformat/pcm.c b/libavformat/pcm.c
index 2fe44dc..a57a4b6 100644
--- a/libavformat/pcm.c
+++ b/libavformat/pcm.c
@@ -37,8 +37,6 @@ int ff_pcm_read_packet(AVFormatContext *s, AVPacket *pkt)
 
     pkt->flags &= ~AV_PKT_FLAG_CORRUPT;
     pkt->stream_index = 0;
-    if (ret < 0)
-        return ret;
 
     return ret;
 }



More information about the ffmpeg-cvslog mailing list