diff options
| -rw-r--r-- | src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp | 3 | ||||
| -rw-r--r-- | src/plugins/Input/ffmpeg_legacy/decoder_ffmpeg.cpp | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp b/src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp index fe1d07cea..555e7a352 100644 --- a/src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp +++ b/src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2006-2016 by Ilya Kotov * + * Copyright (C) 2006-2017 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -55,6 +55,7 @@ static int64_t ffmpeg_seek(void *data, int64_t offset, int whence) break; case SEEK_END: absolute_pos = d->input()->size() - offset; + break; default: return -1; } diff --git a/src/plugins/Input/ffmpeg_legacy/decoder_ffmpeg.cpp b/src/plugins/Input/ffmpeg_legacy/decoder_ffmpeg.cpp index d8d657880..6a23ee053 100644 --- a/src/plugins/Input/ffmpeg_legacy/decoder_ffmpeg.cpp +++ b/src/plugins/Input/ffmpeg_legacy/decoder_ffmpeg.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2006-2016 by Ilya Kotov * + * Copyright (C) 2006-2017 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -48,6 +48,7 @@ static int64_t ffmpeg_seek(void *data, int64_t offset, int whence) break; case SEEK_END: absolute_pos = d->input()->size() - offset; + break; default: return -1; } |
