summaryrefslogtreecommitdiff
path: root/src/dxr3/dxr3_decoder.c
diff options
context:
space:
mode:
authorMike Lampard <mlampard@users.sourceforge.net>2001-10-28 14:44:11 +0000
committerMike Lampard <mlampard@users.sourceforge.net>2001-10-28 14:44:11 +0000
commita89c1f4242fd3564fee1930f30514a95c567fcc8 (patch)
treeaa424c77cf7fce2096d1e57bd82a234fc4f68895 /src/dxr3/dxr3_decoder.c
parentfe45bb2ec5ab7c8e5d3e19d0b92e0586f178625e (diff)
downloadxine-lib-a89c1f4242fd3564fee1930f30514a95c567fcc8.tar.gz
xine-lib-a89c1f4242fd3564fee1930f30514a95c567fcc8.tar.bz2
small cleanup in prep for 0.9.3
CVS patchset: 901 CVS date: 2001/10/28 14:44:11
Diffstat (limited to 'src/dxr3/dxr3_decoder.c')
-rw-r--r--src/dxr3/dxr3_decoder.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/dxr3/dxr3_decoder.c b/src/dxr3/dxr3_decoder.c
index 17124c6de..3a3f6a60a 100644
--- a/src/dxr3/dxr3_decoder.c
+++ b/src/dxr3/dxr3_decoder.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: dxr3_decoder.c,v 1.24 2001/10/28 11:43:58 mlampard Exp $
+ * $Id: dxr3_decoder.c,v 1.25 2001/10/28 14:44:11 mlampard Exp $
*
* dxr3 video and spu decoder plugin. Accepts the video and spu data
* from XINE and sends it directly to the corresponding dxr3 devices.
@@ -320,8 +320,8 @@ static void dxr3_decode_data (video_decoder_t *this_gen, buf_element_t *buf)
/* Act like other plugins... keeps metronom in check :) */
if(buf->type == BUF_VIDEO_FILL) {
- vo_frame_t *img;
- img = this->video_out->get_frame (this->video_out,
+ vo_frame_t *img;
+ img = this->video_out->get_frame (this->video_out,
this->width,
this->height,
this->aspect,
@@ -329,7 +329,7 @@ static void dxr3_decode_data (video_decoder_t *this_gen, buf_element_t *buf)
this->duration,
VO_BOTH_FIELDS);
- img->draw(img);
+ img->draw(img);
img->free(img);
return;
}
@@ -354,6 +354,7 @@ static void dxr3_decode_data (video_decoder_t *this_gen, buf_element_t *buf)
strerror(errno));
return;
}
+
if (written != buf->size)
fprintf(stderr, "dxr3: Could only write %d of %d video bytes.\n",
written, buf->size);