[MPlayer-cvslog] r22440 - trunk/libmpdemux/demux_avs.c
reimar
subversion at mplayerhq.hu
Sun Mar 4 13:59:48 CET 2007
Author: reimar
Date: Sun Mar 4 13:59:48 2007
New Revision: 22440
Modified:
trunk/libmpdemux/demux_avs.c
Log:
Move/simplify some variable declarations
Modified: trunk/libmpdemux/demux_avs.c
==============================================================================
--- trunk/libmpdemux/demux_avs.c (original)
+++ trunk/libmpdemux/demux_avs.c Sun Mar 4 13:59:48 2007
@@ -167,11 +167,9 @@ static int demux_avs_fill_buffer(demuxer
demux_packet_t *dp = NULL;
AVS_T *AVS = (AVS_T *) demuxer->priv;
- demux_stream_t *d_video=demuxer->video;
- sh_video_t *sh_video=d_video->sh;
-
if (ds == demuxer->video)
{
+ sh_video_t *sh_video = demuxer->video->sh;
char *dst;
int w, h;
if (AVS->video_info->num_frames < AVS->frameno) return 0; // EOF
@@ -348,8 +346,7 @@ static demuxer_t* demux_open_avs(demuxer
static int demux_avs_control(demuxer_t *demuxer, int cmd, void *arg)
{
- demux_stream_t *d_video=demuxer->video;
- sh_video_t *sh_video=d_video->sh;
+ sh_video_t *sh_video=demuxer->video->sh;
AVS_T *AVS = (AVS_T *) demuxer->priv;
switch(cmd)
More information about the MPlayer-cvslog
mailing list