lavf/pcm: remove redundant check
authorLukasz Marek <lukasz.m.luki2@gmail.com>
Sun, 20 Apr 2014 17:54:09 +0000 (19:54 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 20 Apr 2014 18:56:02 +0000 (20:56 +0200)
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/pcm.c

index 2fe44dc..a57a4b6 100644 (file)
@@ -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;
 }