Revision dccabd4c libavcodec/pcm.c

View differences:

libavcodec/pcm.c
177 177
    for(;n>0;n--) {
178 178
        register int v = *(*samples)++;
179 179
        v += usum;
180
        if (le) AV_WL16(*dst, v);
181
        else    AV_WB16(*dst, v);
180
        if (le) {AV_WL16(*dst, v);}
181
        else    {AV_WB16(*dst, v);}
182 182
        *dst += bps;
183 183
    }
184 184
    if (le) *dst -= bps - 2;

Also available in: Unified diff