X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fpcm.c;h=a57a4b6249371d79233c044b7646cf922efd8b8a;hb=83976e40e89655162e5394cf8915d9b6d89702d9;hp=2fe44dcb407d98e8ed4ed3c0dc4bde4a3f4f1e9a;hpb=a8d01a73789260533778371e38e733d047316d83;p=ffmpeg diff --git a/libavformat/pcm.c b/libavformat/pcm.c index 2fe44dcb407..a57a4b62493 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; }