diff --git a/libavformat/segafilm.c b/libavformat/segafilm.c index 5e408db696..86917e7821 100644 --- a/libavformat/segafilm.c +++ b/libavformat/segafilm.c @@ -280,8 +280,7 @@ static int film_read_packet(AVFormatContext *s, /* position the stream (will probably be there anyway) */ avio_seek(pb, sample->sample_offset, SEEK_SET); - - ret= av_get_packet(pb, pkt, sample->sample_size); + ret = av_get_packet(pb, pkt, sample->sample_size); if (ret != sample->sample_size) ret = AVERROR(EIO);