Do not count each decoded frame twice.
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>
Fri, 28 Jul 2006 17:03:08 +0000 (17:03 +0000)
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>
Fri, 28 Jul 2006 17:03:08 +0000 (17:03 +0000)
git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@19222 b3059339-0415-0410-9bf9-f77b7e298cf2

libmpdemux/demux_avs.c

index f22870c..6ef9339 100644 (file)
@@ -186,8 +186,6 @@ static int demux_avs_fill_buffer(demuxer_t *demuxer, demux_stream_t *ds)
         }
 
         dp = new_demux_packet(curr_frame->vfb->data_size);
-        sh_video->num_frames_decoded++;
-        sh_video->num_frames++;
 
         dp->pts=AVS->frameno / sh_video->fps;