summaryrefslogtreecommitdiff
path: root/libavformat/segafilm.c
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2015-11-10 18:18:05 +0100
committerHendrik Leppkes <h.leppkes@gmail.com>2015-11-10 18:18:05 +0100
commit42a088784b94847cd04802b36866cb9a8d196151 (patch)
treed60d5ae253868ecb79dd12972a0d0552d92ac7b9 /libavformat/segafilm.c
parent0e29820cd16461414236068992d9d35fa0ca058f (diff)
parent563e6d860391bac0511984e5c0842320b5c94d2d (diff)
downloadffmpeg-42a088784b94847cd04802b36866cb9a8d196151.tar.gz
Merge commit '563e6d860391bac0511984e5c0842320b5c94d2d'
* commit '563e6d860391bac0511984e5c0842320b5c94d2d': segafilm: drop the "song and dance" for cinepak Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Diffstat (limited to 'libavformat/segafilm.c')
-rw-r--r--libavformat/segafilm.c3
1 files changed, 1 insertions, 2 deletions
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);