The parsing function return AVERROR and AAC_AC3_PARSE_ERROR values, make sure they are not misunderstood.