lavf/gif: fix assert in avio API after dfb3231.

pull/15/head
Clément Bœsch 12 years ago
parent 91a5b4d480
commit b6408ffc45
  1. 2
      libavformat/gif.c

@ -48,7 +48,7 @@ static int gif_image_write_header(AVIOContext *pb, int width, int height,
avio_w8(pb, 0x1f); /* background color index */
avio_w8(pb, 0); /* aspect ratio */
for (i = 0; i < 256; i++) {
const uint32_t v = palette[i];
const uint32_t v = palette[i] & 0xffffff;
avio_wb24(pb, v);
}
} else {

Loading…
Cancel
Save