Hi, On Tue, Jan 10, 2012 at 6:55 AM, Aneesh Dogra <[email protected]> wrote: > -static int set_palette(AVFrame * frame, const uint8_t * palette_buffer, int > buf_size) > +static int set_palette(AVFrame * frame, GetByteContext *g, int buf_size)
set_palette(BethsoftvidContext *ctx), and then add GetByteContext in BethsoftvidContext. > - const uint8_t *buf = avpkt->data; > + GetByteContext g; > int buf_size = avpkt->size; Remove buf_size, you don't need it anymore. Return avpkt->size in this function instead. Rest looks OK. Ronald _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
