Hi, On Tue, Jan 10, 2012 at 10:08 AM, Aneesh Dogra <[email protected]> wrote: > - if (buf_size < 256*3) > + if (bytestream2_get_bytes_left(&ctx->g) < 256*3) > return AVERROR_INVALIDDATA; > > for(a = 0; a < 256; a++){ > - palette[a] = AV_RB24(&palette_buffer[a * 3]) * 4; > + palette[a] = bytestream2_get_be24(&ctx->g) * 4;
get_be24u(). Ronald _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
