aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukasz Marek <lukasz.m.luki2@gmail.com>2014-04-20 19:54:09 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-04-20 20:56:02 +0200
commit4d09bc98974d4602d71e71520535457a53d44222 (patch)
tree7af6090eeccf47d39af224b07ac9d1104518514f
parentaf89a685c46b0ed3c8f9e87af98158b7b9d87a65 (diff)
downloadffmpeg-4d09bc98974d4602d71e71520535457a53d44222.tar.gz
lavf/pcm: remove redundant check
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/pcm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/pcm.c b/libavformat/pcm.c
index 2fe44dcb40..a57a4b6249 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;
}