summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libxinevdec/cinepak.c4
-rw-r--r--src/libxinevdec/msvc.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/libxinevdec/cinepak.c b/src/libxinevdec/cinepak.c
index 1245af8f2..86826b597 100644
--- a/src/libxinevdec/cinepak.c
+++ b/src/libxinevdec/cinepak.c
@@ -22,7 +22,7 @@
* based on overview of Cinepak algorithm and example decoder
* by Tim Ferguson: http://www.csse.monash.edu.au/~timf/
*
- * $Id: cinepak.c,v 1.25 2002/12/15 18:44:52 esnel Exp $
+ * $Id: cinepak.c,v 1.26 2002/12/18 19:20:33 esnel Exp $
*/
#include <stdlib.h>
@@ -422,7 +422,7 @@ static void cvid_decode_data (video_decoder_t *this_gen, buf_element_t *buf) {
this->stream->meta_info[XINE_META_INFO_VIDEOCODEC] = strdup("Cinepak");
this->stream->stream_info[XINE_STREAM_INFO_VIDEO_HANDLED] = 1;
- } else if (this->decoder_ok) {
+ } else if (this->decoder_ok && !(buf->decoder_flags & BUF_FLAG_SPECIAL)) {
if (this->size + buf->size > this->bufsize) {
this->bufsize = this->size + 2 * buf->size;
diff --git a/src/libxinevdec/msvc.c b/src/libxinevdec/msvc.c
index 8a68e63fe..2c94184a3 100644
--- a/src/libxinevdec/msvc.c
+++ b/src/libxinevdec/msvc.c
@@ -22,7 +22,7 @@
* based on overview of Microsoft Video-1 algorithm
* by Mike Melanson: http://www.pcisys.net/~melanson/codecs/video1.txt
*
- * $Id: msvc.c,v 1.17 2002/12/06 01:44:06 miguelfreitas Exp $
+ * $Id: msvc.c,v 1.18 2002/12/18 19:20:33 esnel Exp $
*/
#include <stdlib.h>
@@ -247,7 +247,7 @@ static void msvc_decode_data (video_decoder_t *this_gen, buf_element_t *buf) {
this->stream->meta_info[XINE_META_INFO_VIDEOCODEC] = strdup("Microsoft Video-1");
this->stream->stream_info[XINE_STREAM_INFO_VIDEO_HANDLED] = 1;
- } else if (this->decoder_ok) {
+ } else if (this->decoder_ok && !(buf->decoder_flags & BUF_FLAG_SPECIAL)) {
if (this->size + buf->size > this->bufsize) {
this->bufsize = this->size + 2 * buf->size;