diff options
Diffstat (limited to 'apps/codecs/wma.c')
-rw-r--r-- | apps/codecs/wma.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/codecs/wma.c b/apps/codecs/wma.c index c327fafb5a..8986531744 100644 --- a/apps/codecs/wma.c +++ b/apps/codecs/wma.c | |||
@@ -84,7 +84,6 @@ restart_track: | |||
84 | % wfx.packet_size; | 84 | % wfx.packet_size; |
85 | ci->seek_buffer(resume_offset - packet_offset); | 85 | ci->seek_buffer(resume_offset - packet_offset); |
86 | elapsedtime = asf_get_timestamp(&i); | 86 | elapsedtime = asf_get_timestamp(&i); |
87 | ci->set_elapsed(elapsedtime); | ||
88 | } | 87 | } |
89 | else | 88 | else |
90 | { | 89 | { |
@@ -93,6 +92,8 @@ restart_track: | |||
93 | elapsedtime = 0; | 92 | elapsedtime = 0; |
94 | } | 93 | } |
95 | 94 | ||
95 | ci->set_elapsed(elapsedtime); | ||
96 | |||
96 | resume_offset = 0; | 97 | resume_offset = 0; |
97 | ci->configure(DSP_SWITCH_FREQUENCY, wfx.rate); | 98 | ci->configure(DSP_SWITCH_FREQUENCY, wfx.rate); |
98 | ci->configure(DSP_SET_STEREO_MODE, wfx.channels == 1 ? | 99 | ci->configure(DSP_SET_STEREO_MODE, wfx.channels == 1 ? |