Merge "libfec: fix a check for read-only mode"
am: 497886ab9f

Change-Id: I9e09aa7e38a6b16222cd4ecbbf14fbb23d0c6dca