Ticket #633: mythtv_gcc4.diff

File mythtv_gcc4.diff, 6.1 KB (added by ismail@…, 18 years ago)

Patch to fix the issue

  • libs/libmythtv/dummydtvrecorder.h

     
    1313class DummyDTVRecorder: public DTVRecorder
    1414{
    1515  public:
    16     DummyDTVRecorder::DummyDTVRecorder(
     16    DummyDTVRecorder(
    1717        TVRec *rec,
    1818        bool tsmode = true,        RingBuffer *rbuffer = NULL,
    1919        uint desired_width = 1920, uint desired_height = 1088,
    2020        double desired_frame_rate = 29.97, uint bits_per_sec = 20000000,
    2121        uint non_buf_frames = 0, bool autoStart = true);
    2222
    23     DummyDTVRecorder::~DummyDTVRecorder();
     23    ~DummyDTVRecorder();
    2424
    2525    void SetOptionsFromProfile(RecordingProfile*, const QString&,
    2626                               const QString&, const QString&, int) {;}
     
    3434    void StopRecordingThread(void);
    3535
    3636  public slots:
    37     void DummyDTVRecorder::deleteLater(void);
     37    void deleteLater(void);
    3838
    3939  private:
    4040    void Close(void);
  • libs/libmythtv/mpeg/tspacket.h

     
    148148
    149149    static const unsigned int SIZE         = 188;
    150150    static const unsigned int PAYLOAD_SIZE = SIZE-HEADER_SIZE;
    151     static const TSPacket *TSPacket::NULL_PACKET;
     151    static const TSPacket *NULL_PACKET;
    152152  private:
    153153    unsigned char _tspayload[184];
    154154};
  • libs/libmythtv/avformatdecoder.cpp

     
    3131
    3232extern pthread_mutex_t avcodeclock;
    3333
     34#ifndef USING_XVMC
     35int get_avf_buffer_xvmc(struct AVCodecContext *c, AVFrame *pic);
     36int get_avf_buffer(struct AVCodecContext *c, AVFrame *pic);
     37void release_avf_buffer(struct AVCodecContext *c, AVFrame *pic);
     38void release_avf_buffer_xvmc(struct AVCodecContext *c, AVFrame *pic);
     39void render_slice_xvmc(struct AVCodecContext *s, const AVFrame *src, int offset[4], int y, int type, int height);
     40#endif
     41
    3442void align_dimensions(AVCodecContext *avctx, int &width, int &height)
    3543{
    3644    // minimum buffer alignment
  • libs/libmythtv/nuppeldecoder.h

     
    5656    QString GetEncodingType(void) const;
    5757
    5858  private:
    59     inline bool NuppelDecoder::ReadFileheader(struct rtfileheader *fileheader);
    60     inline bool NuppelDecoder::ReadFrameheader(struct rtframeheader *frameheader);
     59    inline bool ReadFileheader(struct rtfileheader *fileheader);
     60    inline bool ReadFrameheader(struct rtframeheader *frameheader);
    6161
    6262    bool DecodeFrame(struct rtframeheader *frameheader,
    6363                     unsigned char *lstrm, VideoFrame *frame);
  • libs/libmythtv/dtvrecorder.h

     
    1717{
    1818    Q_OBJECT
    1919  public:
    20     DTVRecorder::DTVRecorder(TVRec *rec, const char *name = "DTVRecorder") :
     20    DTVRecorder(TVRec *rec, const char *name = "DTVRecorder") :
    2121        RecorderBase(rec, name),
    2222        _first_keyframe(0), _position_within_gop_header(0),
    2323        _keyframe_seen(false), _last_keyframe_seen(0), _last_gop_seen(0),
  • libs/libmythtv/previewgenerator.h

     
    4141        emit previewThreadDone(filename);
    4242    }
    4343
    44     static void *PreviewGenerator::PreviewRun(void *param)
     44    static void *PreviewRun(void *param)
    4545    {
    4646        PreviewGenerator *gen = (PreviewGenerator*) param;
    4747        gen->Run();
  • libs/libmythtv/NuppelVideoRecorder.h

     
    108108    void doVbiThread(void);
    109109   
    110110 private:
    111     inline void NuppelVideoRecorder::WriteFrameheader(rtframeheader *fh);
     111    inline void WriteFrameheader(rtframeheader *fh);
    112112
    113113    void InitBuffers(void);
    114114    void InitFilters(void);   
  • libs/libmythsoundtouch/SoundTouch.h

     
    159159    static const char *getVersionString();
    160160
    161161    /// Get SoundTouch library version Id
    162     static uint SoundTouch::getVersionId();
     162    static uint getVersionId();
    163163
    164164    /// Sets new rate control value. Normal rate = 1.0, smaller values
    165165    /// represent slower rate, larger faster rates.
  • libs/libmythsoundtouch/SoundTouch.cpp

     
    469469        }
    470470    }
    471471    return 0;
    472 }
    473  No newline at end of file
     472}
  • libs/libmyth/jsmenu.h

     
    7676   
    7777    void ButtonUp(int button);
    7878    void AxisChange(int axis, int value);
    79     void JoystickMenuClient::EmitKey(QString code);
     79    void EmitKey(QString code);
    8080    int  ReadConfig(QString config_file);
    8181
    8282  private:
  • programs/mythwelcome/welcomedialog.h

     
    4848    bool checkConnectionToServer(void);
    4949    void runMythFillDatabase(void);
    5050       
    51     UITextType* WelcomeDialog::getTextType(QString name);
     51    UITextType* getTextType(QString name);
    5252   
    5353    MythPopupBox *popup;
    5454