Merge commit '563e6d860391bac0511984e5c0842320b5c94d2d'

* commit '563e6d860391bac0511984e5c0842320b5c94d2d':
  segafilm: drop the "song and dance" for cinepak

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
pull/160/head
Hendrik Leppkes 9 years ago
commit 42a088784b
  1. 3
      libavformat/segafilm.c

@ -280,8 +280,7 @@ static int film_read_packet(AVFormatContext *s,
/* position the stream (will probably be there anyway) */ /* position the stream (will probably be there anyway) */
avio_seek(pb, sample->sample_offset, SEEK_SET); 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) if (ret != sample->sample_size)
ret = AVERROR(EIO); ret = AVERROR(EIO);

Loading…
Cancel
Save