Changeset 2497

Show
Ignore:
Timestamp:
05/13/99 06:32:30 (15 years ago)
Author:
ucacoxh
Message:

- Fixed redundancy decoding order problem.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • rat/trunk/cc_rdncy.c

    r2466 r2497  
    682682{ 
    683683        assert(md->nrep < MAX_MEDIA_UNITS); 
    684         md->rep[md->nrep] = cu; 
     684        if (md->nrep) { 
     685                memmove(md->rep + 1, md->rep, sizeof(md->rep[0]) * md->nrep); 
     686        } 
     687        md->rep[0] = cu; 
    685688        md->nrep++; 
    686689}