diff options
-rwxr-xr-x | k9decmpeg/kdecmpeg2.cpp | 1 | ||||
-rwxr-xr-x | src/kviewmpeg2.cpp | 2 | ||||
-rwxr-xr-x | src/kviewmpeg2.h | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/k9decmpeg/kdecmpeg2.cpp b/k9decmpeg/kdecmpeg2.cpp index 15b487e..662eb28 100755 --- a/k9decmpeg/kdecmpeg2.cpp +++ b/k9decmpeg/kdecmpeg2.cpp @@ -317,6 +317,7 @@ pes: } } } + return 1; } void kDecMPEG2::sync() { diff --git a/src/kviewmpeg2.cpp b/src/kviewmpeg2.cpp index 393a008..419d1eb 100755 --- a/src/kviewmpeg2.cpp +++ b/src/kviewmpeg2.cpp @@ -190,7 +190,7 @@ void kViewMPEG2::bPlayClick() { } -int kViewMPEG2::open (k9DVD *_dvd,k9DVDTitle * title,int chapter) { +void kViewMPEG2::open (k9DVD *_dvd,k9DVDTitle * title,int chapter) { m_player.open(_dvd->getdvd()->getDvd(), _dvd->getDevice(),title,chapter); } diff --git a/src/kviewmpeg2.h b/src/kviewmpeg2.h index 1330a0d..4383820 100755 --- a/src/kviewmpeg2.h +++ b/src/kviewmpeg2.h @@ -87,7 +87,7 @@ protected: void resizeEvent ( TQResizeEvent * ); public slots: // Public slots /** No descriptions */ - int open (k9DVD *_dvd,k9DVDTitle * title,int chapter); + void open (k9DVD *_dvd,k9DVDTitle * title,int chapter); void drawPixmap( TQImage *image); void drawppm(uchar *_buf,int _width,int _height,int _len); void setError(const TQString & err); |