Revision a768816c libavutil/sha.c

View differences:

libavutil/sha.c
320 320
        av_sha_update(ctx, "", 1);
321 321
    av_sha_update(ctx, (uint8_t *)&finalcount, 8); /* Should cause a transform() */
322 322
    for (i = 0; i < ctx->digest_len; i++)
323
        AV_WN32(digest + i*4, be2me_32(ctx->state[i]));
323
        AV_WB32(digest + i*4, ctx->state[i]);
324 324
}
325 325

  
326 326
#if LIBAVUTIL_VERSION_MAJOR < 51

Also available in: Unified diff