diff options
author | Slávek Banko <[email protected]> | 2016-10-09 16:09:13 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2016-10-09 16:09:13 +0200 |
commit | e4340cf7aa0b6fbd604bdd7c3e66768508a589aa (patch) | |
tree | 819c191841f3184c8268aa3278b9997b918e1951 | |
parent | 17d8bddfcc3daf0e4309a0409f3d57c70a12a996 (diff) | |
download | k9copy-e4340cf7aa0b6fbd604bdd7c3e66768508a589aa.tar.gz k9copy-e4340cf7aa0b6fbd604bdd7c3e66768508a589aa.zip |
Fix FTBFS on missing return values
This resolves bug 2710
Signed-off-by: Slávek Banko <[email protected]>
-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); |