[nut]: r526 - src/trunk/libnut/demuxer.c

Author: ods15 Date: Fri Feb 1 15:18:34 2008 New Revision: 526 Log: some more comment fixes Modified: src/trunk/libnut/demuxer.c Modified: src/trunk/libnut/demuxer.c ============================================================================== --- src/trunk/libnut/demuxer.c (original) +++ src/trunk/libnut/demuxer.c Fri Feb 1 15:18:34 2008 @@ -1285,7 +1285,7 @@ static int linear_search_seek(nut_contex break; } } - if (stopper_syncpoint > bctello(nut->i)) stopper_syncpoint = 0; // don't premature + if (stopper_syncpoint > bctello(nut->i)) stopper_syncpoint = 0; // do not load stopper_syncpoint position before it is actually reached } #define CHECK_break(expr) { if ((err = (expr))) { if (end && err != NUT_ERR_EAGAIN) break; else goto err_out; } } @@ -1495,7 +1495,7 @@ int nut_seek(nut_context_t * nut, double if (start) { // "unsuccessful" seek needs no linear search if (!(flags & 2)) { // regular seek CHECK(linear_search_seek(nut, backwards, start, end, stopper.pos ? &stopper : NULL)); - } else { // seek forwards, find keyframe + } else { // forward seek, find keyframe CHECK(linear_search_seek(nut, backwards, end, 0, NULL)); } }
participants (1)
-
ods15