[FFmpeg-devel] [PATCH] lavf/pcm: remove redundant check
Lukasz Marek
lukasz.m.luki2 at gmail.com
Sun Apr 20 19:54:09 CEST 2014
Signed-off-by: Lukasz Marek <lukasz.m.luki2 at gmail.com>
---
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;
}
--
1.9.1
More information about the ffmpeg-devel
mailing list