Revision 4e16a060 libavcodec/dvdsubdec.c

View differences:

libavcodec/dvdsubdec.c
348 348
                } else {
349 349
                    sub_header->rects[0].rgba_palette = av_malloc(4 * 4);
350 350
                    sub_header->rects[0].nb_colors = 4;
351
                guess_palette(sub_header->rects[0].rgba_palette,
352
                              colormap, alpha, 0xffff00);
351
                    guess_palette(sub_header->rects[0].rgba_palette,
352
                                  colormap, alpha, 0xffff00);
353 353
                }
354 354
                sub_header->rects[0].x = x1;
355 355
                sub_header->rects[0].y = y1;

Also available in: Unified diff