Ticket #950: gqa1.patch

File gqa1.patch, 1.9 KB (added by gagern, 15 months ago)

Fix issues the compiler refers to

  • libmpeg3/audio/ac3.c

    diff --git a/libmpeg3/audio/ac3.c b/libmpeg3/audio/ac3.c
    index dc50e88..2c44630 100644
    a b  
    11#include <stdint.h> 
    22#include <stdio.h> 
     3#include <stdlib.h> 
    34 
    45#include <a52dec/a52.h> 
    56#include "mpeg3private.h" 
  • libmpeg3/audio/layer3.c

    diff --git a/libmpeg3/audio/layer3.c b/libmpeg3/audio/layer3.c
    index 8d0450d..278dc61 100644
    a b  
    55 
    66#include <stdio.h> 
    77#include <string.h> 
     8#include <stdlib.h> 
    89 
    910struct gr_info_s  
    1011{ 
  • libmpeg3/mpeg3title.c

    diff --git a/libmpeg3/mpeg3title.c b/libmpeg3/mpeg3title.c
    index db08830..96207f2 100644
    a b  
    186186                { 
    187187                        cell = &title->cell_table[i]; 
    188188 
    189                         fprintf(output, "REGION: %llx-%llx %llx-%llx %f %f %d\n", 
     189                        fprintf(output, "REGION: %llx-%llx %llx-%llx %d\n", 
    190190                                cell->program_start, 
    191191                                cell->program_end, 
    192192                                cell->title_start, 
  • mplexlo/mplex.c

    diff --git a/mplexlo/mplex.c b/mplexlo/mplex.c
    index 8fc95f3..4543448 100644
    a b  
    11#include <stdio.h> 
    22#include <stdlib.h> 
     3#include <string.h> 
    34 
    45 
    56#include "libmpeg3.h" 
  • plugins/titler/title.C

    diff --git a/plugins/titler/title.C b/plugins/titler/title.C
    index 1b9fda6..1168020 100644
    a b  
    13821382                0, 
    13831383                &freetype_face)) 
    13841384        { 
    1385                 fprintf(stderr, _("TitleMain::load_freetype_face %s failed.\n")); 
     1385                fprintf(stderr, _("TitleMain::load_freetype_face %s failed.\n"), 
     1386                        path); 
    13861387                FT_Done_FreeType(freetype_library); 
    13871388                freetype_face = 0; 
    13881389                freetype_library = 0; 
  • quicktime/graphics.c

    diff --git a/quicktime/graphics.c b/quicktime/graphics.c
    index 7225617..2600049 100644
    a b  
    11#include "graphics.h" 
    22 
    33#include <string.h> 
     4#include <stdlib.h> 
    45 
    56/* Graphics acceleration routines */ 
    67