summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_fli.c
diff options
context:
space:
mode:
authorFrantisek Dvorak <none@none>2008-11-09 20:42:27 +0100
committerFrantisek Dvorak <none@none>2008-11-09 20:42:27 +0100
commite471818f3f16ac2fabaad225be70b38382da8e9b (patch)
treec0038eec9f180bfd5b9a9b6e9d91fac1a953a0c9 /src/demuxers/demux_fli.c
parentaeb0a48595f6bb5c63e7f1d1d54f21c136c6c249 (diff)
downloadxine-lib-e471818f3f16ac2fabaad225be70b38382da8e9b.tar.gz
xine-lib-e471818f3f16ac2fabaad225be70b38382da8e9b.tar.bz2
Matroska and FLI demuxers warning and valgrind fixes
Diffstat (limited to 'src/demuxers/demux_fli.c')
-rw-r--r--src/demuxers/demux_fli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demuxers/demux_fli.c b/src/demuxers/demux_fli.c
index fabc2c788..12ae81609 100644
--- a/src/demuxers/demux_fli.c
+++ b/src/demuxers/demux_fli.c
@@ -244,7 +244,7 @@ static void demux_fli_send_headers(demux_plugin_t *this_gen) {
BUF_FLAG_FRAME_END;
buf->decoder_info[0] = this->frame_pts_inc; /* initial video_step */
buf->size = this->bih.biSize;
- memcpy(buf->content, &this->bih, sizeof(xine_bmiheader) + this->bih.biSize);
+ memcpy(buf->content, &this->bih, this->bih.biSize);
buf->type = BUF_VIDEO_FLI;
this->video_fifo->put (this->video_fifo, buf);
}